View Single Post
Old 01-10-2003, 06:28 PM   #4 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,489
sde is on a distinguished road
Quote:
Originally posted by ilya020
Well, even if It did work when you viewed the source you wouldnt see it because PHP is server side which means it gets exectued before you go there (something like that. )

Therefore, it is perfectly fine if you cant see it.
ilya,
i guess we posted at the same time or i woulda corrected you.

as i mentioned above, if there is text outside the <?php and ?> , then it is not parsed by php, and you would see everything above the php script no matter what, .. and everything below it provided the php script didn't 'die'.

also, if it was working, it wouldn't be perfectly fine because the script should either echo:
Couldn't connect to MySQL
or
Successful connecting to server
sde is offline   Reply With Quote