Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. 220061

    JavaScript Why aren't my buttons aligned?

    @Johna Yeah I saw after I posted my reply :blush:
  2. 220061

    JavaScript Why aren't my buttons aligned?

    where do you have a div center? also it is display: flex; and then align-items: center; text-align: center will center the text. and you always need to display: flex; if i remember correctly
  3. 220061

    looking things up on the internet

    My teacher always tells me: if you don't know how or what to do, just look it up on the internet! implying to just copy code on the internet and use that if you don't know how to do things yourself. but will this really help me? I have to look the most basic things up online and always have to...
  4. 220061

    What phone do you have?

    used to have an iphone but I didn't like it so right now I have the poco x3 pro. it's pretty good but my favorite phone was the google pixel 2XL.
  5. 220061

    Windows 11

    My mother has upgraded her pc to windows 11 and she hated it. most of the complaints I had was that she had to get used to the new layout of things. and she finds stuff harder to find on windows 11
  6. 220061

    PHP prepared statements

    Hello I have been programming for a while now and the thing that I just can't seem to be able to understand is prepared statements. Don't get me wrong I understand why I have to use it. but I don't understand how in a project. Do any of you have some easy tutorials?
  7. 220061

    PHP password hash and verify help??

    already also tried asking on stack overflow but I'm still not seeing it <?php //code is not safe yet session_start(); include_once "config.php"; $email = mysqli_real_escape_string($conn , $_POST['email']); $password = mysqli_real_escape_string($conn , $_POST['password'])...
  8. 220061

    PHP password hash and verify help??

    update: it still doesn't work but right now the errors are object(mysqli_result)#3 (5) { ["current_field"]=> int(0) ["field_count"]=> int(2) ["lengths"]=> NULL ["num_rows"]=> int(1) ["type"]=> int(0) } string(3) "lol" object(mysqli_result)#3 (5) { ["current_field"]=> int(0) ["field_count"]=>...
  9. 220061

    PHP password hash and verify help??

    maybe I'm not really understanding but I have tried to do password hash in login.php however then it won't hash and it will show the password in the db. login.php <?php //code is not safe yet session_start(); include_once "config.php"; $email = mysqli_real_escape_string($conn ...
  10. 220061

    PHP password hash and verify help??

    Hello I'm trying to do a password_has and password verify for my project. I'm trying to make my project safer step by step. I have already put a pashword hash in my code and that works as you see: but I can't seem to get it to verify. it either says password incorrect or I can't login at all...
  11. 220061

    notice undefined offset : 0 what am I missing here?

    this is the insert chat code so maybe this does the wrong thing? but idk what <?php session_start(); if(isset($_SESSION['unique_id'])){ include_once "config.php"; $outgoing_id = mysqli_real_escape_string($conn, $_POST['outgoing_id']); $incoming_id =...
  12. 220061

    notice undefined offset : 0 what am I missing here?

    I also see a problem in the db so what it does it that when I send a message to someone it only sends it to himself: so for example I ,user 1, send a message to user 2. it will put in the db that user 1 sends a message to user 1
  13. 220061

    notice undefined offset : 0 what am I missing here?

    it says mysqli_result object ( [current_field] =>0 [field_count] => 12 [lengths] => [num_rows] => 0 [type] =>0)
  14. 220061

    notice undefined offset : 0 what am I missing here?

    I have this error on if(mysqli_num_rows($query) > 0 )??? and I'm not seeing what the problem is can someone help me? <?php session_start(); if(isset($_SESSION['unique_id'])){ include_once "config.php"; $outgoing_id = mysqli_real_escape_string($conn, $_POST['outgoing_id']);//outgoing =...
  15. 220061

    JavaScript uncaught typeerror cannot read properties of null ( reading 'queryselector')

    hello I'm really new at javascript and I'm trying to get better at it but right now I'm running into a problem? and because I don't really understand java I have no idea what this means. // er zit hier een probleem die ik maar niet kan vinden hij snapt namelijk continue btn niet //code voor de...
  16. 220061

    HTML & CSS styling select with bootstrap

    Hello can someone help me I'm trying to create a select with bootstrap something like this: but my select just won't stop being small on my edit page: this is the code for the edit apparaten picture <div class="form-group row"> <label for="beschikbaar" class="col-sm-3...
  17. 220061

    PHP Can you tell me what this code is missing?

    I mean this looks like a search bar to me? can u tell me what the problem is? what errors are you having?
  18. 220061

    CSS how do I edit my bootstrap style to remove this line?

    this is my problem I'm using a table from bootstap and it's almost perfect except for the fact that I need it to be a little rounder. so I tried doing that but noticed this line that I want gone how do I do this? I already tried table{ border-bottom-width: 0px; } but that had no successes
  19. 220061

    PHP update statement with ? instead of the variable

    hello I have a question. I'm almost there but I can't seem to figure this one out I really wanna set inlever_datum to now time+ 7 days as you can see above that I have made a code that will give a now + 7 days ahead time. How will I use this with my insert statement? I tried doing $id =...
  20. 220061

    PHP if option 0 is choosen then set timestamp in col

    did an update on it but right now the only problem that I have is that $stmt returns false. why is that? // informatie naar de DB sturen if (isset($_POST["submit"])) { date_default_timezone_set("America/New_York"); $date = date("YYYY-MM-DD")...
Back
Top Bottom