HTML and JavaScript website to turn into PHP and mySQL

Discussion in 'PHP' started by fapa, Mar 30, 2010.

  1. #1
    Hey guys

    Im a beginner when it comes to php so i was hoping someone can help me out pls! :confused:

    I want to create an online shop that stocks goods. When a customer purchases an item, the stock count automatically adjusts to the quanitity ordred. The customer is sent to a shopping cart and the purchase is made nice and easy.

    I understand the best langauge to create such a website is php and mysql, however does this mean i have to create the WHOLE website in php or can i adapt my excisting website (html and javascript) to add a database to it? pls excuse my ignorance when it comes to php! :p

    ANY HELP will be VERY helpful! thanks!!
     
    fapa, Mar 30, 2010 IP
  2. skywebsol

    skywebsol Well-Known Member

    Messages:
    161
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #2
    yes you can adapt you existing site in php for html you can divide your html code in three parts e.g header.php, main.php, footer.php like that.
     
    skywebsol, Mar 30, 2010 IP
  3. nimonogi

    nimonogi Active Member

    Messages:
    398
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    80
    #3
    I will suggestion moving into a shopping cart script like oscommerce, zent cart...
    It may need some time to it, but after that you will be able to easily add/remove extensions like shipping fee calculator and more.
    With a shopping cart script you will have the stock control build-in and several other functions that may prove handy.
    You can also find a theme you like and have the filling of your current website.
     
    nimonogi, Mar 30, 2010 IP