no, there not separate..
the html is called by the php with include..
i know there is a way round it without the ajax as ajax hasn't been around all that long yet this has
i have a php file with a username in it as a varible
the php file calls the html with
include( "sendmessage.html" );
and the username field that comes with the html file has a field in it for the username
and i want the username taking from the variable and adding to the username field in the html that is included
__________________
mysql_connect("localhost", "brain", "sharon") or die(mysql_error());
mysql error: brain doesn't exist!
|