| | |
test after button clicked
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Apr 2009
Posts: 7
Reputation:
Solved Threads: 0
I use phpDesigner but I have no idea how i could use debugger when there's a (submit)button in the code and would like to test what happens when the button is clicked.
In this example, the debugger stops when it steps on the "Register" button.
How should i set it to test when it leaves the button?
In this example, the debugger stops when it steps on the "Register" button.
How should i set it to test when it leaves the button?
php Syntax (Toggle Plain Text)
<?php foreach($_POST as $field => $label) { if (!$_POST[$field]) { $warnings[$field] = "*"; } } ?> <FORM ACTION="proba.php" METHOD=POST> <TABLE BORDER=0> <TR><TD>* Required to fill</TD></TR> <TR> <TD>Your Name1</TD> <TD><INPUT TYPE=TEXT SIZE=30 NAME="name1" VALUE="<?php echo $_POST["name1"];?>"></TD> <TD><?php echo $warnings["name1"];?></TD> </TR> <TR> <TD>Your Name2</TD> <TD><INPUT TYPE=TEXT SIZE=30 NAME="name2" VALUE="<?php echo $_POST["name2"];?>"></TD> <TD><?php echo $warnings["name2"];?></TD> </TR> <TR> </TABLE> <INPUT TYPE=SUBMIT VALUE="Register"> </FORM>
Last edited by peter_budo; May 20th, 2009 at 12:02 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
![]() |
Similar Threads
- When a button is clicked to create a new window (C++)
- Remove textfield when button is clicked (JavaScript / DHTML / AJAX)
- How to check if a button was clicked ? (VB.NET)
- count how often a button is clicked python/tk (Python)
- display image when button clicked (Java)
- Get visual basic to bring up another form when a button is clicked (Visual Basic 4 / 5 / 6)
- Spelling Test using a button GUI environment..how do I create a brand new window? (Java)
Other Threads in the PHP Forum
- Previous Thread: php/mysql syntax to search for 3 user options
- Next Thread: Code not working
| Thread Tools | Search this Thread |
.htaccess action ajax apache api array auto beginner binary bounce broken cakephp checkbox class cms code cron curl database date display dynamic echo email error errorlog file files folder form format forms function functions google href htaccess html image include insert integration interactive ip java javascript joomla limit link login loop mail malfunctioning masterthesis menu mlm mod_rewrite multiple mysql nodes oop paypal pdf php popup problem query radio ram random recursion reference regex remote return script search server sessions sms soap source space sql syntax system table tutorial unset update upload url validation validator variable video web websitecontactform xml youtube





