Skip navigation links

MySQL Forums :: PHP :: error


Advanced Search

error
Posted by: eaju aizudin ()
Date: November 17, 2012 06:21PM

Warning: mysql_select_db() expects parameter 2 to be resource, null given in /home/bananaca/public_html/mohdaizudin/index.php on line 41

Warning: mysql_query() expects parameter 2 to be resource, null given in /home/bananaca/public_html/mohdaizudin/index.php on line 44



~this is the code


41 mysql_select_db($database_feedback, $feedback);
42 $query_Recordset1 = "SELECT * FROM homeupdate ORDER BY id DESC";
43 $query_limit_Recordset1 = sprintf("%s LIMIT %d, %d", $query_Recordset1, $startRow_Recordset1, $maxRows_Recordset1);
44 $Recordset1 = mysql_query($query_limit_Recordset1, $feedback) or die(mysql_error());
45 $row_Recordset1 = mysql_fetch_assoc($Recordset1);



faced this problem :(
plezz help me



Edited 1 time(s). Last edit at 11/17/2012 06:24PM by eaju aizudin.

Options: ReplyQuote


Subject Written By Posted
error eaju aizudin 11/17/2012 06:21PM
Re: error Peter Brawley 11/18/2012 08:33AM
Re: error eaju aizudin 11/18/2012 09:47PM
Re: error Barry Galbraith 11/18/2012 10:25PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.