Search found 49 matches

by Shahlin
Wed Jan 18, 2012 12:54 pm
Forum: PHP
Topic: Profile Picture Question!
Replies: 11
Views: 1123

Re: Profile Picture Question!

It Still Doesn't Work! :(
and where should I select the user id from?
by Shahlin
Wed Jan 18, 2012 12:27 pm
Forum: PHP
Topic: Profile Picture Question!
Replies: 11
Views: 1123

Re: Profile Picture Question!

It still doesn't work! :( And When I Go to ..../profile.php?uid=098347 It just shows the profile...even if there is no user with that id. My scripts : (profile.php) <?php include('core/init.inc.php'); $user_info = fetch_user_info($_GET['uid']); ?> <html> <head><title><?php echo $user_info ['username...
by Shahlin
Tue Jan 17, 2012 12:45 pm
Forum: PHP
Topic: Profile Picture Question!
Replies: 11
Views: 1123

Profile Picture Question!

I was making the profile picture thing! Like...Uploading a profile picture and all! It Always Shows "Your profile picture must be an image." even though I upload a picture! Here are my edit_profile.php script! <?php include('core/init.inc.php'); if (isset ($_POST ['email'], $_POST ['locati...
by Shahlin
Sun Jan 15, 2012 3:06 pm
Forum: PHP
Topic: User Profiles Question
Replies: 2
Views: 436

Re: User Profiles Question

SILLY ME! That happened because most of the time...i use...$query!
ANYWAYS! THANKS A LOT!!!! ALOT!! :D
by Shahlin
Sun Jan 15, 2012 2:16 pm
Forum: PHP
Topic: User Profiles Question
Replies: 2
Views: 436

User Profiles Question

I've tried making a user profile! with edit_profile in it. Where people can edit their profile. I made one. But when I click on update, the same page is simply reloaded and nothing is changed in the database. Any ideas why? :( edit_profile.php <?php include('core/init.inc.php'); if (isset ($_POST [...
by Shahlin
Sat Jan 14, 2012 10:46 am
Forum: PHP
Topic: mysql_fetch_assoc() expects parameter 1 to be resource......
Replies: 2
Views: 422

mysql_fetch_assoc() expects parameter 1 to be resource......

I Tried Creating A Profile Page! But i always get an error : "Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\php\Profile\core\inc\user.inc.php on line 28" <?php // fetches all of the users from the table! function fetch_users() { $result =...