Home › Forums › Back End › Drop Down Executes Query On Post? › Reply To: Drop Down Executes Query On Post?
May 19, 2014 at 7:52 pm #170639
Yes the other code is not related, it’s an extension of the star rating script.
(which is awesome by the way)
Notice: Undefined variable: result
In previous statements I used result as :
$result = mysql_query("SELECT * FROM table");
So I have changed $Link to result :
$result = mysql_connect($Host, $User, $Password);
The other errors :
Notice: Undefined index: message in filter.php on line 5 $message = $_GET['message'];
Notice: Undefined index: usercomments in filter.php on line 10 $usercomments = nl2br($_POST['usercomments']);
Why are these flagged?!?!?! They work! They are flagged in other pages as well.
The final error :
Warning: mysql_fetch_row(): supplied resource is not a valid MySQL result resource in filter.php on line 39 Line 39 : WHILE($row = mysql_fetch_row($result)):