That worked like a charm, thank you!
Is there a way to implement the max-width?
Search found 13 matches
- Tue Feb 14, 2012 8:54 pm
- Forum: Tutorials
- Topic: Avatar Size Restraints
- Replies: 3
- Views: 964
- Tue Feb 14, 2012 8:38 am
- Forum: Tutorials
- Topic: Avatar Size Restraints
- Replies: 3
- Views: 964
Avatar Size Restraints
Hello! I just followed your avatar system tutorial and everything is working great, however, in my website I need the image to be constrained to 75px high. I'm wondering if perhaps, there's a way to constrain it to the height rather than the width.. I have more room to play on width, but the height ...
- Wed Jan 18, 2012 10:59 pm
- Forum: Tutorials
- Topic: User Profile System - Info for edit_profile not showing :(i
- Replies: 19
- Views: 2483
Re: User Profile System - Info for edit_profile not showing
Thx for the help - I had a friend who knows PhP look at it and we had to fix some of the functions to accomodate the login/registration system with the member profile system as they don't work together by default. But it's all working now so I do appreciate you taking the time to look at this.
- Wed Jan 18, 2012 9:18 pm
- Forum: Tutorials
- Topic: User Profile System - Info for edit_profile not showing :(i
- Replies: 19
- Views: 2483
Re: User Profile System - Info for edit_profile not showing
I do have data in my database.. I just didn't have a user id 1 - but now I do. I have a user id 1 and user id 2 and neither work.
- Wed Jan 18, 2012 9:16 pm
- Forum: Tutorials
- Topic: User Profile System - Info for edit_profile not showing :(i
- Replies: 19
- Views: 2483
Re: User Profile System - Info for edit_profile not showing
If I remove that completely, then we're back to square 1 where nothing works. That's how I had it originally (commented out) when I first wrote this post. Then, the edit_profile.php shows nothing for data.. and I have a section to call out the users page for a profile redirect and it just has http:/...
- Wed Jan 18, 2012 2:49 am
- Forum: Tutorials
- Topic: User Profile System - Info for edit_profile not showing :(i
- Replies: 19
- Views: 2483
Re: User Profile System - Info for edit_profile not showing
OK I added a user id=1 to my database. and if I re-add this, which I had commented out since it was only in the member tutorial and seemed to only be in there assuming you had no database with multiple users. //added variable in profile tutorial $_SESSION['uid'] = 1; //end added variable into the in...
- Wed Jan 18, 2012 1:44 am
- Forum: Tutorials
- Topic: User Profile System - Info for edit_profile not showing :(i
- Replies: 19
- Views: 2483
Re: User Profile System - Info for edit_profile not showing
I just changed the query to: SELECT `user_name` AS `username`, `user_firstname` AS `firstname`, `user_lastname` AS 'lastname', `user_email` AS `email`, `user_about` AS `about`, `user_location` AS `location`, `user_gender` AS `gender` FROM `users` WHERE `user_id` = 2 Changing the user_id to 2 from 1,...
- Wed Jan 18, 2012 1:32 am
- Forum: Tutorials
- Topic: User Profile System - Info for edit_profile not showing :(i
- Replies: 19
- Views: 2483
Re: User Profile System - Info for edit_profile not showing
It says MySQL returned an empty result set (i.e. zero rows). ( Query took 0.0004 sec )
As noted below: I don't have a user 1, so that's why it returned zero rows.
As noted below: I don't have a user 1, so that's why it returned zero rows.
- Wed Jan 18, 2012 1:28 am
- Forum: Tutorials
- Topic: User Profile System - Info for edit_profile not showing :(i
- Replies: 19
- Views: 2483
Re: User Profile System - Info for edit_profile not showing
That returned int(1)
- Wed Jan 18, 2012 12:59 am
- Forum: Tutorials
- Topic: User Profile System - Info for edit_profile not showing :(i
- Replies: 19
- Views: 2483
Re: User Profile System - Info for edit_profile not showing
Is there some browser setting to show the mysql errors? I noticed that when you did your code wrong in the videos it returned the red text with the errors, whereas mine only showed a blank page.. maybe I have something turned off so that it won't show errors, but I'd assume your echo should override...
- Wed Jan 18, 2012 12:56 am
- Forum: Tutorials
- Topic: User Profile System - Info for edit_profile not showing :(i
- Replies: 19
- Views: 2483
Re: User Profile System - Info for edit_profile not showing
Well if you can't see it, it means I'm not crazy :) Do you mean like this? //fetches profile information for the given user function fetch_user_info($uid){ $uid = (int)$uid; $sql = "SELECT `user_name` AS `username`, `user_firstname` AS `firstname`, `user_lastname` AS 'lastname', `user_email` AS...
- Tue Jan 17, 2012 10:36 pm
- Forum: Tutorials
- Topic: User Profile System - Info for edit_profile not showing :(i
- Replies: 19
- Views: 2483
Re: User Profile System - Info for edit_profile not showing
It says bool(false)
- Tue Jan 17, 2012 8:45 am
- Forum: Tutorials
- Topic: User Profile System - Info for edit_profile not showing :(i
- Replies: 19
- Views: 2483
User Profile System - Info for edit_profile not showing :(i
Sorry to give you two posts in 1 day, but I am banging my head against the wall trying to figure out what I've missed, and after re-watching the videos numerous times, I just can't find it. I'm trying to do the Member Profile tutorials and I have everything working thus far, the user list works grea...