Date: 12/31/06 (PHP Community) Keywords: php, database, java I don't know whether if this is a PHP or Javascript question, or both? //below is a while loop to generate table rows and increment in values (of the name [textarea1,2,3 and so on]) $number_t=1; $number_c=1; $value_c=1; // Get each row of data on each iteration until there are no more rows while($row = mysql_fetch_array($result)){ echo " echo " "; | echo $row['ph_name']; echo " "; | echo $row['text']; echo " "; | echo "echo $number_t; echo "'onBlur='check(this)'>"; //this part is for a Javascript function that checks the checkbox when textarea is filled in echo " "; | echo "echo "name='cbox"; echo $number_c; echo "' value='"; echo $value_c; echo "' '>"; echo " $number_t++; $number_c++; $value_c++; } ?> *this is kind of a followup from my previous question
|