You have an error in your SQL syntax

Discussion in 'Desain Web dan Programming' started by Indodata, 1 Jun 2015.

Thread Status:
Not open for further replies.
  1. Indodata

    Indodata Apprentice 1.0

    Messages:
    325
    Likes Received:
    35
    Trophy Points:
    28
    Selamat siang,

    mau tanya apa ada yang mengalami error ini?
    Code:
    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's_what_to_do?'' at line 1
    awalnya baik-baik aja, namun tiba2 webuzo update system secara otomatis dan script saya tidak jalan
    jika pernah mengalami, bagaimana cara membenarkannya.
     
  2. mustafaramadhan

    mustafaramadhan Hosting Guru

    Messages:
    3,237
    Likes Received:
    857
    Trophy Points:
    113
    Biasanya karena memang ada yang salah atau perintah 'insert' tapi sudah ada data.
     
  3. sentabi

    sentabi Expert 1.0

    Messages:
    681
    Likes Received:
    35
    Trophy Points:
    28
    coba copas disini query yang dijalankan
     
  4. Indodata

    Indodata Apprentice 1.0

    Messages:
    325
    Likes Received:
    35
    Trophy Points:
    28
    Code:
    $query = "select * from admin where email = '$email'";
    $query = "UPDATE admin SET password  = '$password' where email = '$email'";
    
     
  5. jr-webhost

    jr-webhost Apprentice 2.0

    Messages:
    448
    Likes Received:
    2
    Trophy Points:
    18
    cek ver MySQL sebelum dan sesudah diupdate
     
  6. hendranata

    hendranata Hosting Guru

    Messages:
    1,118
    Likes Received:
    85
    Trophy Points:
    48
    iya kayaknya gara2 mysql nya update versi.. atau php versinya berubah..
     
  7. sentabi

    sentabi Expert 1.0

    Messages:
    681
    Likes Received:
    35
    Trophy Points:
    28
    kalo script diatas udah bener sih, tapi ini dimana
    s_what_to_do? ?
     
  8. junior riau

    junior riau Hosting Guru Web Hosting

    Messages:
    3,229
    Likes Received:
    515
    Trophy Points:
    113
    $email $password itu datanya seperti apa? coba php scrip t nya mana
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...