I have a customer saying that he is using this on multiple servers, but i don't see how the logic isn't broken before the or die statement...
execute SQL query
mysql_select_db($pmv_db_name);
or die("Could not connect:".mysql_error());
if ($pmv_debug) echo "<b>SQL_Query:</b><br />\n".$pmv_action['sql']."<br />\n";
$pmv_result = mysql_query($pmv_action['sql']);
if ($pmv_result==null) { print("Error: ".mysql_error()); return; }
Thanks,
Steve