|
Ok so im building a little update for the Challenge_Form_Module in your downloads database...
However this is my first module that will use SQL statments, so far all is going well with the help of Untergang.
i am currently on the update part of the admin section, and as of yet i have this for the SQL Update line
$db->sql_query("UPDATE ".$prefix."_chusmodsettings SET logo='$logo' WHERE logo='$logo1'");
this works fine
However i need to update about 5 rows on the database, this is what i am trying
$db->sql_query("UPDATE ".$prefix."_chusmodsettings SET logo='$logo', lwidth='$logow' WHERE logo='$logo1', lwidth='$logowi'");
This is screwed
can anyone help me please
Thanks loads
|
|
|