Hey you guys rock!
Ridwank, that was the answer to my dilemna. Now I have 2 things to make sure I can do.
1 - If I have double quotes in my variables like <img src="1.gif"> I have to escape with backslash -- no problem though.
2 - I have to figure out why this worked!!
Thanks again, yesterday I made my first while () loops work and today I have this to go with -- PHP is great!
- Paul