Jump to content

Endrick

Members
  • Content Count

    54
  • Joined

  • Last visited

Community Reputation

1 Neutral

About Endrick

  • Rank
    Regular Member

Recent Profile Visitors

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

  1. does anyone have an idea why that doesn't work
  2. <?php include 'db2.php'; $model = new Db(); $turistCity = $model->getTouristCity(); $visitingPlace = $model->getVisitingPlaces(); $searchdata = $model->getVisitinPlaceData($_POST['city'], $_POST['place'], $_POST['keyword']); ?> <form action="" method="post" class="serach-form-area"> <div class="row justify-content-center form-wrap"> <div class="col-lg-4 form-cols"> <input type="text" class="form-control" name="keyword" value="<?php echo $_POST['keyword']; ?>" placeholder="what are you looging for?"> &l
  3. The problem is I don’t have a code because I can’t imagine how to write this. I want to make it so that you can select a category and if you press search then a page comes with cards that own the category
  4. <?php require("connection.php"); $query = 'SELECT * FROM job_post WHERE id_jobpost = :Id'; $start = $bdd->prepare($query); $start->execute(array(':Id' => $_GET['id_jobpost'])); $result = $start->fetch(); foreach ($result as $results) { $jobtitle = $result['jobtitle']; $id_jobpost = $result['id_jobpost']; $description = $result['description']; } <?php if (isset($jobtitle)) { echo $jobtitle; } ?> https://prnt.sc/uk4652 : Undefined index: id_jobpost in : Invalid argument supplied for foreach() in
  5. if I don't use WHERE it works
  6. require("connection.php"); $query = 'SELECT * FROM job_post WHERE id_jobpost = :id'; $start = $bdd->prepare($query); $start->execute(array(':id' => $_GET['id_jobpost'])); $result = $start->fetchAll(); foreach ($result as $results) { $jobtitle = $result['jobtitle']; $id_jobpost = $result['id_jobpost']; $description = $result['description']; } ?> when I use fetchAll it doesn't work either
  7. <?php require("connection.php"); $query = 'SELECT * FROM job_post WHERE id_jobpost= :Id'; $start = $bdd->prepare($query); $start->execute(array(':Id' => $_GET['id_jobpost'])); $result = $start->fetch(); foreach ($result as $results) { $jobtitle = $result['jobtitle']; $id_jobpost = $result['id_jobpost']; $description = $result['description']; } ?> https://prnt.sc/uk3913 Whats wrong with this code
  8. hello i need a script that sends data from the searchbar to a search.php and there the entries are displayed with the category someone knows how to write it or has someone an example https://prnt.sc/ujzvuf
  9. but as I have already tried it but it did not work out right
  10. how i design a card i know but how i implemented it now that it is no longer a table but a card i can't imagine
  11. <section class="no-padding-top"> <div class="col-lg-12"> <div class="block margin-bottom-sm"> <div class="table-responsive"> <table class="table"> <thead> <tr> <th scope="col">User</th> <th scope="col">Datum</th> <th scope="col"><a class="btn btn-primary" href
  12. I have found a tutorial here in which this is also done without the port and I want that with my current code as well
  13. I already have that of course, but I would like to know whether it works without the command php artisan serve
  14. https://stackoverflow.com/questions/28788285/how-to-run-laravel-without-artisan Is that possible without the development server, because I don't want this port behind it
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.