Search found 26 matches

by salrathor1
Sun Apr 27, 2014 7:26 pm
Forum: Tutorials
Topic: User profile tutorial
Replies: 1
Views: 2210

User profile tutorial

Hey guys, I hope you're doing well. I was following the user profile tutorial and i'm getting an error message which I can't figure out. Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\user_system\core\inc\user.inc.php on line 31 I understand that it...
by salrathor1
Sun Apr 27, 2014 11:32 am
Forum: Tutorials
Topic: Registration: User Activation & Running script online
Replies: 1
Views: 1376

Registration: User Activation & Running script online

Hey guys, I hope you're all doing well. I have two problems. 1. I've followed the tutorials for creating a registration/login system with the activation codes. It all seems to work fine but when I enter the activation code it doesn't seem to delete the row in the `user_activations` table. 2. I tried...
by salrathor1
Thu Apr 24, 2014 8:12 pm
Forum: Suggestions
Topic: Code for tutorial videos.
Replies: 1
Views: 2979

Code for tutorial videos.

Hey guys, I hope you're all doing well. Would it be possible to upload the working code for all of the tutorial videos? I'd like to play with some of the code but don't want to go back through the tutorial again at this moment in time. I would like to make a website with the registration/login/user ...
by salrathor1
Sun Oct 20, 2013 6:58 am
Forum: General Chat
Topic: Paid work? (advanced coders only)
Replies: 2
Views: 5462

Re: Paid work? (advanced coders only)

Ah ok. I kind of need someone who can dedicate some time designing a new social network from scratch. The project has the scope to be very large but all the features won't be implemented from day one. I kind of had a coder but he's just too busy and doesn't really get back to me on anything. I think...
by salrathor1
Sat Oct 19, 2013 11:34 pm
Forum: General Chat
Topic: Paid work? (advanced coders only)
Replies: 2
Views: 5462

Paid work? (advanced coders only)

Hey guys, I hope you're all good.

I'm looking for a coder to develop a website for me (paid). My preference is for Jacek but I understand he may be too busy so I've decided to post here too.

let me know if you're interested.
Regards
Sal
by salrathor1
Sun Dec 04, 2011 3:18 am
Forum: Other
Topic: html error checker?
Replies: 7
Views: 2136

Re: html error checker?

Thanks Jacek.

I was having problems setting up php on my linux comp but this works on my mac now so it's all good.

Thanks.
Sal
by salrathor1
Sat Dec 03, 2011 9:59 pm
Forum: Other
Topic: html error checker?
Replies: 7
Views: 2136

Re: html error checker?

Hey Jacek,

I've just reinstalled linux on a laptop I have and wanted to install the validator. I've downloaded the file but how do I add it?

Thanks
Sal
by salrathor1
Sat Dec 03, 2011 9:45 pm
Forum: Other
Topic: LAMP server
Replies: 9
Views: 2232

Re: LAMP server

Hey guys, I'm also trying to setup php on linux. I've installed lampp and have it running but can't seem to modify permissions for htdocs. What I have done; 1. Downloaded xampp from apachefriends 2. Installed it into /opt/lampp/ 3. started lampp opt/lampp/start start (I think) (when I goto localhost...
by salrathor1
Fri Dec 02, 2011 8:16 am
Forum: Other
Topic: php books
Replies: 8
Views: 1775

php books

Hey guys, hope you're all doing well.

I'm thinking of buying a php book and was just wondering if anyone has any good suggestions?


Also I've seen a few books online but they're a few years old. How much has changed on the last few years in the world of PHP?

Thanks
Sal
by salrathor1
Fri Dec 02, 2011 2:03 am
Forum: Code
Topic: A Basic 'Wall' Post comments.
Replies: 4
Views: 2501

Re: A Basic 'Wall' Post comments.

Hey, Thanks for the feedback Jacek. It makes sense and definitely makes the code more organised. I've made a few modifications to the earlier script so it's a little tidier now but it's still probably not the best, because.. 1. I'm echoing data from user.inc.php. (is this a problem?) 2. I removed th...
by salrathor1
Thu Dec 01, 2011 5:55 pm
Forum: Code
Topic: A Basic 'Wall' Post comments.
Replies: 4
Views: 2501

A Basic 'Wall' Post comments.

Hey guys, I wrote a basic script that allows anybody to write a comment and post it. The comments are displayed under the post form and the number of displayed comments can be modified by the user. I'm going to post the code because i'm kind of proud of writing it considering i'm still a PHP beginne...
by salrathor1
Wed Nov 30, 2011 3:56 pm
Forum: PHP
Topic: mySql query: Defining LIMIT with a variable
Replies: 8
Views: 1156

Re: mySql query: Defining LIMIT with a variable

Hey,

Thanks Tino. A simple solution that I probably would have overlooked due to lack of experience.

Appreciated.
Sal
by salrathor1
Wed Nov 30, 2011 12:23 am
Forum: PHP
Topic: mySql query: Defining LIMIT with a variable
Replies: 8
Views: 1156

Re: mySql query: Defining LIMIT with a variable

Hey,

Yea kind of, but is there a way to set a default value? I tried to use value="8" to define 8 as default but also allow users to also change that figure.

If there is i'd appreciate the answer. If not i'll have a think about it and try something different.

Thanks for the info.
by salrathor1
Wed Nov 30, 2011 12:05 am
Forum: PHP
Topic: mySql query: Defining LIMIT with a variable
Replies: 8
Views: 1156

Re: mySql query: Defining LIMIT with a variable

Hey, This is me practicing so it's not although great. Saying that, even if it was my best attempt it probably wouldn't be all that great. Index.php [syntax=php] <?php include ('connect.inc.php'); $display = $_POST['display']; if (isset($_POST['name'], $_POST['comment'])) { add_comment($_POST['name'...
by salrathor1
Tue Nov 29, 2011 11:13 pm
Forum: PHP
Topic: mySql query: Defining LIMIT with a variable
Replies: 8
Views: 1156

Re: mySql query: Defining LIMIT with a variable

Hey, thanks for you're reply. You're right, I just tried it and it does work without the apostrophes if I use a variable. However, i'm also trying to allow users to select the number of posts to be displayed. If I create an <input type="input" name="display" value="8" /...
by salrathor1
Tue Nov 29, 2011 7:03 pm
Forum: PHP
Topic: mySql query: Defining LIMIT with a variable
Replies: 8
Views: 1156

mySql query: Defining LIMIT with a variable

Hey guys, I've just been playing around with a quick comment posting script I wrote. It basically allows users to post a message with a name and comment, and shows the last 10 comments underneath sorted by 'date' order. the query is: [syntax=php]$query = "SELECT `post_id`, `user_name`, `user_co...
by salrathor1
Tue Nov 29, 2011 3:58 pm
Forum: Tutorials
Topic: Check if email exists in registration
Replies: 2
Views: 694

Re: Check if email exists in registration

Hey, Maybe someone can expand because i'm pretty new to PHP, but you're using a tripple === whereas Jacek uses a double == in his tutorials. Maybe that's why it's failing? === checks if the value and type are the same, whereas == checks if the values are the same without necessarily being the same d...
by salrathor1
Sun Nov 27, 2011 5:18 pm
Forum: Other
Topic: html error checker?
Replies: 7
Views: 2136

Re: html error checker?

Thanks Dom and Jacek, one less thing to worry about tonight lol

And the validator doesn't seem to be compatible on firefox for Mac.

"The awkward moment you wished you had windows?"
by salrathor1
Sun Nov 27, 2011 4:43 am
Forum: Other
Topic: html error checker?
Replies: 7
Views: 2136

html error checker?

Hey guys, two quick questions.

1. I've seen that Jacek uses a program to check his html code during tutorials. What is it called?

2. What does init stand for in init.inc.php. It's kind of bothering me.

Thanks
Sal
by salrathor1
Sun Nov 27, 2011 4:04 am
Forum: Tutorials
Topic: Combining between the login/profile tutorial
Replies: 0
Views: 1246

Combining between the login/profile tutorial

Hey guys, I've basically been through the register/login tutorial and the profile tutorial, and both are working. However, both of the tutorials aren't interlinked so i'm a little confused about the best way to link them. I'm guessing I need to set the uid as a session variable but just not sure how...
by salrathor1
Sun Nov 27, 2011 3:25 am
Forum: Tutorials
Topic: Profile page tutorial
Replies: 2
Views: 626

Re: Profile page tutorial

Thanks Jacek.

Can't wait till I get some more experience so I can spot these stupid mistakes.

Appreciated.