daily pastebin goal
28%
SHARE
TWEET

Untitled

a guest Oct 17th, 2012 30 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Ok, first thing:
  2. I'm using drupal6
  3.  
  4. When a user logins I want to load a page that shows some user stats.
  5. The stats are taken from the users row.
  6.  
  7. Now in the php script will i still need to add:
  8. mysql_connect('ip-address','username','password');
  9. where username is the current user logged in?
  10.  
  11. Or can i just fetch the data, since the user has already logged in?
  12. If i cant do that, How do i get the php script to recognise the current logged in user?
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top