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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rhonda
Forum Newbie
Posts: 3
Joined: Tue Oct 21, 2003 5:50 pm

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

Post 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 :?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post 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.
rhonda
Forum Newbie
Posts: 3
Joined: Tue Oct 21, 2003 5:50 pm

Post by rhonda »

yes but when I open engine.php in dreamweaver there is nothing there, just a few little icons that say php.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

engine.php? is that a script included by products.php (the document that is requested)?
rhonda
Forum Newbie
Posts: 3
Joined: Tue Oct 21, 2003 5:50 pm

Post 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
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post 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 ;)
Unipus
Forum Contributor
Posts: 409
Joined: Tue Aug 26, 2003 2:06 pm
Location: Los Angeles, CA

Post 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.
fractalvibes
Forum Contributor
Posts: 335
Joined: Thu Sep 26, 2002 6:14 pm
Location: Waco, Texas

Post 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
Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Post 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.
fractalvibes
Forum Contributor
Posts: 335
Joined: Thu Sep 26, 2002 6:14 pm
Location: Waco, Texas

Post by fractalvibes »

Good Point! You need to be running some flavor of Apache or IIS.
Probably some others support it.

fv
Gen-ik
DevNet Resident
Posts: 1059
Joined: Mon Aug 12, 2002 7:08 pm
Location: London. UK.

Post by Gen-ik »

A wise man once said "Fly without wings and you will fall"...... nuff said.
Post Reply