Results 1 to 3 of 3

Thread: tolong

  1. #1
    Join Date
    Aug 2003
    Location
    PJ
    Posts
    11
    Rep Power
    0

    tolong

    nak install php dalam webhosting macam mana?

    Saya ada database tapi saya tak tahu nak link php dgn dat abase.....

  2. #2
    Join Date
    Oct 2001
    Location
    Melbourne, AU
    Posts
    456
    Rep Power
    228
    PHP should already be installed if you got it from a webhosting company that offers PHP.

    To connect to a database use:
    PHP Code:
    $dbh=mysql_connect ("localhost""<USER NAME>""<PASSWORD>") or die ('I cannot connect to the database because: ' mysql_error());
    mysql_select_db ("<DATABASE NAME>"); 
    Before you can use your database, you will need to create tables. You can just execute the SQL file which has been given (if it was from a premade app) or use a tool such as PhpMyAdmin to create your tables.

  3. #3
    Join Date
    Jan 2003
    Location
    dreamland
    Posts
    240
    Rep Power
    208
    kalau dah sewa webhosting tu...
    nanti diorang ajar...
    so takyah risau sangat ok....
    :d
    ^_^ <== stay happy

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Tolong!Tolong!! Urgent giler nie...
    By Apit in forum Website Programming
    Replies: 4
    Last Post: 29-03-2008, 05:35 PM
  2. Mintak tolong everybody..!!
    By pjal_studio in forum Website Programming
    Replies: 31
    Last Post: 24-01-2004, 06:39 PM
  3. tolong lah ye...
    By nur_miesha in forum Other Webmaster-related Services and Promotion
    Replies: 0
    Last Post: 16-12-2003, 04:39 PM
  4. tolong....
    By fauseth82 in forum Website Programming
    Replies: 1
    Last Post: 04-12-2003, 03:32 PM
  5. Php Tak Dapat Run..tolong!!
    By therion in forum Website Programming
    Replies: 7
    Last Post: 21-11-2003, 04:24 PM

Posting Permissions

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

Search Engine Optimization by vBSEO 3.5.0 RC1 PL1

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