Results 1 to 6 of 6

Thread: MYSQL PHP

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: Dec:2007
    Location: BG
    Posts: 2

    MYSQL PHP



    $db1 = mysql_pconnect('localhost', '******' , '******');

    $createtbl = "CREATE TABLE `1234567890`............................ ..";

    $crtbl = mysql_query($createtbl,$db1);

    .

  2. #2
    Bombera's Avatar
    Join Date: Jul:2001
    Location: 4EVA
    Posts: 13,833
    ? , .
    EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
    Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|

  3. #3
    White awesomeness z0ne's Avatar
    Join Date: Feb:2002
    Location: o
    Posts: 13,331
    PHP Code:
    $dropTable = @mysql_query("DROP TABLE IF EXISTS `HWBG_Users`");
    $createTable = @mysql_query("CREATE TABLE `HWBG_Users` (`Id` INT(100) UNSIGNED NOT NULL AUTO_INCREMENT, `Username` VARCHAR(150) NOT NULL, `Password` VARCHAR(150) DEFAULT 0 NOT NULL, PRIMARY KEY (`Id`))");

    if(!
    $createTable) { echo "!"; } else { echo $createTable "   !"; } 
    ?

  4. #4
    Registered User fly's Avatar
    Join Date: Jun:2005
    Location:
    Posts: 803
    !

    PS:
    Code:
    <?php @mysql_select_db('database',$db1); ?>

  5. #5
    White awesomeness z0ne's Avatar
    Join Date: Feb:2002
    Location: o
    Posts: 13,331
    Quote Originally Posted by fly View Post
    !

    PS:
    Code:
    <?php @mysql_select_db('database',$db1); ?>
    .

  6. #6
    ****** koshera's Avatar
    Join Date: Sep:2003
    Location: Sammamish, WA, USA
    Posts: 1,507
    , .
    CREATE TABLE `1234567890`............................ ..;
    , . , , , .
    Thre are 10 kinds of people in this world - people who know binary, and those who don't.
    -, .

Posting Permissions

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

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |