|
-
php function inside a mysql_query()
I have one function that is $inloggad = $_SESSION['sess_user']; this function is to get the username from the logged in member
my other function is $usertype= mysql_query("SELECT usertype FROM members WHERE usertype = 'write'");
and I want to replace write in the end of that function with $inloggad but I just can't get it right.
any idea of how to do this?
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks