Where is the problem plz:
?>
<?php
//get the total urls in the table
include 'init.inc.php';
function get_total_urls(){
$total=mysql_query("SELECT COUNT ('url_key')FROM 'urls'");
return (int)mysql_result($total,0);
}
?>
message on the navigateur :
mysql_result(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\script short\shortener.inc.php on line 7