Re: Check data exists in MySQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> if (!$page_count){
>   $sql = "INSERT INTO count VALUES('$var1', '$var2', '0');
> }
> 

> if (!mysql_num_rows($page_count)){
>   $sql = "INSERT INTO count VALUES('$var1', '$var2', '0');
> }
>

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux