All pastes #486406 Raw Edit

Stuff

public text v1 · immutable
·published 2007-05-13 21:47 UTC
rendered paste body
$query3="SELECT dst FROM cdr WHERE dst = '801' OR dst = '802' ORDER BY calldate LIMIT 1";


$result=mysql_query($query);
$result1=mysql_query($query1);
$result2=mysql_query($query2);
$result3=mysql_query($guery3);

$temp=mysql_fetch_array($result);
$temp1=mysql_fetch_array($result1);
$temp2=mysql_fetch_array($result2);
$temp3=mysql_fetch_array($result3);


give me 


PHP Notice:  Undefined variable:  guery3 in /srv/www/html/calls-recp.php on line 22
PHP Warning:  mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /srv/www/html/calls-recp.php on line 27