mysql - PHP Error Retrieving Data From Remote Database (Not Populating Query) -


the following code takes data form retrieved remote database.

$find = mysqli_real_escape_string($connect, $_post['name']);      echo ' '.$find;  $query_seek = mysqli_query($connect,  "select * test_2 name = '$find' ");      if($query = $query_seek)     {         echo 'query successful';     } 

when run it, query not seem resolve or echo data. simple using method versus post? prefer not have query pass through url security if can't helped it. assume syntax sql correct ran on server side through phpmyadmin's sql client. glaringly incorrect?

this block comes after check input verified length , no white space.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -