English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I always thought that PHP was not a stand-alone language-- you HAD to use HTML to display the results of PHP scripts. Am I correct?

I'm going through this book calle "PHP and MySQL Web Development" and it came with a CD with source code. ALL of the source code, however, is PHP, with no HTML pages to access it.

I uploaded all of the code it gave me to my school web space:

http://arapaho.nsuok.edu/~sprinkle/bookmark

Of course, it's all PHP so you can't view the code, just the code's output. Does anyone have any suggestions for how I can utilize the code? Surely I don't just have to make up my own HTML...

2006-10-24 04:47:25 · 2 answers · asked by Anonymous in Computers & Internet Programming & Design

2 answers

I've made pages entirely in PHP. You can have the PHP output HTML for the browser. This is helpful for making the tags themselves dynamic. Judging from your Windows imlpementation of PHP, you might want to speak with your network administrators about your parse errors if those are indeed supposed to be valid codes. They might be able to help you, too. You appear to be a student, after all, and they work for a firm designed to teach people like us.

2006-10-24 05:04:22 · answer #1 · answered by kevinthenerd 3 · 0 0

You can run PHP on the command line; no HTML will be required in this case...

2006-10-24 14:26:53 · answer #2 · answered by NC 7 · 0 0

fedest.com, questions and answers