Welcome our webmaster and SEO forum
Please enjoy the forum, contribute what you can, and wind up the Moderators!
Results 1 to 5 of 5

Thread: Basic PHP/MySQL website

  1. #1
    lala is offline Senior Member
    Join Date
    Feb 2007
    Posts
    145

    Default Basic PHP/MySQL website

    Kind of have the tiniest bit of a clue about PHP now as I read the book "PHP and MySQL for Dummies" to get a basic understanding...

    Would like to build up my knowledge and develop a very basic website using PHP and MySQL. The data for the navigation bars, heading and content should take the data from a PHP script accessing the MySQL database.

    As far as displaying the content is concerned it seems not too daunting, but to have a code that recognises which navigation element the user clicks and then to display the right heading and content that is going a bit far for me. It would be so cool if someone at least could let me know if that is a lot to ask for (willing to put some hard work in )...

    lala

  2. #2
    ForumJoiner is offline Member
    Join Date
    Mar 2007
    Posts
    50

    Default

    It depends of how complex you want the site to be.
    However, I thinks a starting point will be searching Google for
    breadcrumbs php

  3. #3
    lala is offline Senior Member
    Join Date
    Feb 2007
    Posts
    145

    Default

    Cheers.

    Will have a browse. But seems I did not clearly state what I am after (happens very often to a German like me;-))...

    With navigation I simply meant, that you have a navigation bar with home, about, service, contact for example. And this one should not be hardcoded, but brought in through PHP showing highlighted the item (home for example) that the user clicked, so that he/she knows where he/she is. I thought it might be an idea to do this somehow with PHP (am I silly here:cry: )...

    lala

  4. #4
    ForumJoiner is offline Member
    Join Date
    Mar 2007
    Posts
    50

    Default

    Are you sure what you want is not called "breadcrumbs"? After you'll run a Google search you'll might see that's exactly what you described.

  5. #5
    lala is offline Senior Member
    Join Date
    Feb 2007
    Posts
    145

    Default

    You are right: I will find exactly what you said when I enter the term in Google. But this is like a path to the page you are currently on as such...

    I meant: Lets say you have a website with 4 sections only, which has a navigation bar at the top. Instead of hardcoding those links: can't you generate it through PHP, so whenever you add some more sections you do it in the SQL database instead of in the HTML file? Or even better is there a way to have a text file with a caption (which represents the heading) and some text, which can be used to get the mentioned 4 navigation bar items, the headings and the text for all of the four sections accordingly?

    That would be marvellous

    lala

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Basic vB admin task
    By temi in forum Forum Software
    Replies: 10
    Last Post: 12-18-2007, 07:05 AM
  2. Basic SEO steps for Word Press
    By Bagi Zoltán in forum Blogs and blogging
    Replies: 9
    Last Post: 06-28-2007, 08:34 AM
  3. SQL ERROR: MySQL connection failed (velnet.driver.mysql) not persistent
    By Piotrek in forum Boss Cart Installation Help
    Replies: 5
    Last Post: 06-02-2006, 08:59 PM
  4. Basic ways to speed up your website.
    By Rifat in forum General Webmaster Talk
    Replies: 6
    Last Post: 04-06-2006, 06:29 AM
  5. BASIC SANDBOXING OF PROGRAMS
    By Darksat in forum Computer and Software Forum
    Replies: 1
    Last Post: 12-15-2004, 08:54 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124