Category : html

php code is <?php if (isset($_POST[‘search’])) { $startDate = $_POST[‘start’]; $startDate = str_replace(‘/’, ‘-‘, $startDate ); $startDate = date("Y-m-d", strtotime($startDate)); // echo $startDate; $endDate = $_POST[‘end’]; $endDate = str_replace(‘/’, ‘-‘, $endDate ); $endDate = date("Y-m-d", strtotime($endDate)); // echo $endDate; $model = $_POST[‘model’]; // echo $model; $dates = getDatesStartToLast($startDate, $endDate); // echo $dates for ($i=0; $i ..

Read more

I’m working my local php server(with nginx) and I use template_ so I copied an image file(ex:testImage.png) in web_app/images then I want to load image this file in some view file by img tag but I tried <img src="testImage.png"> => when view and image are in same folder $this->assigns["image"] = current controller path.’/../images/testImage.png’; <img src="{image}"> ..

Read more

Invalid request message. My query is carried out on a single table having 5 columns. The 5 forms are not necessarily filled in. The result is therefore related to the forms entered. Unfortunately there must be some errors in my code. If you can help me … Thank you very much. <!doctype html> <html> <head> ..

Read more