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
Tag: html
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
Can I pass a variable into an if(isset($_FILES[‘whatever’])) logical process?
I am new to PHP and am trying to create a page which will change/update/refresh depending on which form buttons are selected. This part works. The purpose of the site is to allow multiple file …
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
So I’m making an Editor website, and I want to have a save button that will only save the code written in the box, and not the entire editor code
So, as I mentioned I am making an HTML, CSS and JavaScript editor and I need a save button, but I’m not sure of the code for it. I know a code that will make it save the entire code (script) for the editor, but I don’t want that, I want to make a Save button that will only save
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,
Is it possible to use WordPress theme preview as main website source that will work all functions?
I’m new in WordPress I misunderstand one thing about the theme use in WordPress For example, I wanna create the as same website as this I purchased this template. But when I installed the theme in WordPress it shows me the default Index.php file with little info, used my purchased theme And when I purchased the theme there exist all
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,