How do I edit info in a php file?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello I have a php file (template), the only thing I see are codes, Ho do I
change to a design view so I can edit the info? Thank you
 
Alex said:
Hello I have a php file (template), the only thing I see are codes, Ho do
I
change to a design view so I can edit the info? Thank you

as far as i know.. you can't. The HTML part of the script is in the actual
PHP tags, so it won't show in a design view.

However, if some of it actually is HTML, here is what I have done.

Copy all the code, open a new page in FP, and paste it into the code.
SOmetimes this allows you to see some HTML. Then simply copy your changes
back.

There are some 3rd party programs that breaks up PHP code, and can display
it.(i think)

Jeff
 
You may not be able to see anything in design view to edit, depending on the
PHP that is on the page. There is such a thing as a "process" page, on
which there is no presentational markup at all. In addition, there is such
a thing as a page that determines which markup to write "on the fly" - and
again, such pages would not have any presentational markup to edit in Design
view. Can you paste the code from the page into a reply here so we can see
what you are working with?
 
Back
Top