View Single Post
Old 10-11-2005, 12:52 PM   · #6
Shorty
Senior Member
 
Shorty's Avatar
 
Name: Thomas White
Location: England
Trader Rating: (15)
Join Date: Sep 2005
Posts: 1,033
NP$: 31.15 (Donate)
Shorty is just really niceShorty is just really niceShorty is just really niceShorty is just really nice
Originally Posted by miseria
You don't have to echo the HTML. Just as long as the HTML isn't within the PHP code


Sometimes it's necessary.

And yeah .PJ, you can use \" or ', just never " on it's own. It's not even needed to use quotes at all in most situations, only when there are gaps in the " and " content and I think when validating. I found this all out the hard way too.

When I first started coding/programming with php I went nuts for ages over a simple script that was returning a php error because I was echoing the code and using quotation marks. I guess in the end,you learn by making mistakes. (I'm amazed this simple topic has drawn so much commenting here )


Please register or log-in into NamePros to hide ads
Shorty is offline   Reply With Quote
Site Sponsors
Traffic Down Under Traffic Down Under Hunting Moon
Advertise your business at NamePros
All times are GMT -7. The time now is 07:29 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.