Need help with oscommerce template
Posted on 2006-05-31
I have just purchased an OS commerce template that I need to customize into a website. I have already done the graphics, now its a matter of getting the behavior I want out of it. I have never programmed PHP ever, but do have a background in programming (JAva, C++) and experience in Web Dev (coldfusion). The first question I have is about how to construct the following if statement.
On the homepage of this oscommerce site there is a 3 image banner which is loaded on every page. I only want this to load on the homepage, to determine the homepage I want to be able to detect if the request was for index.php only (no query string) or whether or not index.php is called with a query string. If it is index.php and no query string show the banner, if there is a query string and its index.php do not show the banner.
What would this if statement look like?
Correct answer wortth 500 points.