Jump to content

CadJoe

New Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About CadJoe

  • Rank
    Newbie

Profile Information

  • Gender
    Not Telling
  1. ok, I have it working now. Knew it was something with the SQL statement, but couldn't figure out what. I added this to the top <?php error_reporting(E_ALL); ini_set('display_errors', 1); I changed the Prepare statement to include the error which lead me to error 1064. Took the single quotes off of the Field Names, and it started working. Adding the below IF statement is HUGE to see the errors. $database = "Survey"; $db_found = new mysqli('localhost', 'survey', 'survey', $database); $db_found->set_charset("utf8");
  2. 2 9 0 1 Fatal error: Call to a member function bind_param() on boolean. It fails on the BIND_PARAM line. I have looked at this all day, struggling with Mysqli as my normal MySql works fine with assoc and fetch. I have verified in PhpInfo that mysqli is enabled. I have verified its loaded using <?php print_r(get_loaded_extensions()); Added utf8 just to make sure. If I manually use the Wrong Password, I get a connection refused error, so I know its connected. Verified my $_POST variables are there using Print in the 2 9 0 1 above. All Table and Field Names are corr
×
×
  • 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.