|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
PHP Inline on godadddy
I have PHP code Inline with my html on a page hosted on godadddy. The php is apparently being ignored. Is this a problem on their end, or mine?
Sample: [PHPNET]<?php echo "Votes so far: 0"; ?>[/PHPNET] |
|
#2
|
|||
|
|||
|
1. Use PHP tags, not PHPNET tags.
2. Is the page saved with a .php extension? The web server has to know, when processing the page, that there is php to be processed within the page. This usually is indicated by the extension of the page. 3. Are you sure GoDaddy supports PHP for your account? |
|
#3
|
|||
|
|||
|
Rename to index.php
I renamed index.html to index.php - using wamp, I just get the error Internet Explorer cannot display the webpage. I do indeed have php installed locally. Is there another way to include php code into html besides using php itself?
|
|
#4
|
|||
|
|||
|
Cancel that
Wamp just didn't restart on my last reboot. Stay tuned.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > PHP Development > PHP Inline on godadddy |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|