| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Regular | PhP question Hey guys, I have a question, that is probably sooo simple, yet I cannot figure it out. Here's my question, why won't this code work PHP Code: -CP I knew it was going to be simple, I figured it out, my bad to anyone that has/had tried to help me, I put require, instead of include LOL -CP Hey guys, since I figured out that problem, guess what? I have another. I need to make it so that way if they do not fill out all of the fields, it says something like error: all fields not complete. -CP |
| |
| | #2 (permalink) | |
| NamePros Regular | Quote:
PHP Code:
__________________ -Beaver6813.com V5 Soon! | |
| |
| | #3 (permalink) | |
| Stud Sausage | Quote:
The best way is to check the string length using strlen. PHP Code: | |
| |
| | #4 (permalink) |
| NamePros Regular | None of the field values should be 0 anyway. Unless someones first name, last name, date of birth, gender or whatever is 0. And the password should definately not be 0. So in a way it checks that as well :P
__________________ -Beaver6813.com V5 Soon! |
| |
| | #5 (permalink) | |
| Stud Sausage | Quote:
Matt | |
| |
| | #6 (permalink) | ||
| NamePros Regular | Quote:
This conversation tells the user otherwise Ill mark this as resolved now
__________________ -Beaver6813.com V5 Soon! | ||
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |