Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Mar 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Internet Explorer upload database to webhost

    I dont know how to upload database in my localhost to webhost . I only know to backup database into a sql file , and then upload to phpMyAdmin in webhost . Can i do it by PHP?
    And can i use data from Excel file to insert into my database ???
    Thx

  • #2
    New Coder
    Join Date
    Jan 2007
    Posts
    20
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Using phpMyadmin or using ur cpanel (mysql databases).

  • #3
    New to the CF scene
    Join Date
    Mar 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ok , i am using phpMyAdmin but how to upload database to my hosting
    Ex :
    I type an infomation to a field. And then , click submit , it will insert this infomation to database in localhost AND SEND THIS DATA TO MY HOSTING

    Code:
    $value_1  = $_POST['data_1'];
    $value_2  = $_POST['data_2'];
    $query = "INSERT INTO mytable(data_1,data_2)VALUES('$values_1','$values_2')";
    $sql    = @mysql_query($query); // INSERT IT TO MY DATABASE In locahost
    //...And how to SEND IT TO MY HOSTING Ex :http://mywebsite.com
    Note : SEND it To my hosting , NOT UPLOAD it to my hosting
    Thx


  •  

    Posting Permissions

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