Rianẍa
Rianẍa
KPCKevin Powell - Community
Created by Rianẍa on 5/29/2024 in #front-end
Grid system
No description
12 replies
KPCKevin Powell - Community
Created by Rianẍa on 2/10/2024 in #os-and-tools
howsubmitted wp form visible
Hey guys! I hope I can post this here?.. Is there anyone who can help me? I've already tried everything. Searched a lot but found nothing... I am creating a wp website for a cycling club. now there is a tab, Saturday rides. Members should be able to indicate here whether or not they will participate on that Saturday. so I thought with wp forms I would create a form for each Saturday ride. That is good. but now the submitted forms should be visible on the same page. so that all members can see who is riding on Saturday. (only logged in users can access this information). if there is someone who can help me out? then I would like to hear it!
1 replies
KPCKevin Powell - Community
Created by Rianẍa on 12/10/2023 in #back-end
include not working
I don't get it 😦 I'm using include for every page to get my server and my header. But on one reason doesn't work on this page…
<?php
include './Includes/server.php';
include './Includes/header.php';
?>
// Rest of my code
<?php
include "./Includes/footer.php"
?>
<?php
include './Includes/server.php';
include './Includes/header.php';
?>
// Rest of my code
<?php
include "./Includes/footer.php"
?>
my folder structure for this file is: |-- assets/ | |-- css/ | |-- js/ | |-- images/ | |-- includes/ | |-- header.php | |-- footer.php | |-- server.php | |-- pages/ | |-- admin/ | |-- kruiske-online.php this is the file where it doesn't work | |-- settings.php | |-- home.php Is there anyone that knows how I can fix this? Ps. I got these error messeges: Warning: include(C:\xampp\htdocs\twt-app.dev\pages\admin../../Includes/server.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\twt-app.dev\pages\admin\kruiske-online.php on line 2 Warning: include(): Failed opening 'C:\xampp\htdocs\twt-app.dev\pages\admin../../Includes/server.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\twt-app.dev\pages\admin\kruiske-online.php on line 2 Warning: include(./Includes/header.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\twt-app.dev\pages\admin\kruiske-online.php on line 3 Warning: include(): Failed opening './Includes/header.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\twt-app.dev\pages\admin\kruiske-online.php on line 3 Warning: include(./Includes/footer.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\twt-app.dev\pages\admin\kruiske-online.php on line 10 Warning: include(): Failed opening './Includes/footer.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\twt-app.dev\pages\admin\kruiske-online.php on line 10
12 replies
KPCKevin Powell - Community
Created by Rianẍa on 11/5/2023 in #back-end
restore input with km
Someone who can help please. I do not understand it any more. I have an attendance list for the cycling club. We have 4 groups; A, B+, B and C. Each group cycles different km. I store all these in the db. together with who cycled with which group. So what do we do: - we enter the date of the day driven - We enter the km for the groups - we indicate the members who participated (which group) This is then stored on the DB. Now I want to make something that if you go back a date. The fields that were completed on that day are visible again. So that we can adjust these if necessary. I have already managed to fill in the checkboxes. But the km remain empty and I cannot enter them. I've tried everything but it doesn't work 😦 I'm desperate. Can someone please help me? Hopefully you understand. If not, feel free to message me! then I try to clarify it. The code can be found in the comments. (text to long) If there's anything else you need to know? Let me know!! Thanks in advance 😄
4 replies
KPCKevin Powell - Community
Created by Rianẍa on 9/23/2023 in #back-end
how can I retrieve the stored data by date
No description
5 replies
KPCKevin Powell - Community
Created by Rianẍa on 7/15/2023 in #back-end
Auto backup DB
Who can help me? I want to make an automatic backup of my db. But when I type ./backup.sh into my terminal nothing happens. So I don't think the backup is being made? or do i have something wrong in my code? ps. I use windows Code: #!/bin/bash Databasegegevens DB_HOST="localhost" DB_USER="root" DB_PASSWORD="" DB_NAME="twt" Pad naar de back-updirectory BACKUP_DIR="/mnt/c/Users/mstep/Documents/BACKUP_Twt" Bestandsnaam voor de back-up (voeg de huidige datum toe aan de bestandsnaam) BACKUP_FILE="$BACKUPDIR/backup$(date +%Y%m%d%H%M%S).sql" Maak de back-up met mysqldump mysqldump --host=$DB_HOST --user=$DB_USER --password=$DB_PASSWORD $DB_NAME > $BACKUP_FILE echo "Database back-up is gemaakt: $BACKUP_FILE" 0 0 * * 0 /bin/bash /mnt/c/Users/mstep/Documents/TWT_ProjectDev/Twt/backup.sh >/dev/null 2>&1
12 replies
KPCKevin Powell - Community
Created by Rianẍa on 7/9/2023 in #back-end
Multiple dates on one id?
Who can help me, I'm really stuck! I'll start at the beginning. I am making a platform for the cycling club. This contains all members. The intention is to keep track of all attendance and which group they drove. Now I already have a whole system, but to be able to fill in the attendances does not work. You should select the date. Then there are input fields for each member. Such as km, rode along yes or no and which group. So now I would like to save everything to yet another document. But this doesn't work. question 1 you can put different dates with the entered data under the same id. So that under a person you have, for example, 5 dates with the entered values? I can't get this 😦 who can help me, even enabled chatGTP but this simply does not work..
17 replies
KPCKevin Powell - Community
Created by Rianẍa on 6/15/2023 in #back-end
CSS connect to the files
13 replies
KPCKevin Powell - Community
Created by Rianẍa on 6/6/2023 in #front-end
How to make line stay the same?
3 replies
KPCKevin Powell - Community
Created by Rianẍa on 3/15/2023 in #front-end
border inside the button
5 replies