Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

PHP-Multiple Update in msql using php

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Postby Joan Garnet » Tue Feb 04, 2003 12:09 pm

Try this code:
Code: Select all
for($a=0; $a < $tempcount; $a++)
   $test="select * from employlist where employlist.fname='".$temphandle[$a]."'";
         for($cnt=0;$cnt < $hcnttemp; $cnt++){
      $Query = "Update employlist set employlist.projects='". $tempvalue."' where (employlist.fname='".$temphandle[$a]."')";
         print "did not save";
      $display = null;
User avatar
Joan Garnet
Posts: 387
Joined: Sat Aug 03, 2002 2:56 am
Location: Mars

Return to PHP coding => General

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.