Search found 6 matches

by Noso1066
Sun Dec 11, 2011 8:42 pm
Forum: PHP
Topic: Login "Specified Credentials"
Replies: 1
Views: 366

Login "Specified Credentials"

Hey guys, with my project, I have seen that my "admin" page is accessible via a regular person's login credentials. Is possible and if so, how could I set the admin login page to only accept the login credentials of username "admin" and password "admin". [syntax=php]<?p...
by Noso1066
Fri Dec 09, 2011 9:12 pm
Forum: PHP
Topic: PHP Delete ...
Replies: 3
Views: 1334

Re: PHP Delete ...

Ah thank you so much! It makes perfect sense, and will certainly buff up my marks - I'll be sure to reference you and your website.

Thanks jacek :D
by Noso1066
Fri Dec 09, 2011 7:00 pm
Forum: Tutorials
Topic: PHP Tutorial: Blog (Including Commenting) [part 03] #Error#
Replies: 4
Views: 730

Re: PHP Tutorial: Blog (Including Commenting) [part 03] #Er

Thank you Jammi, this problem is solved.
by Noso1066
Fri Dec 09, 2011 6:59 pm
Forum: PHP
Topic: PHP Delete ...
Replies: 3
Views: 1334

PHP Delete ...

Just created my blog for a university assignment. Though I'm wondering how I would implement a delete function in the form of a button . i.e. " click a button to delete a specific blog entry ". The blog itself is connected to a database , but I'm not sure how to do so. The following code a...
by Noso1066
Tue Dec 06, 2011 10:42 pm
Forum: Tutorials
Topic: PHP Tutorial: Blog (Including Commenting) [part 03] #Error#
Replies: 4
Views: 730

Re: PHP Tutorial: Blog (Including Commenting) [part 03] #Er

That's great thanks - worked as stated although now I have a similar message about "line 8" but I cannot seem to find the syntax error, any thoughts?
by Noso1066
Tue Dec 06, 2011 9:44 pm
Forum: Tutorials
Topic: PHP Tutorial: Blog (Including Commenting) [part 03] #Error#
Replies: 4
Views: 730

PHP Tutorial: Blog (Including Commenting) [part 03] #Error#

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`Posts`.`postUser` AS `User`, DATE_FORMAT(`Posts`.`postDate`, '%d/%m/%y %H:%' at line 5 Can anyone help? [syntax=php]function getPosts(){ $sql = "SELECT `Posts`...