for example in the formA.php
####formA.php#########
<form name=form1 action=formA.php method=post>
<input type=text name=var value="" />
<input type='submit' name='submit' value='submit' />
</form>
###################
i want to build a php file named B.php
once i visit B.php , it will complete the form ( from formA.php) automatically( for example make var='hello').
i know one way that is to use javascript like this :
document.all.form1.submit();
but i know there are some php function can help me complete the form (and send it) on the sever side?
btw. my teacher said the book PHP AND MYSQL WEB DEVELOPMENT is good, and i'm reading it, but i don't think is good, i even can't finish my homework with this book.
so which php book do you think is good?