User Profile
Collapse
Profile Sidebar
Collapse
priya555
Last Activity: May 9 '16, 12:34 PM
Joined: Apr 30 '16
Location:
-
priya555 replied to how Do I Insert multiple values of Checkbox & textbox corresponding to it in databasein PHPokk.thank you Dormilich...... .... -
priya555 replied to how Do I Insert multiple values of Checkbox & textbox corresponding to it in databasein PHP@Dormilich thanks for reply..i am new in PHP.so dont know about PDO...please tell me your suggestion in (mysqli) so it is helpfull me to understand..how i can write the insert query.??
means the id field auto-increment and the last_id field is need to repeated.so tell me that..Leave a comment:
-
priya555 replied to how Do I Insert multiple values of Checkbox & textbox corresponding to it in databasein PHPi am having multiple checkboxes that are coming from database and i have given a field(textbox) with every checkbox...now suppose 10 checkboxes are coming from database..now i want to insert values in database only of those checkboxes which are checked along with their textbox values.in textbox user insert the quantity.when i click on submit button the checkbox values are getting inserted right but the corresponding textbox values are not getting...Leave a comment:
-
priya555 replied to how Do I Insert multiple values of Checkbox & textbox corresponding to it in databasein PHP@Dormilich ya the name attribute of textbox is an array..i want to insert multiple textbox values into databaseLeave a comment:
-
priya555 started a topic how Do I Insert multiple values of Checkbox & textbox corresponding to it in databasein PHPhow Do I Insert multiple values of Checkbox & textbox corresponding to it in database
Code:<?php include("database.php"); $query2="select prodcode,prodname,id from product"; $result2=mysqli_query($con,$query2); echo"<table border='2' align='center' cellpadding='0' cellspacing='0' style='width:50%'>"; echo"<tr>"; echo"<thead>"; echo"<th>"."ProductCode"."</th>";
No activity results to display
Show More
Leave a comment: