So..the first error is here:
$num=mysql_numrows($result);
is
$num=mysql_num_rows($result);
then:
probabily u have used a counter to store the record and i see the maybe is the first field? right? then if u have used an auto-increments attribute to this field u do not have to insert in the query like this:
INSERT INTO names VALUES ('','$name','$meaning','$gender','$origin','$ratin
gs')";
but like this:
INSERT INTO names VALUES ('$name','$meaning','$gender','$origin','$ratin
gs')";
if u have not used the counter maybe u are making a mistake......
the a fast way to fetch the recordset is this:
while( ($row=mysql_fetch_array($result)) != NULL )
{
echo $row['name'];
echo $row['......etc...];
}
bye