Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You are not showing us where you have defined your variables for username and password.</p> <p>if you are certain this extension is active. Use the following: </p> <pre><code>if (class_exists('mysqli')) { echo "MySQLi Class Exists"; } else { echo "MySQLi Class Does Not Exist"; } </code></pre> <p>This can check if you have sucessfully enabled this class, using function_exists will return a false because MySQLi &amp; PDO (for future reference) is class based. </p> <p>If in doubt that you have configured your MySQLi connection correctly. refer to the manual. <a href="http://php.net/manual/en/mysqli.construct.php" rel="nofollow">http://php.net/manual/en/mysqli.construct.php</a></p> <p>and last but not least, since you have modified your PHP.ini.. double check the following:</p> <p>1) Are you sure you have modified the one loaded by apache? - if in doubt.. Use phpinfo to identify the location of php.ini</p> <p>2) Modifications to php.ini require a restart/reload of apache.. All the time. one of the following: <em>Update: Thought You was on linux until reading the tags</em></p> <p>If using IIS:</p> <p>Open up your management console and select "restart" </p> <p>If using XAMPP:</p> <p>Open up your Management Console For Xampp and stop the service, then start it again.</p> <p>From Command Line: </p> <p><code>net stop apache2.4</code> then <code>net start apache2.4</code> (Replace 2.4 with your apache version)</p> <p>Consult the manual for manipulating services from CLi:</p> <p><a href="http://technet.microsoft.com/en-gb/library/cc736564%28v=ws.10%29.aspx" rel="nofollow">http://technet.microsoft.com/en-gb/library/cc736564%28v=ws.10%29.aspx</a></p> <p>Also, with your <code>echo</code> statements.. Since you have two of the same echos, try changing them.. or atleast telling us how many (if any) is visible? it's the first one.. Consult the manual..</p> <p>If it's your second one... </p> <p>Consult the manual for your functions: </p> <p><a href="http://www.php.net/manual/en/mysqli.query.php" rel="nofollow">http://www.php.net/manual/en/mysqli.query.php</a> - MySQLi Query</p> <p><a href="http://www.php.net/manual/en/mysqli-result.fetch-assoc.php" rel="nofollow">http://www.php.net/manual/en/mysqli-result.fetch-assoc.php</a> - MySQli Fetch Assoc</p> <p><strong>Final Update(S):</strong></p> <p>Consult the manual also for the MySQLi Error: </p> <p><a href="http://php.net/manual/en/mysqli.error.php" rel="nofollow">http://php.net/manual/en/mysqli.error.php</a></p> <p>And last but not least... Does the database your connecting too exist? and the same with that table inside your database schema?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload