Jump to content

sinus_

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

sinus_'s Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. oh made a mistake above, use $_GET['target'] instead of the $_POST['target'] ... too lazy to edit the post
  2. IMHO, a good design eg: database design is important... you need to have pages like: Insert Content, Delete Conten, and Edit Content... then you have to have a navigation/links to lead you to those pages that have just placed in your db... like for example, imo, the simplest way to do a links is: http://www.yoursite.com/index.php?target=page_to_load OR http://www.yoursite.com/index.php?target=about_us in your database, it would look something like this: Unique_Content_Name Content_of_page about_us blahblahblah.... what it does is when you load the page, you can use $_POST['target'] in an SQL query... you do a seach in your database using $_POST['target'] as your basis... the sql returns the row when it has found the $target... when u have the row, you can display Conten_of_page... hopes that makes sense... also, there are lots of tutorials out there... you should look up tutorials such as "Inserting data to a database" tutorials... or you could get a good book... at least thats what i think and based on the little experience that i have... i am after all a newbie too
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.