Jump to content

About my problem


ted_chou12

Recommended Posts

require("../mysqlconnection.php");
$result = mysql_query("SELECT * FROM userinfo WHERE username='$_SESSION[sconlineusername]'") or die(mysql_error());
$row = mysql_fetch_array($result);
$displayname = $row['displayname'];
this is perfectly fine, and it does give me the displayname, but I wish to just look for displayname column instead of *.
Thanks Ted.
Link to comment
https://forums.phpfreaks.com/topic/31850-about-my-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.