fork download
  1. <?php
  2.  
  3. foreach ($first as $count){
  4. $str_sql_query = "SELECT id FROM dbCountries WHERE name LIKE '%$count%' OR alias LIKE '%$count%' ";
  5. $countrysId = mysql_query($str_sql_query, $link);
  6. }
Success #stdin #stdout #stderr 0.02s 23488KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
PHP Notice:  Undefined variable: first in /home/iH35sg/prog.php on line 3
PHP Warning:  Invalid argument supplied for foreach() in /home/iH35sg/prog.php on line 3