Hi, I have a form in one of my website (www.example.com). In that form, there's 2 fields, one is called Name, other called Email. I input the 2 fields and clicked on submit. I want the data to be stored in a database under another website (www.go.com) instead of www.example.com. How do i do this? Advice appreciated. Thanks.
Databases aren't stored under websites. All you need is a login and the username/password for the target database to insert into it.
or use readfile for sending the information to the other server by sending it as paramters example: $null = @readfile("http://www.yourdomain.com/save.php?name=" . urlencode($_POST['name']) . "&email=" . urlencode($_POST['email']));
from cpanel of other site give db access to the IP of of your first site Use in the connection the name of other site as server instead of local host Regards Alex