Jump to content

Joe Vizharan

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Joe Vizharan's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Reply to begeiste: In your switch statement, there is one case that you did not 'break'. That is the only reason for your problem that I could find, however I'm only a beginner. Fixed switch statment: switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": break; case "int": $theValue = ($theValue != "") ? intval($theValue) : "NULL"; break; case "double": $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL"; break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } Edit: Just a question, why is require_once('../Connections/filmmaker.php'); in a different PHP block? Just wondering.
×
×
  • 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.