Quote:
Originally Posted by TheMayhem
Hmmm I figured if I used " then php could get an error... guess not.
|
if you're echoing out the data then you need to escape each backslash or just go back to using apostraphies, however if it's a template then theirs no issues
Quote:
Originally Posted by TheMayhem
Hmmm I figured if I used " then php could get an error... guess not. My last question is now for my news I want to display a loop statement, which I use a while. Now I know this won't work correctly because I'm using a mysql_fetch_array query inside a while statement and it is going to loop the number of times I have an entree in the db. So how exactly could I take a while statement that is going to loop and actually store the information in the template so it shows each and every loop, such as $news[news_name] should loop 8 times and thus loops 8 times in the template and shoes each array being different then the last?
|
your best bet would be to write out the code (or what you think the code would look like for what you're trying to acheive) and post it, then i'd have a better idea of what you mean.