Jump to content

Recommended Posts

after upgrading my site to php7 and using msqli my sql queries returns no data. connection to server is ok and i can connect but queries returns nothing - no error

i'm using

$mysqli = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD, DB_DATABASE);
to connect and my sql is

$sectionresult = $mysqli->query("SELECT distinct section FROM $table ORDER BY secref");
which returs empty

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...