Click to See Complete Forum and Search --> : pause with choice


kproc
08-01-2006, 08:29 PM
hi

I'm useing the below code to test if a person is trying to double enter data. if the data is found I want want to give the user the option to link the information to their profile.

who do I create the link I need to add the new users information to the table master. the users user_id needs to add to column user_id and the child_id found needs to be added to column child_id



$sql_find_child = mysql_query ("select * FROM children, master
WHERE children.child_id = master.children_id") or die (mysql_error());

$find_child = mysql_num_rows($sql_find_child);

if(($find_child > 0))

echo 'Its worked';


exit();