Search found 12 matches

by php14user
Fri Apr 18, 2008 5:16 am
Forum: PHP - Code
Topic: Error Display
Replies: 6
Views: 221

Re: Error Display

Sure, just check if there is an error and echo a message. I am not sure what to do actually... When I open login page, table gets created as shown in the attachment of my first mail. The Last row is kept empty to fill the error message if invalid user tries to log in. I would like to display the er...
by php14user
Fri Apr 18, 2008 3:57 am
Forum: PHP - Code
Topic: Error Display
Replies: 6
Views: 221

Re: Error Display

aceconcepts wrote:Use an if statement to display and addition row and colspan
But let's say the row is already there and I just need to display the error inside the first cell of 3rd Row.
Is it possible?

Thanks,
by php14user
Fri Apr 18, 2008 2:15 am
Forum: PHP - Code
Topic: Error Display
Replies: 6
Views: 221

Error Display

Hi, There is a Login Page/form which when submitted invokes a php file "get_valid_user.php". If the user is not valid then "get_valid_user.php" echoes the message that "Invalid/Incorrect Username or Password". My requirement is to display this error message inside a par...
by php14user
Wed Apr 16, 2008 5:46 am
Forum: PHP - Code
Topic: Opening another page
Replies: 3
Views: 91

Re: Opening another page

Hi, Could you please review my code shown above? (Please assume that I am using "header('Location')" method in else part) Please let me know what is causing below error: Warning: Cannot modify header information - headers already sent by (output started at /Library/WebServer/Documents/Site...
by php14user
Tue Apr 15, 2008 11:30 pm
Forum: PHP - Code
Topic: Opening another page
Replies: 3
Views: 91

Opening another page

Hi, I have a login page and when I submit the login form, login page reloads and include a php file "get_valid_user.php" that has the code for checking whether user exists or not. Now when user does not exists, "get_valid_user.php" echoes the message on login page that user does ...
by php14user
Tue Apr 15, 2008 7:57 am
Forum: PHP - Code
Topic: Login Validation
Replies: 3
Views: 125

Re: Login Validation

Somebody please help!!

Thanks.
by php14user
Tue Apr 15, 2008 4:44 am
Forum: PHP - Code
Topic: Login Validation
Replies: 3
Views: 125

Re: Login Validation

Hi, Thanks for the suggestion. It would be helpful if you let me know how do we display another page if there is a valid user? In my home page I have included "get_valid_user.php" that checks the user validity upon submission of login form (that reloads the home page). If user is not valid...
by php14user
Mon Apr 14, 2008 12:12 am
Forum: PHP - Code
Topic: Login Validation
Replies: 3
Views: 125

Login Validation

Hi, I have a login section in my home page. When I try to login using valid credentials and click on "Submit" button, it opens a new page with user information. Now I would like to validate whether user is valid or not. So What I would like to do is, when somebody tries to login using inva...
by php14user
Wed Apr 09, 2008 9:53 am
Forum: PHP - Code
Topic: Div handling using PHP
Replies: 2
Views: 363

Re: Div handling using PHP

Thanks alot aceconcepts.
by php14user
Wed Apr 09, 2008 9:39 am
Forum: PHP - Code
Topic: Div handling using PHP
Replies: 2
Views: 363

Div handling using PHP

Hi,

Can we use PHP to make a particular "Div" visible or invisible by clicking on a link?

Thanks
by php14user
Tue Apr 08, 2008 11:19 pm
Forum: PHP - Code
Topic: No Result found
Replies: 2
Views: 76

Re: No Result found

Jcart,

Thanks for your prompt reply!
by php14user
Tue Apr 08, 2008 11:08 pm
Forum: PHP - Code
Topic: No Result found
Replies: 2
Views: 76

No Result found

Hi All,

I need to verify whether "select" statement has returned any result or not.
If No Result Found then I would like to excute another piece of code.

Please let me know how to check whether "select" statement has retunred any result or not.

Thanks