|
|
|
| select title,pod_cat from `pod_categories` where pod_cat in (71)
Fatal error: Call to undefined function mysql_fetch_arrray() in B:\home\test1.ru\www\base\modules\in-search.php on line 80
Код:
<?
echo 'select title,pod_cat from `pod_categories` where pod_cat in ('.$number_acts.')';
$get_title=mysql_query('select title,pod_cat from `pod_categories` where pod_cat in ('.$number_acts.')');
while ($get_title_row=mysql_fetch_arrray($get_title)) {
$row_firms['actions'][] =$get_title_row['title'];
}
?>
|
В чем проблема не пойму? | |
|
|
|
|
|
|
|
для: OLi
(13.11.2011 в 03:08)
| |
<?php
$query = "SELECT title, pod_cat FROM pod_categories WHERE pod_cat='.$number_acts.'";
$get_title = mysql_query($query);
if(!$get_title) die(mysql_error());
while ($get_title_row = mysql_fetch_array($get_title))
{
$row_firms['actions'][] = $get_title['title'];
}
?>
|
mysql_fetch_array() - написанно с 3 буквы r | |
|
|
|