php - value from one table and inserted to another in the same database? -


I deleted it. I found myself a solution, no answer required

thanks

If tables-1 and table-2 are different, you should be able to do this in a statement:

/ P>

  Include in table-2 (regtime, person, catagog, position, location, rank) Now select (), rank with person, catagog, position, location, table-1, where regtime = DATE (now)) Orders by rank ASC LIMIT 1  

If you If there are other problems, then insert some bits in your diagnostic output, so that you can see which branch is executed and dump the content of the $ line you should also check mysql_query and the resultant Any errors will appear


Comments