Need to edge out the competition for your dream job? Train for certifications today.
This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.
<form name="form" action="2.php" method="post">
<input type="submit" name="submit" id="submit" value="save" /><br />
$sql="select * from tablename1 order by id";
while ($row=mysql_fetch_array($query, MYSQL_BOTH))
<input type="text" name="<?php echo "t".$row['id']; ?>" />
<a href="2.php?id=<?php echo $row['id']; ?>"><?php echo $row['name']; ?></a>
<br /><br />
$c[$_POST["t".$i]]=;// here i want to bring the name line wise so that they can be echoed ??
echo $c[$i]."<br>"; // echo in this fashion $a, $a and so on in the order wise
Open in new window
Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.
Have a better answer? Share it in a comment.
Please enter a first name
Please enter a last name
Must be at least 4 characters long.
Join and Comment
From novice to tech pro — start learning today.
Premium members can enroll in this course at no extra cost.