11.12.2010, 10:35
First I just want to say, I like the plugin, upgrading was a great thing to do.
My issue is, I understand mysql_query() is supposed to return 1 or 0 for success/fail, but for me it doesn't seem to be returning the success.
I have quite a few functions that run similar to this
if(mysql_query(query))
{
//do something here such as zero enums on a 'DELETE FROM WHERE' query
}
And the query does run, because the affected row does get deleted from the table, but it's not doing anything (such as zeroing out the associated enums) in the { }.
Does anyone have any thoughts on this? Or maybe a possible work around. The most used query with the problem statement is 'DELETE FROM WHERE' so there isn't really data to store for the query for mysql_store_result(), to use that so... Yeah.
There are no errors in the log, or console because the query does run, it just doesn't return. :/
I'm out of ideas, if anyone has any I'm all ears.
My issue is, I understand mysql_query() is supposed to return 1 or 0 for success/fail, but for me it doesn't seem to be returning the success.
I have quite a few functions that run similar to this
if(mysql_query(query))
{
//do something here such as zero enums on a 'DELETE FROM WHERE' query
}
And the query does run, because the affected row does get deleted from the table, but it's not doing anything (such as zeroing out the associated enums) in the { }.
Does anyone have any thoughts on this? Or maybe a possible work around. The most used query with the problem statement is 'DELETE FROM WHERE' so there isn't really data to store for the query for mysql_store_result(), to use that so... Yeah.
There are no errors in the log, or console because the query does run, it just doesn't return. :/
I'm out of ideas, if anyone has any I'm all ears.