Re: <? view_content(78) ?>



Abe wrote:
I hope someone can help....

I'm new at all this, so please bear with me.

OK. I'm a php newbie so I'll try to help.

I created a website and did
this all in php using dreamweaver. I later hired a programmer to connect some forms and reports to an sql database. I later had him upload all the files to the server.

Now, I need to be able to go in and edit some of the content - not touching the database. When i download the files from the server and open them again in Dreamweaver, all the content within the body tags seem to be replaced with something like:

<? view_content(78) ?> -each php page will have a different number - this one happens to be 78.

Does this mean that the programmer took all my content out and put that into the database as well?

It's somewhere. Not necessarily in a database.

Look for that function "view_content". It may be in an included file. Then you'll have a clue where your content is.

If so...why would they do that? Any reaon from a programming view point?

Well if everything between the body tags is gone, then it is awkward way of working. If only the editable part of the page, then that could be some Content Management System.

Or just making the pages load faster? Or making it impossible for me to edit content so I need to re-hire him each time I need changes?

Have you tried asking him.

Jeff

Thanks everyone,

Abe


.



Relevant Pages

  • Re:
    ... Abe 提到: ... this all in php using dreamweaver. ... some forms and reports to an sql database. ... Does this mean that the programmer took all my content out and put that into ...
    (alt.php)
  • Re: Best way to point to different linked tables?
    ... be abe to link to different tables at runtime. ... >>I have an application with a separate backend database. ...
    (microsoft.public.access.gettingstarted)
  • Re: One more (maybe stupid) database question
    ... AlwaysShowEditor just automatically enables Edit when a record is selected, ... This makes sense for a database with a single file, ... database that you can run queries against. ... of TechIDs, for instance, but I write updates directly to the tables. ...
    (comp.lang.pascal.delphi.misc)
  • Re: Can a lone computer have Access db problems?
    ... His current problem was that he was not able to edit the data ... nor was his permissions changed). ... certain computers to misbehave). ... When you say he is "authorized", that sounds as if the database is ...
    (comp.databases.ms-access)
  • Re: Putting database on a network drive
    ... I have built my 1st database and it is ready to go on a shared network ... You can apply user level security to an mdb file. ... the database but only let myself edit the database. ... search through the form that opens but then have a password for me or ...
    (comp.databases.ms-access)