Forum Moderators: open

Message Too Old, No Replies

if not

2 different results

         

wheelie34

6:40 pm on Jan 22, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi all

I have a mysql db, a page with result.php?var=widget in its links and a results page, now everything works fine except if somebody lands on the results page without using a link to it.

What should I do here?

Still learning php/mysql, I dont want it done for me I would just like some help pointing me in the right direction.

Thanks Guys

txbakers

2:57 am on Jan 23, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



hi, what you need to do is first set the var variable to something like '' or 'zzzzzzzzzz' so that the variable always has a value. In your page code, you can check for that value, and show a different set of code if they land there without a value.