public void onClick(View v) { String user_name = username.getText().toString().trim(); String pass_word = password.getText().toString().trim(); String re_pass_word = re_password.getText().toString().trim(); String first_name =firstname.getText().toString().trim(); String last_name = lastname.getText().toString().trim(); if(user_name.length()==0 ||pass_word.length()== 0 || re_pass_word.length() ==0 || first_name.length() == 0 || last_name.length() ==0 ){ Toast.makeText(context, "Please fill in the form completely. ",Toast.LENGTH_SHORT).show(); } if(pass_word != re_pass_word){ Toast.makeText(context, pass_word + re_pass_word, Toast.LENGTH_SHORT).show(); Toast.makeText(context, "password incorrect", Toast.LENGTH_SHORT).show(); }if(pass_word == re_pass_word){ //Ready to sent //target : http://localhost/test_projectEnd/insert_users.php
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง