What does this error mean?
Supplied argument is not a valid MySQL result resource
WHAT THE DOES THAT MEAN!?!?!
<?php
if(isset($searchsalary)):
$db = mysql_connect("localhost");
mysql_select_db("bpa", $db);
$sql = "SELECT * FROM main WHERE salary '$salarycut'";
$result = mysql_query($sql);
while ($row = mysql_fetch_array($result)) {
$salarycut=between 30 and 50
That is my code and the last line is erroring out. The connection is fine, the db name is fine, the table name is fine.. So hmm. Can anyone help???