prepare($sqlQuery);$recipesStatement->execute();$r"> Retrieve a user's check-in date: a step-by-step guide-PHP Chinese Network Q&A
Retrieve a user's check-in date: a step-by-step guide
P粉423694341
P粉423694341 2023-09-12 15:49:35
0
1
362

Hello, I would like to be able to display the registration date of users after January 25, 2022 But my query always shows the same date

$sqlQuery = 'SELECT * FROM _users WHERE user_registered > "2022-01-25"'; $recipesStatement = $bdd->prepare($sqlQuery); $recipesStatement->execute(); $recipes = $recipesStatement->fetchAll(); // On affiche chaque date une à une foreach ($recipes as $recipe) { ?> 

P粉423694341
P粉423694341

reply all (1)
P粉958986070

sqlQuery = 'SELECT * FROM _users WHERE user_registered > "2022-01-25 00:00:00"'; $recipesStatement = $bdd->prepare($sqlQuery); $recipesStatement->execute(); $recipes = $recipesStatement->fetchAll(); // On affiche chaque date une à une foreach ($recipes as $recipe) { ?> 

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!