You mean like a "Wall"?
Pretty much the same as the blog/comment, except you turn the profile pages into the "blogs" themselves.
Search found 13 matches
- Sun Apr 08, 2012 4:53 pm
- Forum: Tutorials
- Topic: Last question ....How do i make JUST commenting??
- Replies: 19
- Views: 3376
- Sat Apr 07, 2012 10:58 am
- Forum: Tutorials
- Topic: making block : mysql_fetch_assoc() expects...
- Replies: 6
- Views: 2764
Re: making block : mysql_fetch_assoc() expects...
There is so much useless stuff there... post.inc.php; line 65 extra ",", dunno if it matters. Also you might have a typo, but your error mentions an /inc and an /in directory I recommend you follow the tutorial exactly as is, and make your changes only AFTER it's working for you. It helps ...
- Fri Apr 06, 2012 11:05 pm
- Forum: Tutorials
- Topic: not a valid MySQL result resource
- Replies: 4
- Views: 731
Re: not a valid MySQL result resource
i meant do this: <?php function user_exists($user){ $user = mysql_real_escape_string($user); $total = mysql_query("SELECT COUNT('user_id') FROM 'users' WHERE 'user_name' = '{$user}'"); //why is this not allowing the script to register the user??? return (mysql_result($total, 0) == '1') ? t...
- Fri Apr 06, 2012 8:49 pm
- Forum: Tutorials
- Topic: Login System: MySQL_Result error
- Replies: 8
- Views: 1606
Re: Login System: MySQL_Result error
it even tells you where the error is..
i'll give you 1 hint: )
i'll give you 1 hint: )
- Fri Apr 06, 2012 5:34 pm
- Forum: Tutorials
- Topic: Login System: MySQL_Result error
- Replies: 8
- Views: 1606
Re: Login System: MySQL_Result error
the ` you want should be next to the number 1, above the tab.
- Fri Apr 06, 2012 3:21 pm
- Forum: Tutorials
- Topic: not a valid MySQL result resource
- Replies: 4
- Views: 731
Re: not a valid MySQL result resource
try again using the:
[syntax=php][/syntax] thingies, but it also looks like you are using the wrong quote marks..
- Fri Apr 06, 2012 2:43 pm
- Forum: Tutorials
- Topic: Login System: MySQL_Result error
- Replies: 8
- Views: 1606
Re: Login System: MySQL_Result error
Depends on your keyboard..
What country?
What country?
- Fri Apr 06, 2012 7:28 am
- Forum: Tutorials
- Topic: Login System: MySQL_Result error
- Replies: 8
- Views: 1606
Re: Login System: MySQL_Result error
Well, for one, you are using the wrong quote marks. rather than: $total = mysql_query("SELECT COUNT('user_id') FROM 'users' WHERE 'user_name' = '{$user}'"); it should be: $total = mysql_query("SELECT COUNT(`user_id`) FROM `users` WHERE `user_name`='{$user}'"); It's ` not ' .
- Thu Apr 05, 2012 4:51 pm
- Forum: Tutorials
- Topic: Adding Avatars breaks error check
- Replies: 4
- Views: 1263
Re: Adding Avatars breaks error check
Ah, see i'm still in the learning phase. :lol: profile.php <?php include('includes/init.inc.php'); $user_info = fetch_user_info($_GET['uid']); ?> <title><?php echo $user_info['username']; ?> 's Profile</title> <div id="profilepage"> <?php if (isset($_GET['uid']) === false ) { echo 'No user...
- Thu Apr 05, 2012 8:28 am
- Forum: PHP
- Topic: Need Help With Automatic Image Gallery
- Replies: 4
- Views: 609
Re: Need Help With Automatic Image Gallery
Add
error_reporting(E_ALL);to your file. If it's not working, it has errors. =)
- Wed Apr 04, 2012 12:05 pm
- Forum: PHP
- Topic: Need Help With Automatic Image Gallery
- Replies: 4
- Views: 609
Re: Need Help With Automatic Image Gallery
What errors are you getting?
- Wed Apr 04, 2012 9:28 am
- Forum: Tutorials
- Topic: Adding Avatars breaks error check
- Replies: 4
- Views: 1263
Re: Adding Avatars breaks error check
actually, i fixed it with: <?php if (isset($_GET['uid']) === false ) { echo 'No user selected'; }elseif (array_key_exists('firstname', $user_info) === false) { echo 'No user'; the only thing im still seeing is the "Notice: Undefined index: uid in profile.php on line 5" when profile.php is ...
- Wed Apr 04, 2012 7:59 am
- Forum: Tutorials
- Topic: Adding Avatars breaks error check
- Replies: 4
- Views: 1263
Adding Avatars breaks error check
Hello, I tried searching for this, but could not find it, so here it goes: After following your tutorial for Avatar uploading, everything works like it should. Except when it doesnt.. Basically adding the avatar to the fetch_user_info seems to have broken the current error check: if ($user_info === ...