jatar_k - 1:55 pm on Nov 8, 2011 (gmt 0)
but it didn't show up anything.
then you know your error is before the line where you put it
move it up line by line until it shows, then you pinpoint the exact line
I also suggest putting a bit of static content with your or die's as if mysql_error() returns empty for some reason you would still know the error was there
or die('<p>this query: <br />' . $sql_complete . '<br /> died: <br />' . mysql_error())
maybe a bit verbose but errors need to help you figure out what happened, displaying the query is also helpful as most queries are dynamic in some way and there may be many in a given script.