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 Forums
>
Application and Web Development
>
PHP
A couple new php tutorials
User Name
Remember Me?
Password
Register
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
LinkBack
Thread Tools
Display Modes
12-15-2004, 06:51 AM
#
1
(
permalink
)
sde
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,444
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
View Public Profile
Visit sde's homepage!
Find More Posts by sde
12-15-2004, 08:40 AM
#
2
(
permalink
)
Redline
PHP Student
Join Date: Oct 2004
Location: Forest Grove, OR
Posts: 150
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
View Public Profile
Visit Redline's homepage!
Find More Posts by Redline
12-15-2004, 08:42 AM
#
3
(
permalink
)
sde
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,444
lol, how could you code without elseif?
Quote:
endif
__________________
Mike
sde
View Public Profile
Visit sde's homepage!
Find More Posts by sde
12-15-2004, 11:00 AM
#
4
(
permalink
)
Redline
PHP Student
Join Date: Oct 2004
Location: Forest Grove, OR
Posts: 150
crap....so what..I can't read. lol
__________________
Current Project
Redline
View Public Profile
Visit Redline's homepage!
Find More Posts by Redline
12-16-2004, 04:40 AM
#
5
(
permalink
)
idx
Senior Grasshopper
Join Date: Jun 2003
Location: FL
Posts: 317
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
View Public Profile
Visit idx's homepage!
Find More Posts by idx
12-16-2004, 06:20 AM
#
6
(
permalink
)
sde
Moderator
Join Date: May 2002
Location: us.ca
Posts: 4,444
i'd agree 100% .. however it is cool to know it's there. i really dislike 'wordy' syntax.
__________________
Mike
sde
View Public Profile
Visit sde's homepage!
Find More Posts by sde
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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
.
Contact Us
-
CodeNewbie.com
-
Archive
-
Top
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
LinkBack
LinkBack URL
About LinkBacks