Page 1 of 1

editing a page in php when you don't know php

Posted: Tue Oct 21, 2003 5:50 pm
by rhonda
Help I started a new job and was given the responsiblity of editing the company website, it is done in php and I don't know php, I know html, a little Javascript, Flash actionscript, Dreamweaver etc. but I don't know anything about php. I need to update this page http://www.nenastran.com/products.php?id=HKJLiTet and nothing is working, what the heck is ?id=HKJLiTet ?
Any help would be appreciated :?

Posted: Tue Oct 21, 2003 5:57 pm
by volka
you better start by reading the manual. The first few chapters are a decent introduction to php. http://www.php.net/manual/

id=HKJLiTet seems to identify the product NE/Nastran Engine.

Posted: Tue Oct 21, 2003 6:03 pm
by rhonda
yes but when I open engine.php in dreamweaver there is nothing there, just a few little icons that say php.

Posted: Tue Oct 21, 2003 6:05 pm
by volka
engine.php? is that a script included by products.php (the document that is requested)?

Posted: Tue Oct 21, 2003 6:13 pm
by rhonda
when I open engine.php, which is in two places for some unknown reason, every thing I need to change is there but when I make the changes and upload nothing changes, when I open the product page which then engine.php comes out of it is the one with nothing there just a few php little icony things

Posted: Tue Oct 21, 2003 7:21 pm
by volka
if I request http://www.nenastran.com/engine.php directly I get a complete page, almost the same as http://www.nenastran.com/products.php?id=HKJLiTet
Sorry I'm certainly missing the point. If this is a dreamweaver-question hopefully someone else can help you ;)

Posted: Tue Oct 21, 2003 7:50 pm
by Unipus
Sounds like you're in Design View in Dreamweaver, which obviously isn't often of much use when working with PHP. Go to View -> Code View. Live the rich good life.

I don't think I understand this uploading problem you're having.

Posted: Tue Oct 21, 2003 10:04 pm
by fractalvibes
Get a hold of a good text editor like EditPlus and visit your local bookstore and find a good intro book on PHP. That is the key.

And ask questions here.

fv

Posted: Tue Oct 21, 2003 10:18 pm
by Gen-ik
Don't forget that PHP will not run on your computer unless it's running as a server. PHP will only do what it does on a server... no where else.

Posted: Tue Oct 21, 2003 10:34 pm
by fractalvibes
Good Point! You need to be running some flavor of Apache or IIS.
Probably some others support it.

fv

Posted: Tue Oct 21, 2003 10:47 pm
by Gen-ik
A wise man once said "Fly without wings and you will fall"...... nuff said.