Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ok, first thing:
- I'm using drupal6
- When a user logins I want to load a page that shows some user stats.
- The stats are taken from the users row.
- Now in the php script will i still need to add:
- mysql_connect('ip-address','username','password');
- where username is the current user logged in?
- Or can i just fetch the data, since the user has already logged in?
- If i cant do that, How do i get the php script to recognise the current logged in user?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement