Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 12-15-2004, 06:51 AM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
A couple new php tutorials

I didn't know you can use: if / endif with php. falsepride wrote a tutorial on alternate syntax and mentions it in the brief article.

i guess it would make a VB coder feel more comfy with php.
__________________
Mike
sde is online now   Reply With Quote
Old 12-15-2004, 08:40 AM   #2 (permalink)
Redline
PHP Student
 
Join Date: Oct 2004
Location: Forest Grove, OR
Posts: 150
Redline is on a distinguished road
Send a message via AIM to Redline Send a message via MSN to Redline
You didn't know about elseif with PHP? YES, there was something about PHP that I knew before sde. I can die happy now
__________________
Current Project
Redline is offline   Reply With Quote
Old 12-15-2004, 08:42 AM   #3 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
lol, how could you code without elseif?
Quote:
endif
__________________
Mike
sde is online now   Reply With Quote
Old 12-15-2004, 11:00 AM   #4 (permalink)
Redline
PHP Student
 
Join Date: Oct 2004
Location: Forest Grove, OR
Posts: 150
Redline is on a distinguished road
Send a message via AIM to Redline Send a message via MSN to Redline
crap....so what..I can't read. lol
__________________
Current Project
Redline is offline   Reply With Quote
Old 12-16-2004, 04:40 AM   #5 (permalink)
idx
Senior Grasshopper
 
idx's Avatar
 
Join Date: Jun 2003
Location: FL
Posts: 317
idx is on a distinguished road
I've always found the alternate syntax clunky... if that's a word.

It always felt cleaner to use the c-style syntax..

Code:
if (foo()) {
//
}
else {
//ahh
}
-r
idx is offline   Reply With Quote
Old 12-16-2004, 06:20 AM   #6 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,444
sde is on a distinguished road
i'd agree 100% .. however it is cool to know it's there. i really dislike 'wordy' syntax.
__________________
Mike
sde is online now   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP to Flash control panel roccoman PHP 1 11-24-2004 08:10 AM
PHP vs .NET Redline Lounge 1 11-24-2004 06:10 AM
PHP Comes of Age sde Code Newbie News 0 04-14-2004 11:41 AM
I need to learn PHP Nitro PHP 9 06-28-2003 11:24 AM
A Couple PHP & MySQL Questions Geetazz PHP 10 07-23-2002 06:56 AM


All times are GMT -8. The time now is 02:31 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting