1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Help, I am a novice! PHP, HTML & Dreamweaver

Discussion in 'PHP' started by Oak, Nov 3, 2007.

  1. #1
    Thank you for taking time to read this.

    I have a small website that was built for me using PHP script. I dont intend on becoming a web designer, I just want to manage my site putting up a slide show and some simple pages etc. It seems like I am getting in to something over my head with configuring Windows for PHP.

    The site only has a few functions that requires PHP, the rest is no diferent from HTML.

    - I would like to know if the is a simple way of editing PHP script using DW

    - Is the a way of having the site run partly using PHP and part HTML?

    - What do I have to do to change from PHP to HTML?

    As I am sure you are aware I am no programmer and hope my questions are intelligable.

    Cheers and Happy Saturday night.
     
    Oak, Nov 3, 2007 IP
  2. sin0cide

    sin0cide Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    well first of all what is the site doing that it needs php anyways... php has to output to something the clients browser can understand so thats where html comes in. you can have php and html in a page but the server is going to parse the php and output the givin html for what its doing. if you want to get the just of it all go to w3schools.com they have a good beginner guide to most things... you might not be able to code it but atleast you will understand what its doing... and it doesn't take 2 years to read the whole section more like 2 days.
     
    sin0cide, Nov 3, 2007 IP
  3. Oak

    Oak Guest

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I think PHP is enableling a main page and an application form to have a corresponding time table, in sink with each other.

    As I would like to edit PHP pages using DW but can't, is it not possible to have some of my pages altogether free of PHP? while continuing as before with those that rely on PHP?

    Will check the link!
     
    Oak, Nov 3, 2007 IP
  4. sin0cide

    sin0cide Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    is dw dreamweaver? if so there are some inserts you can do but it wont walk you threw anything or make you understand what they mean.
    and yes you can have page php free as long as it not complex it would be best if you could show code or an example of what the page is doing.
     
    sin0cide, Nov 3, 2007 IP
  5. Oak

    Oak Guest

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yes Dreamweaver.
    Here is the web add

    www. capoeiracanal .co.uk
     
    Oak, Nov 4, 2007 IP
  6. e96

    e96 Active Member

    Messages:
    299
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    80
    #6
    yes, php works fine in Dreamweaver --if you have a server or something to parse the php-- and DW even has some syntax highlighting but there's no getting around the fact DW will not teach one/lead one through using PHP. also, even if you have dreamweaver, you still need something to parse the php-- you could download and install XAMPP which would give you Apache and PHP .
     
    e96, Nov 4, 2007 IP
  7. Oak

    Oak Guest

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I would like use php in Dreamweaver!! but does Apache and MySQL take a lot of time and knowledge to set up? I have down loaded both programmes but am still not able to get php working.
     
    Oak, Nov 4, 2007 IP
  8. it career

    it career Notable Member

    Messages:
    3,562
    Likes Received:
    155
    Best Answers:
    0
    Trophy Points:
    270
    #8
    You should start learning php from php.net and rest of the stuff you can pick up from w3schools.com
     
    it career, Nov 4, 2007 IP
  9. Oak

    Oak Guest

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Well I don't plan on becoming a web designer, I just want to manage a small site.
    If I can find out about setting up Apache and MYSQL on W3school.com I will have a look.
     
    Oak, Nov 4, 2007 IP
  10. AmanVR

    AmanVR Guest

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Being Brief

    HTML is more on the design rather then the Coding
    PHP However is a way to query the database

    So really if the file was PHP, the design part would still be HTML, php are only the bits which start with <? and end with ?>
     
    AmanVR, Nov 4, 2007 IP
  11. tayiper

    tayiper Active Member

    Messages:
    421
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    #11
    Well, why won't you use a normal text-editor (since PHP code is a plain text) for editing PHP files?? Like for instance Metapad or EditPad Lite or even Windows in-built Notepad for that matter ...


    tayiper
     
    tayiper, Nov 4, 2007 IP
  12. tayiper

    tayiper Active Member

    Messages:
    421
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    #12
    You know that I was actually asking about something similar (in particular about just changing the extension of "index.html" file to "index.php" without modifying it would work or not, of course, on a PHP enabled server, i.e. server that supports PHP); see the I need something basic explained about PHP thread that I opened here on DP forums recently ...


    Os as I wrote in my last post:


    tayiper
     
    tayiper, Nov 4, 2007 IP
  13. panama

    panama Peon

    Messages:
    630
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #13
    I recommend that you start at http://www.w3schools.com/. They will give you a basic overview of both HTML and php. If you do not know the purpose of both, and how they relate to each other, you can't possibly maintain the site you mentioned.

    You should study first:
    HTML: The basic markup language of a website used to display information. Once you understand the basics of how HTML works, then look at:
    PHP: Server side scripting, used to generate HTML dynamically from other sources such as a MySQL database, a collection of other php scripts, user input, etc.

    I would also recommend that you gain a basic overview of:
    CSS: Language used to format the info displayed by HTML (that could have been generated from your php!)

    Apache and MySQL are most likely running on your website's host, so there is no need to install them locally. (overviews and tuts are on w3schools.com).

    Hope this helps!
     
    panama, Nov 5, 2007 IP
  14. Oak

    Oak Guest

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Thanks to all have replied to my questions!!

    I have resolved my problem, The files read .php, but in fact my site is basically written in HTML and the PHP is very minimal, so I will use em editor to do this.

    The idea of setting up PHP locally is too much for me!!

    Good energy>
     
    Oak, Nov 5, 2007 IP
  15. Oak

    Oak Guest

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    How do remove this post??
     
    Oak, Nov 5, 2007 IP