SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Member
    Join Date
    Aug 2004
    Location
    Vancouver
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    About Learning PHP

    I know html C++ and python. I'm trying to learn PHP and use it for presenting stats and calculating them and such, and also manipulating with news, articles, etc.

    What do I need to know about PHP that would help me do this? Are there any good websites out there that provides a "user-friendlY' tutorial? Thx.

  2. #2
    SitePoint Guru
    Join Date
    Jul 2004
    Location
    Raleigh, NC
    Posts
    783
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i often recommend the 5 part "php 101" series on devshed (if you use it, go to the 'print' view so you don't have to deal with all of the ads). with your background you should fly through those with no problem. just post on this board if you get stuck

    if you need help setting up apache + php + mysql on windows, i recommend the tutorial on internetmaster.com

    oh yeah, and don't bother buying books. anything you could possibly want to know about php is on the web for free

  3. #3
    $this->toCD-R(LP); vinyl-junkie's Avatar
    Join Date
    Dec 2003
    Location
    Federal Way, Washington (USA)
    Posts
    1,524
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    W3schools has one of the best online tutorials for all kinds of languages, not just PHP.

    Hope this helps.
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more
    Showcase your music collection on the Web

  4. #4
    SitePoint Member
    Join Date
    Aug 2004
    Location
    mishawaka, in
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    A few other handy sites.

    The manual is extremely handy: PHP.net Manual in English
    Also a few other handy sites are: PHP Noise, PHP Freaks, and Onlamp's PHP Section.

    Hope these help!

  5. #5
    ********* Callithumpian silver trophy freakysid's Avatar
    Join Date
    Jun 2000
    Location
    Sydney, Australia
    Posts
    3,798
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you already know how to program in a C-syntax like langauage (which you do from C++) then as already stated, the manual will be your best friend. And with PHP, you will always do well searching around on google or on these forums for tid-bits, because PHP has many built-in functions that are easy short cuts to many things. Especially when it comes to its associative arrays.

  6. #6
    SitePoint Member
    Join Date
    Aug 2004
    Location
    Vancouver
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thx guys, one more question:

    Is it possible to convert an excel file into some sort of database inside PHP/MYSQL?

  7. #7
    $this->toCD-R(LP); vinyl-junkie's Avatar
    Join Date
    Dec 2003
    Location
    Federal Way, Washington (USA)
    Posts
    1,524
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Cris987
    Thx guys, one more question:

    Is it possible to convert an excel file into some sort of database inside PHP/MYSQL?
    I don't know about that, but there's a great conversion tool I found called CSV Importer. Just convert your Excel file to CSV format, and then use CSV Importer to convert that to MySQL. Works great!
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more
    Showcase your music collection on the Web

  8. #8
    ********* Callithumpian silver trophy freakysid's Avatar
    Join Date
    Jun 2000
    Location
    Sydney, Australia
    Posts
    3,798
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It is very easy to load CSV or tab-delimited text files into MySQL. See the manual in regards to LOAD DATA INFILE http://dev.mysql.com/doc/mysql/en/LOAD_DATA.html and note the section about the user needing FILE priviilages on the database.

    phpMyAdmin provides a nice user interface for manually uploading CSV or delimited text files into MySQL tables (note that the default file upload limit in PHP is 4MB).


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
  •