Open Side Menu Go to the Top
Register
PHP Missing Manual Q PHP Missing Manual Q

06-19-2013 , 10:37 AM
Hey all,

I'm learning PHP with the Missing Manual book and have downloaded the source files for the book here:

http://oreilly.com/missingmanuals/cds/phpmysqlmm/

Two problems with my chapter1/sayHello.html file:

1) Header and Footer don't display correctly (they have display: none applied to them and at no point do we modify the CSS to display normally). I should be able to just open sayHello.html and have the page render correctly...

2) When I enter my name and hit "submit" it sends me to a page of the HTML instead of running the PHP script and spitting out "Hello Mariogs, what's going on?" or w/e it's supposed to say.

Any idea what the deal is / what I should do to fix this?

Thanks for the help guys,
Mariogs
PHP Missing Manual Q Quote
06-20-2013 , 12:07 AM
no idea about #1 and all that but in order for php scripts to run they must be on a web server which is probably your problem. Look into wamp/xampp/lamp/mamp.
PHP Missing Manual Q Quote

      
m