- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
7 Posted Topics
i want to create a form wizard, but i am not getting my forms one after another in one page. i am using `<input type="hidden" name="step" value="1" />`, `<input type="hidden" name="step" value="2" />` to get my forms step by step, when i forwarded from up_account.php to update_step1.php, then my form … | |
i am using http://bojanmauser.from.hr/bvalidator/ this script to validate my form, now i am stack with a problem, want to set max file limit for image file upload. but i am unsuccessful everytime, can anybody help me to get rid of this, advance thanx to all, who is reading this discussion … | |
Advance thanx to all, i am having problem with my multistep form when validations happened. please help/suggest any ideas to solve it. > image uploaded properly with condition but do not show messages and then go next step $filename = $_FILES['photo']['name']; // get extension of the image $ext = strtolower(substr(strrchr($filename, … | |
suppose i have a account in a website, and i want to see the users who are members of this website, and my name is also listed there, but i want to remove my name from there, from my account, i can see others name without mine, and this will … ![]() | |
I want to create a form wizerd or a multi step form, there is a continue button to step forward, `<button type="submit" name="continue" onclick="return validateNow();">Continue</button>` and a previus button to step backward, `<button type="submit" name="continue" value="< Back">Previous</button>`, button type must be in submit format, because i have php in this … | |
**Here is my code below:** <?php if(isset($_POST['create'])) { // db connection $dbHost = "localhost"; $dbUser = "root"; $dbPass = ""; $dbName = "emanage"; $conn = mysql_connect($dbHost, $dbUser, $dbPass); if(!$conn){ die(mysql_error()); } mysql_select_db($dbName, $conn) or die(mysql_error()); // prevent mysql injection foreach ($_POST as $key => $value) { $_POST[$key] = mysql_real_escape_string(strip_tags($value)); } … | |
<?php $dbHost = "localhost"; $dbUser = "root"; $dbPass = ""; $dbName = "test"; $conn = mysql_connect($dbHost, $dbUser, $dbPass); if(!$conn){ die(mysql_error()); } mysql_select_db($dbName, $conn) or die(mysql_error()); if(isset($_POST['submit'])){ $field = $_POST['field']; } if(isset($_POST['submit2'])){ $field2 = $_POST['field2']; } if(isset($_POST['submit3'])){ $field3 = $_POST['field3']; } ?> <?php if(!isset($_POST['submit']) || isset($_POST['submit']) != "true"){ ?> <form id="create" … |
The End.