PDA

View Full Version : Problem with two small PHP scripts?


amonra
01-07-2007, 11:20 AM
Hello,

I have two small PHP scripts runnng on a test page at: usernomics.com/ergonomic-products-accessories5.html[/url]

Both scripts work perfectly when there is one script on a page. However, if I place two on the page (one above the other), the second script will not render.

It may be my newbie coding where one script is affecting the second. Can anyone see why both scripts will not run together?

Thanks a lot

hrethan
01-08-2007, 01:59 PM
I recommend that you double check your php tags and make sure that they're all opened and closed correctly. It's an easy mistake to miss a } and throw everything out of whack. If you still can't get it, copy/paste the code so we can take a peek?