Please register or login. There are 0 registered and 1125 anonymous users currently online. Current bandwidth usage: 326.30 kbit/s December 18 - 09:29am EST 
Hardware Analysis
      
Forums Product Prices
  Contents 
 
 

  Latest Topics 
 

More >>
 

    
 
 

  You Are Here: 
 
/ Forums / Programming /
 

  PERL HELP WHILE LOOP 
 
 Author 
 Date Written 
 Tools 
Jeremy Scharlow Dec 15, 2008, 05:11am EST Reply - Quote - Report Abuse
Private Message - Add to Buddy List Replies: 2 - Views: 1393
I have a mysql table with five users. I am trying to print the table with a submit button next to each name. Once i have done this i want a user to be able to select the button and go to the next function were a identifiying variable will be used so i can write more code to change somthing in the original table. the code i have is as follows:

while (@row = $sth->fetchrow_array()){

print @row[1];
print "<input type='submit' name='action' value='verify'>";
print "<br><br>";

}

that will print out the names and the buttons, but how do i select the button making it store the name in a variable to be passed to the next routine.

Thanks in advance for any help.

Jeremy




}


Want to enjoy fewer advertisements and more features? Click here to become a Hardware Analysis registered user.
Jeremy Scharlow Dec 16, 2008, 05:37pm EST Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: PERL HELP WHILE LOOP
aww please someone lol

bossa ritchie Dec 16, 2008, 05:59pm EST Reply - Quote - Report Abuse
Private Message - Add to Buddy List  
>> Re: PERL HELP WHILE LOOP
you could try http://www.programmersheaven.com helped me out a few times when I was studying.


Write a Reply >>


 

    
 
 

  Topic Tools 
 
RSS UpdatesRSS Updates
 

  Related Articles 
 
 

  Newsletter 
 
A weekly newsletter featuring an editorial and a roundup of the latest articles, news and other interesting topics.

Please enter your email address below and click Subscribe.