Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.