Search found 19 matches

by Skiddles2010
Thu Jul 08, 2010 9:55 am
Forum: PHP - Code
Topic: problem with login
Replies: 8
Views: 252

Re: problem with login

Post the code to the actual form that the user fills out i.e. <form>...</form>
by Skiddles2010
Thu Jul 08, 2010 9:11 am
Forum: PHP - Code
Topic: Problem with IF statement?
Replies: 4
Views: 151

Re: Problem with IF statement?

The problem i'm having is that if the results come back zero. The page doesn't appear.
What does appear? Completely blank page? Error message? What's the url of the resulting page?
by Skiddles2010
Thu Jul 08, 2010 8:57 am
Forum: PHP - Code
Topic: Too much code (help with elegant loop) ?
Replies: 2
Views: 171

Re: Too much code (help with elegant loop) ?

(it refers to the first of seven checkboxes representing the days of the week) This is a mess... what exactly is this bit of code trying to do and maybe we can rewrite it from the ground up. It doesn't look too complicated. I'd think that'd be a much better approach than trying to tweak and modify ...
by Skiddles2010
Thu Jul 08, 2010 8:49 am
Forum: PHP - Code
Topic: problem with login
Replies: 8
Views: 252

Re: problem with login

Well, in your first block of code, that one works because it's not utilizing the $_POST variables. Instead you're directly inputting "admin" and "pass", which is in the db table, so it's validated. In the second block of code, the only thing that changes is that you are now actua...