Search found 7 matches

by BluePixel
Thu Aug 04, 2011 10:47 pm
Forum: Tutorials
Topic: User id
Replies: 20
Views: 4201

Re: User id

Pointless tutorial. I have a programmer that'll do this for me for 75.00. I don't have the time to try and complete have finished tutorials. The point of the tutorials and this forum is that you should in theory learn something. If you just want to get somethign working you are in the wrong place ;...
by BluePixel
Sun Jul 31, 2011 7:46 pm
Forum: Tutorials
Topic: User id
Replies: 20
Views: 4201

Re: User id

Pointless tutorial. I have a programmer that'll do this for me for 75.00. I don't have the time to try and complete have finished tutorials.
by BluePixel
Tue Jul 26, 2011 8:19 pm
Forum: PHP
Topic: Allowing users to register as male or female
Replies: 3
Views: 774

Allowing users to register as male or female

Is this code correct <?php if(isset($_POST['submit'])) { if($_POST['user_gender'] == 1) { $user_gender = male; } if($_POST['user_ender'] == 2) { $user_gender = female; }else{ echo "you must select a gender"; } } ?> Am I going in the right direction? Any tutorials?
by BluePixel
Sun Jul 24, 2011 8:58 am
Forum: Tutorials
Topic: User id
Replies: 20
Views: 4201

Re: User id

What files do i need to edit to have an actual user login and edit there profile? That depends on your code so far. When the user logs in, you need to store their user id in the session. The code you need is basically this <?php session_start(); $sql="SELECT username,password FROM users WHERE ...
by BluePixel
Tue Jul 19, 2011 8:16 pm
Forum: Tutorials
Topic: User id
Replies: 20
Views: 4201

Re: User id

This is really complicated. This tutorial started off good but now it's poorly done. What files do i need to edit to have an actual user login and edit there profile? Which lines of code need to be altered?

If the code is in another tutorial, can someone post a link please thank you.
by BluePixel
Tue Jul 19, 2011 9:41 am
Forum: Tutorials
Topic: User Profiles - edit_profile.php not showing user info in
Replies: 2
Views: 794

Re: User Profiles - edit_profile.php not showing user info i

Ok I know why I wasn't seeing anything. I don't have a user with an id of 1 so I modified this
$_SESSION['uid'] = 1;
to this
$_SESSION['uid'] = 310; 
which is pointless.

How do I make it so an actual user logs in and edits their profile? Thanks.
by BluePixel
Tue Jul 19, 2011 9:29 am
Forum: Tutorials
Topic: User Profiles - edit_profile.php not showing user info in
Replies: 2
Views: 794

User Profiles - edit_profile.php not showing user info in

text fields. Hi I'm following this tutorial and the user profile info is not showing up in the form. All I see is a blank form. I have a feeling this has to do with a SESSION or something, but I followed the tutorial exactly. I'm implementing this into my already existing login system and site. Do I...