Jump to content

robsstevejobs

Members
  • Content Count

    28
  • Joined

  • Last visited

Community Reputation

0 Neutral

About robsstevejobs

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. hi sir, how can i contact him about ios update software you have their address?
  2. Hi sir, you can help me find this server to distribute the updates in my website. here is the link I found: updates-http.cdn-apple.com/2019SpringFCS/fullrestores/041-68314/CC3C4D6, in other site when I try to download it outside the iTunes
  3. ok I understand, if you have a link you can send me to try to change the code
  4. Hi guys, someone can help me for my database. I will only when registering the form that make the comparison to enter it, like username and email using ajax and php. this is my code <?php if(isset($_POST['email'])){ $servername = "localhost"; $username = "root"; $password = "Robss123"; $dbname = "news"; // Create connection $conn = new mysqli($servername, $username, $password, $dbname); $email = $_POST['email']; // Check connection if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } $name = mysqli_real_escape_string($conn, $_POST['name']); $email = mysqli_real_escape_string($conn, $_POST['email']); $sql = "INSERT INTO guyst(name,email) VALUES('$name', '$email')"; $sql ="SELECT *FROM guyst WHERE guyst_email='$email'"; $result = mysql_query($conn,$sql); if($result->num_row >0) { echo 'cet email est déjà utilisée'; } if ($conn->query($sql) === TRUE) { echo "New record created successfully"; } else { echo "Error: " . $sql . "<br>" . $conn->error; } } $conn->close(); function test_input($data) { $data=trim($data); $data=stripslashese($data); $data=htmlspecialchars($data); return $data; } ?>
  5. I did not understand what you mean ...
  6. hi guys, how can i check a username and email already exist in my database using php and ajax
  7. Hi guys, can you explain to me what can I do about any comment post
  8. Hi guys, I'm going to have my database record a unique email address what can I do in the code.
  9. in my case the code above, there are two functions the first function does not run, but jquery validation that run in the second position what can i do to run all the two
  10. yes I ask if in a file js, I could put more function inside this file.
  11. this is my query code $(document).ready(function(){ $('#submit').click(function(event){ event.preventDefault(); var name = $('#name').val(); var email = $('#email').val(); if(name == '' || email == '') { $('#error_message').html("Tous les champs sont obligatoire"); } else { $('#error_message').html(''); $.ajax({ type:'POST', url:'connexion.php', data:{name:name, email:email}, success:function(data){ $("form").trigger("reset"); $('#success_message').fadeIn().html(data); setTimeout(function(){ $('#success_message').fadeOut("Slow"); }, 2000); } }); } }); }); , $(function(){ $('#formu').validate({ rules:{ email:{ required:true, email:true } } }); }); </script>
  12. I will associate all the code jquery in the same file, unfortunately it does not work
  13. thank you it works, but I have little concern, I want to associate in the same file js validation and ajax function. instead of executing all the code, it runs a single
  14. thank you I try and then I will come back to you.
  15. where the link above ??
×
×
  • Create New...