Search Results

Search found 3 results on 1 pages for 'user547995'.

Page 1/1 | 1 

  • mysql real escape string error

    - by user547995
    Code mysql_query("INSERT INTO Account(User, Pw, email) VALUES('mysql_real_escape_string($_POST[user])', '$pw','mysql_real_escape_string($_POST[email]) ) ") or die(mysql_error()); Error: 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 ''mysql_real_escape_string(123) )' at line 1 Please help

    Read the article

  • Problem with SharedPreferences

    - by user547995
    Code for restore: final SharedPreferences settings = getSharedPreferences("pref", 0); settings.getString("user", ""); settings.getString("pw", ""); Code for store: SharedPreferences.Editor editor = settings.edit(); editor.putString("user", etuser.getText().toString()); editor.putString("pw", etpw.getText().toString()); editor.commit(); This code don't work, and no error occur

    Read the article

  • Layout Drawer doesn't add new view in a new line

    - by user547995
    Hy!! If i want to add a textview and a textedit, both are in the same line I have a Linear Layout <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content"> <TextView android:text="@+id/TextView01" android:id="@+id/TextView01" android:layout_width="wrap_content" android:layout_height="wrap_content"></TextView> <EditText android:text="@+id/EditText01" android:id="@+id/EditText01" android:layout_width="wrap_content" android:layout_height="wrap_content"></EditText> </LinearLayout> What i have made wrong?

    Read the article

1