سلام
برای ارتباط با دیتا بیس این ارورو دارم
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in
[PHPS]<?php $r=mysql_query("select *from tbl_menu order by position DESC") ;
while($row=mysql_fetch_assoc($r))
{
echo '<option value="'.$row['menu_id'].'">'.$row['menu_name'].'</option>';
}
?>[/PHPS]
برای ارتباط با دیتا بیس این ارورو دارم
Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in
[PHPS]<?php $r=mysql_query("select *from tbl_menu order by position DESC") ;
while($row=mysql_fetch_assoc($r))
{
echo '<option value="'.$row['menu_id'].'">'.$row['menu_name'].'</option>';
}
?>[/PHPS]
آخرین ویرایش: