Hello I'm trying to loop through my php array in jqeury but when I do that it days it doesn't exist. this is weird to me because I'm able to use the array to create an variable in jqeury. I need a loop that starts at the first date, and adds 1 day until it reaches the end date.
the php code...
Hello,
Does anyone know how I can disable certain dates in my calendar based on the dates that are in the db??
so if the db has start_date (start_datum) 1-7-2022 and end_date (eind_datum) 3-7-2022. Then I want the code to disable all 3 of those days.
code:
<?php include "config.php"; ?>
<html...
hello! i'm making a calendar that shows which days have been booked and which are available.
In my db I have two important cols for this called: start_date and end_date (translation is start_datum and eind_datum)
Now I'm trying to make the days that are booked have the red booked label. the...
I want to create a calendar in php but it's not working out so well I want to be able to make my < and > buttons work and change the date on top of the calendar with one month. but I I can't get it to work. right now the date on top of the calendar is 08-06-2022 and I don't know why this is the...
I don't understand what is going wrong here I have a form for my users called reservation.php this one (is supposed to ) goes to reservationback.php but I have been trying it and for some reason it goes to reservation.php?submit=submit why is this happening??
reservation.php this one is...
I'm not seeing what I'm doing wrong. so basically what I want is that users click the button and then the $row['name'] will be posted to another page. but for some reason I just can't get it to work?? can someone help me ?
<?php
$sql = "SELECT * FROM huizen";
$stmt =...
for anyone wanting to know I the register button was causing the problem I need to read better :sleep: it's
<button class="btn btn-primary btn-lg btn-block login-button">Register</button>
This is pretty easy but honestly I just can't seem to find what the problem is? I want to post my variabels to antoher page but when I do for example $_POST['lastname']; on the other page it says Warning: Undefined array key "lastname" in C:\xampp\htdocs\huizen_huren_website\registerback.php on...
I found out where something goed wrong I have this part of my code
if($row['voorraad'] == 0){
//dit stuk breekt de hele styling
echo '<h3 class="fw-voorraad" style="color: red;"> uitverkocht</h3><br>'...
I have been trying to style the items from my store right now I have this code
<style>
header{
background-image: url("brood.jpg");
}
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
}
section{...
my divs are right now placed like this is there a way I can put my items next to each other ( max 3 items next to each otter if there is more I want them to be put down)
(there are more divs)
code css:
.container1{
display: grid;
grid-template-columns: auto...
well no I want the one with container1 the card-body is for the text part. I want the whole stuff next to each other so I put them under the div container1
Hello I'm tring to put all my divs next to eachother
currently my page looks like this
there are a lot of these t=divs and I want to put them next to each other so I thought of using grid but that makes them like this:
I'm not that good with grid so how should I be able to fix this. I have...
Hi so right now I'm just thinkering around to slowly in the end try to make a password reset page
right now I want to post variable to my reset password backend page but I can't seem to send any post variables to this page?
I'm not seeing what I'm doing wrong
code:
passwordreset.php
<?php
//...