Jump to content


Photo

Question of insert item in 'While'


  • Please log in to reply
1 reply to this topic

#1 mrwhiteboy

mrwhiteboy
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 03 March 2006 - 08:30 AM

Hi all, I need some help. THanks.

I have 2 data base, member and list.
I made a table show my member list, and they have own textbox for units and price.

eg.(index.php)

<form name="form1" method="post" action="modify.php">
<?
$query=mysql_query("select * from member");
while (list($no,$id)=mysql_fetch_rows($query))
{
echo "<tr><td>".$id;
echo "<td><input type=text name=price>";
echo "<td><input type=text name=units>";
}
echo "<tr><td><input type=submit name=submit>";
?>

then I want insert member, price and units into the 'list',
How to define price and unit set to each member?

Thanks you so much. I thing about this over 4 days but can't solve.


#2 apulmca2k4

apulmca2k4
  • Members
  • PipPip
  • Member
  • 19 posts
  • LocationIndia

Posted 29 September 2008 - 10:15 AM

your question is not clear.

Apul Gupta
apulmca2k4@gmail.com




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users