Jump to content

NEED HELP WITH START UP! DESPERATLY


Recommended Posts

I've been trying to make sens of php for weeks now and I can't get anyware.

 

1--- First, I tried to run the following script on my server but notting happens

 

<?

phpinfo();

?>

 

My service provider says that php is installed, but instead of getting the info on the php programme I just get a print out of my code.

 

http://accesautocredit.com/phpinfo.php

 

2-  I tried installing PHP 5 and MySQL on my home computer to practice my scripts. I can see they are installed but still I can't execute php. How can I learn anything if I can't see what my script is doing

 

 

thanks!....

 

PS:I really need to get my work done. Please help me get started.

Link to comment
https://forums.phpfreaks.com/topic/74208-need-help-with-start-up-desperatly/
Share on other sites

Use the full php tags (<?php ?>) and not shorthand tags (<? ?>)

 

For your second script how are you running your scripts? Did you install a webserver too, such as Apache and have configured  Apache with PHP? If you have not installed a webserver you will have to in order to run your scripts.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.