Skip to content
Advertisement

Tag: html

Send file with jquery and recive in PHP (No plugIn)

I’m trying to send a file using AJAX with the form but the PHP file seems to receive nothing, not only the files but also the form elements. In PHP if i try to get a value from the $_POST i get an Undefined Index. I’ve tried: and the method you see in the code below. I’m restricted to do

SQL – Get multiple values when limit 1

If I have a table like this: And use this query: SELECT ident,COUNT(*) FROM sales WHERE status=? AND team=? AND DATE(date) = DATE(NOW() – INTERVAL 1 DAY) GROUP BY ident order by COUNT(*) DESC LIMIT 1 I get the value: cucu1, since that has the most rows. But if my table is like this: It should return both cucu1 and

PHP how to send and receive multiple choice box

I need suggestion. I have an list of position from database, displayed in table and in the last table row is an option to select “TAK” – YES and “NIE” – NO, please tell me is it possible and if it, how to send and receive it all selected to “TAK” fields at file wypozyczalnia.php Answer At the moment you

WordPress posts in menu and custom classes

I’m new to WordPress and I’m trying to convert a pure HTML Theme to a WordPress theme. But I have a problem that I can’t find a solution for. In the nav menu, I can’t find a way to selectively add classes to the ul and li elements that WordPress generates as a menu. Basically, I need to set different

Display photos from Flickr in a responsive grid [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year. Improve this question I am trying to display photo’s obtained from a flickr image search API, and the display the images in a grid,

PHP calling python script and button disappear after clicked in php

i have a python script, that can be called from PHP start.php how do I make the button disappear if the service is running already? or make a popup windows saying its already running when user tried to click again? i have another php where it can check the service running or not status.php Answer managed to disable the button

html form not using POST – acting funny [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed last year. Improve this question I made bootstrap a form with this code and i am loosing my mind,

Advertisement