Welcome! Here you can paste sources and general debugging text, You can even set yourself a password if you want to keep it just for yourself.

Posted by result on March Mon 16th 4:46 PM - Never Expires - Views: 329

  1. for ($x=0; $x<count($noticias->categoria); $x++) {
  2.        
  3.         $condicao = strtolower($noticias->categoria[$x]);
  4.        
  5.         //var_dump($condicao);
  6.        
  7.         $query_tag = "SELECT idtags FROM tag WHERE nome = '$condicao'";
  8.        
  9.         $result_tag[$x] = mysql_query($query_tag);
  10.        
  11.         $row[$x] = mysql_fetch_assoc($result_tag[$x]);
  12.        
  13.         var_dump($row);
  14. }
Language:
To highlight particular lines, prefix each line with @@




© 2017  YSblue.com.br (Implemented and Adapted) - Powered by PASTE 1.0