[Solved] How To Register user Form with all dynamic fields name in php

// Logic One Using For Loop <?php error_reporting(0); $con=mysql_connect(‘localhost’,’root’,”) or die(‘Not Connect’); mysql_select_db(‘multiple’,$con); if (isset($_POST[“submit”])){ $field_name = $_POST[‘values’]; $values = “”; for ($i = 0; $i < sizeof($field_name); $i++) { $values .= “(‘”.$field_name[$i].”‘)”; if ($i != sizeof($field_name) – 1) { $values .= “, “; } } $sql = mysql_query(“INSERT INTO php_test VALUES (” . $values.”)”); … Read more

[Solved] HasNextInt() Infinite loop [closed]

Based on your comment A user can input multiple integers the amount is unknown. Ex: 3 4 5 1. There is a space inbetween them. All i want to do is read the integers and put it in a list while using two scanners. You are probably looking for: scanner which will read line from … Read more