vytas Posted January 1, 2007 Share Posted January 1, 2007 I am new to PHP but i want to learn it.But i don't come any further then the instalation.I clicked on all downloads . and downloaded them all.But then what how do i insert a PHP script into one of my files ??? Link to comment Share on other sites More sharing options...
MrAdam Posted January 1, 2007 Share Posted January 1, 2007 if it's installed correctly, you should just use the normal way to insert the php scripts ( http://www.w3schools.com/php ), and then access it on your computer by typing into the browser address:http://localhost/myfile.php Link to comment Share on other sites More sharing options...
vytas Posted January 1, 2007 Author Share Posted January 1, 2007 So ive i put a PHP script in my html file do i need to save it as .php or .html Link to comment Share on other sites More sharing options...
jlhaslip Posted January 1, 2007 Share Posted January 1, 2007 Save it as a php file. Make certain that the server is running and open the file in the Browser using an URL similar to above.Good Luck. Link to comment Share on other sites More sharing options...
vytas Posted January 1, 2007 Author Share Posted January 1, 2007 I am having a problem with the apache server and what is it for ??Ive i download it i get to a page with all sorts of fileWich one must i select ? Link to comment Share on other sites More sharing options...
vytas Posted January 1, 2007 Author Share Posted January 1, 2007 Ive i want to start Apache i get an error message saying:syntax error on line 133 C:/program files/apache......Server admin takes one argument,The e-mail adres of the server administrator Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now