Quantcast
Channel: Topic Tag: MySQL | WordPress.org
Viewing all articles
Browse latest Browse all 5530

blakemoore123 on "[Plugin: Insert PHP] Resource id #250"

$
0
0

This is not resolved.

[insert_php]
$con = mysql_connect("MY SERVER","MY USERNAME","MY PASS");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }
mysql_select_db("MY DATABASE");

$results = mysql_query("select * from wp_users") or die(mysql_error());

if($results)
{
echo "$results";
}
else
{
echo "Failed";
}
[/insert_php]

Cheers Will!


Viewing all articles
Browse latest Browse all 5530

Trending Articles