Results 1 to 10 of 10

Thread: PHP

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Product of Science
    Join Date: Aug:2016
    Location:
    Posts: 294

    PHP

    PHP MySQL . , - ! ?

  2. #2
    Registered User odido's Avatar
    Join Date: Feb:2015
    Location: Bulgaria
    Posts: 529


    mysql_query("SET NAMES UTF8");
    .
    Last edited by odido; 13th April 2017 at 13:44.
    Lenovo R61i/8GB DDR2 800/T7700 2.4Ghz /Adata SSD 240GB

  3. #3
    Deleted User 4eRNoBiL's Avatar
    Join Date: Oct:2005
    Location:
    Posts: 739
    ! - . - . mysqli, : mysqli_set_charset('utf8'), . , , - , .

    , , . .
    Fujistu Lifebook E756 | Core i7-6500U / 400MHz-3.1GHz | 8 GB DDR4-2133 | Samsung PM871 / 256 GB SSD | 15" 1920x1080 | Manjaro Linux + kernel 4.19

  4. #4
    Product of Science
    Join Date: Aug:2016
    Location:
    Posts: 294
    Code:
    <!DOCTYPE html>
    <html>
      <head>
          <meta charset="utf-8">
    .

    :
    Code:
    mysql_query("SET NAMES UTF8");
    :
    Deprecated: mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead
    :
    Code:
    mysqli_set_charset($conn,"utf8");
    .
    phpMyAdmin 4 ....
    : Collation utf8_unicode_ci
    Last edited by c3p0; 13th April 2017 at 14:35.

  5. #5
    Registered User odido's Avatar
    Join Date: Feb:2015
    Location: Bulgaria
    Posts: 529
    mysqli_set_charset($conn,"utf8")

    $conn mysqli_connect() $conn = mysqli_connect(). php-, "", ...
    Last edited by odido; 13th April 2017 at 17:00.
    Lenovo R61i/8GB DDR2 800/T7700 2.4Ghz /Adata SSD 240GB

  6. #6
    Product of Science
    Join Date: Aug:2016
    Location:
    Posts: 294
    :
    Code:
    $conn = new mysqli();
    :
    Code:
    $conn = mysqli_connect();
    ,
    Last edited by c3p0; 13th April 2017 at 17:16.

  7. #7
    Registered User odido's Avatar
    Join Date: Feb:2015
    Location: Bulgaria
    Posts: 529
    Lenovo R61i/8GB DDR2 800/T7700 2.4Ghz /Adata SSD 240GB

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 |