<? view_content(78) ?>

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Abe

    <? view_content(78) ?>

    I hope someone can help....

    I'm new at all this, so please bear with me. 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?

    If so...why would they do that? Any reaon from a programming view point?
    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?

    Thanks everyone,

    Abe


  • Jeff

    #2
    Re: &lt;? view_content(78 ) ?&gt;

    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_conte nt". 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
    >
    >

    Comment

    • Twayne

      #3
      Re: &lt;? view_content(78 ) ?&gt;

      I hope someone can help....
      >
      I'm new at all this, so please bear with me. 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?
      >
      If so...why would they do that? Any reaon from a programming view
      point? 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?
      Thanks everyone,
      >
      Abe
      IMO you would have been a lot further ahead to have first asked the
      programmer. He might have given you a quick answer and you'd be back to
      work by now instead of trying to ferret everything out covertly. I
      think your programmer should have had first crack at answering your
      questions and then, if you weren't satisfied, you would have come here
      armed with much more powerful descriptions.
      So give the guy/gal a chance; you hired him, accepted the work and
      paid him at least partially, so now if there seem to be problems it's
      only ethical/reasonable to see what his response would be. It's a
      totally acceptable thing to do, especially since your'e a newbie at PHP.
      I'll never forget the guy who hired a chimney contractor to inspect
      his chimney next door to us in Chgo, and complained because the only
      "test" equipment the guy used was a mirror in the cleanout trap, for
      about 15 minutes, on a nice, bright sunny day. He paid the next guy who
      used a camera 8 times what he paid the first guy, to get the same
      identical report; the liner was falling apart. I'm only saying, it's
      reasonable to ask because the one who did the work knows what he did and
      why. THEN if his answers aren't good, you have something to work with.
      Actually, this sounds more like you didn't know what you wanted and
      he didn't give you a description of what he planned to do before he
      started - two mistakes, but only one probably avoidable.

      Just my 2 ยข

      Twayne


      Comment

      Working...