Search found 9 matches

by Chlor
Wed Dec 12, 2012 9:23 am
Forum: Introductions
Topic: Hello!
Replies: 4
Views: 19341

Re: Hello!

Hah, I get that. Achieving pixel perfection in a responsive design is one of the worst things I know, way too time consuming for something that no-one will notice until it fails.

Thanks for the kind welcome! :)
by Chlor
Sat Dec 08, 2012 8:31 pm
Forum: PHP
Topic: Register and Login (User Account System)
Replies: 4
Views: 3337

Re: Register and Login (User Account System)

That was the problem. I had forgotten to put a second empty(); for password verification so I assume that the "repeat password" field was the part that messed things up. Silly me. :oops:
by Chlor
Sat Dec 08, 2012 6:03 pm
Forum: PHP
Topic: Register and Login (User Account System)
Replies: 4
Views: 3337

Re: Register and Login (User Account System)

Oh, I meant mysql_error(), that was a typo. (the disgrace!).
Yes, I have tried with mysql_error(); at the endo of all my queries with no results.
by Chlor
Sat Dec 08, 2012 5:51 pm
Forum: Introductions
Topic: Hello!
Replies: 4
Views: 19341

Hello!

Hello everyone, I'm Chlor and I'm new to these forums. I'm a web-design student as of 3 semesters now, mainly focusing on graphic design and front-end. I've recently started delving into PHP and I've found Jaceks's tutorials to be a big help in getting started. I've already gotten a bit of help on m...
by Chlor
Sat Dec 08, 2012 5:10 pm
Forum: PHP
Topic: Register and Login (User Account System)
Replies: 4
Views: 3337

Register and Login (User Account System)

Hi again, I continue to struggle with my PHP, and I am stuck in one of these tutorials yet again. I'm at the end of part 3, and everything should be done,a s far as I can tell my code is more or less identical to the one in the tutorial. At first I got a "Warning: mysql_result() expects paramet...
by Chlor
Fri Dec 07, 2012 10:34 pm
Forum: PHP
Topic: "Edit" function on Blog posts
Replies: 8
Views: 1300

Re: "Edit" function on Blog posts

It works perfectly. Thanks a lot for your help, you're a lifesaver, bro. I've spent hours upon end scratching my head while searching the net for a solid answer to this.

Are answered threads like these locked, should I request one?
by Chlor
Fri Dec 07, 2012 9:18 pm
Forum: PHP
Topic: "Edit" function on Blog posts
Replies: 8
Views: 1300

Re: "Edit" function on Blog posts

Oh, alright. so now I have changed the $_POST with $post and added $post to my "if (isset())" clause, where it remains undefined. This is the get_post function that I use. It's unedited from when I first created it using the blog tutorial. [syntax=php]function get_post($pid){ $pid = (int)$...
by Chlor
Fri Dec 07, 2012 6:35 pm
Forum: PHP
Topic: "Edit" function on Blog posts
Replies: 8
Views: 1300

Re: "Edit" function on Blog posts

Sadly that didn't work, I have continued to turn this over and around but no luck, I must be missing something else. My PHP skills are pretty limited so there can be all kinds of stuff done wrong. This is what you meant for me to do right? Simply add the $pid to the parameters? [syntax=php]function ...
by Chlor
Fri Dec 07, 2012 1:35 pm
Forum: PHP
Topic: "Edit" function on Blog posts
Replies: 8
Views: 1300

"Edit" function on Blog posts

Hello, I have followed the Blog tutorial on YouTube and it has worked great, it really helped me out! However, I have recently tried to add an "Edit" function to the blog posts, so that I can come back and edit them with ease and would think that my code should work. I can't find any error...