Jump to content

Just a quick question


yogibear

Recommended Posts

Hi my php is all working and everything is going well thanks to everyone that has helped me. ;D Just to make things look better how would i change an if statement so rather than displaying text it goes to a new page on the site. this is the current if statement
[code]
if ($num_rows > 0) {
    echo "ALREADY IN DATABASE";
} else {
    echo "Working!";
}
[/code]
many thanks
yogi
Link to comment
https://forums.phpfreaks.com/topic/35831-just-a-quick-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.