Jump to content

Syntax help


garethhall

Recommended Posts

Actually jtgraphic its not.. It is the same as:

if($newTemplateName!==$templateNewname) {
   $name_sql = "`name`='$newTemplateName',";
}

or

if($newTemplateName===$templateNewname) {
   $name_sql = "";
} else {
$name_sql = "`name`='$newTemplateName',"
}

Link to comment
https://forums.phpfreaks.com/topic/188865-syntax-help/#findComment-997164
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.