View Single Post
Old 08-04-2012, 03:18 AM   #3 (permalink)
Hanzo
The Visitor
 
Hanzo's Avatar
 
Join Date: Aug 2012
Location: 127.0.0.1
Posts: 2
Thanks: 0
Hanzo is on a distinguished road
Default

You're also assigning $numrows a value of 0 in your conditional. Know that if you don't need the else statement, just omit it. :)

Try this:

PHP Code:
// new sql to pull associated products for seleceted family 

 
$restwoway mysql_query("SELECT * FROM members ORDER BY name"); 

$numrows=mysql_num_rows($restwoway);  

if(
$numrows===0){

 echo 
"Invalid entry"


Hanzo is offline  
Reply With Quote