Jump to content

MYSQL Select code.


Foser

Recommended Posts

Im trying to make this somewhat statement which says through mysql_query(); somthing like:

 

("SELECT username = $user FROM user_info WHERE rights = $rights");
// then put $rights which has been never been valued before
$_SESSION['RIGHTS'] = $rights; 

 

So correct me if im wrong i want to do something like this.

if anyone could help me form this up in a formal mysql_query manner, since ive done a lil search but didnt find much about it.

Link to comment
https://forums.phpfreaks.com/topic/57514-mysql-select-code/
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.