iamnoguru Posted November 22, 2006 Share Posted November 22, 2006 i need the values of all the field relid term1id, and term2id how do i do that.function makearray($result,$k){$num1 = mysql_numrows($result);echo "<br/><br/>result3 rows: ".$num1."<br/>";$relid = array();$term1id = array();$term2id = array(); for($i=0;$i<$num1;$i++) { $relid[$k][$i]=mysql_result($result,$i,"relationship_type_id");$term1id[$k][$i]=mysql_result($result,$i,"term1_id");$term2id[$k][$i]=mysql_result($result,$i,"term2_id");}$array =array($relid,$term1id,$term2id);return $array;} Link to comment Share on other sites More sharing options...
jlhaslip Posted November 22, 2006 Share Posted November 22, 2006 Was this your thread?http://w3schools.invisionzone.com/index.ph...ost&p=48104Have you tried the answer given there? Why are you starting another thread about the same problem? Go back to the other thread, please. Makes it easier for everyone. Link to comment Share on other sites More sharing options...
aspnetguy Posted November 22, 2006 Share Posted November 22, 2006 duplicate thread. please only post your question once! Link to comment Share on other sites More sharing options...
Recommended Posts