Php location


Thread Starter
Nov 16, 2014
I want to go to a different page depending on different if results but don't
know the correct syntax;as in:

if (count == 1)
{ echo 'look at these cars';}

go to page1.php

elseif (count == 2)
{ echo 'look at these cars';}

go to page2.php
Sep 21, 2007
How does count get changed from 1 to 2 ?
Why does count = 1 says "look at these cars" and count = 2 say the same thing ?
What is the meaning of "count" ?
What does this message have to do with "php location"

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online