Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
2 answers
14 views

PHP variable from mysql query in form, when null

I have an html form used to edit a record in a mysql table. In the case of editing, I prefill the form with the current values for the record as returned by the query, as below: <INPUT TYPE="...
rdel's user avatar
  • 155
0 votes
0 answers
17 views

Understanding the work together and howto for <button type="submit" between HTML js and php [duplicate]

I searched around for the last few days, but couldn't get the entry point of understanding. How the work together between HTML, Js and PHP for the submit button is. Especially for my case, I want a ...
Tips  Tricks's user avatar
0 votes
0 answers
36 views

Laravel: in-place filtering of an model by dropdown selections

Idea Via multiple dropdown menus filter the model Requirements Page shall not be loaded Every dropdown selection, filters the model (send queries to DB), as well as adds an query parameter to the ...
Roman_Coding's user avatar
1 vote
0 answers
26 views

Codeigniter - I'm having an issue with the dropdown it’s not populating the dropdown as expected, and I’m not sure what the exact problem is

When I tried to print the data, it is being printed correctly. However, I'm having trouble with the view file it’s not populating the dropdown as expected. If anyone knows what might be wrong, please ...
Manish's user avatar
  • 11
1 vote
2 answers
29 views

Operating on photo retrieved from php page using python

I want to make pseudo-verification api in python that works with images(ID of a worker). It is supposed to be based on certain patterns in image like(circles squares etc. like in snapchat famous ...
user25947831's user avatar
-2 votes
0 answers
31 views

Why isn't the Product Filter Shortcode Working

so this problem has been persisting over the week, i cam here to seeek some help. i have a type of filter set up that searched through the products through the peoduct shortcode in woocomerce and ...
Asma Mohsin's user avatar
-3 votes
0 answers
28 views

Using math.random form js and input it in php [duplicate]

I am trying to get data from input generated by math.random to php by Javascript id = Math.floor(Math.random() * 100000); document.getElementById('uid').value = id; // pastes it in input values <...
Me Kool's user avatar
0 votes
0 answers
32 views

How to nest multiple isset() functions based on multiple forms without losing any of the form data or refreshing the browser?

I am trying to solve a php problem to find the mean of n random numbers based on the limit(n) given by user on an HTML form. My approach was to create a Html form which asks the user to Enter the ...
Sance Shaji's user avatar
0 votes
1 answer
27 views

Form with multiple inputs into fields for PHP processing

I've got a form with multiple sets of data (which are variable) which I'm attempting to pass into PHP and then for each group of fields, have the individual data into PHP variables ready so I can work ...
Andy Jenkins's user avatar
-1 votes
0 answers
45 views

Laravel Filament: How to get active tab in beforeValidation()

What I am trying to do: I have a Filament Wizard with Steps. In the first Step, I have two tabs: The first is custom component, where you can select packages. The second is a custom component, where ...
Mickey Pearson's user avatar
1 vote
1 answer
27 views

How to upload image but NOT using form builder in Symfony 6?

I know there is a simple way to upload image in Symfony 6. In short - create form via form builder and then in the controller we just simply do: $form = $this->createForm(MyClassType::class); After ...
Spowler's user avatar
  • 13
2 votes
0 answers
46 views

main form is not returnning to home page

i have small form. I am trying to save form data and print at the same time. its working fine but the issue is I main form is not returning to home page after click on submit button. below is my code ...
Student's user avatar
  • 21
0 votes
0 answers
23 views

After submitting form on page I get an HTTP 500 error [duplicate]

so in this code I want to update login data, which works fine when submitting the form. But still when submitting, the page gets blocked by an HTTP 500 error. The code should be executed but the user ...
Johannes's user avatar
-2 votes
0 answers
41 views

Why do different content appear under the same url in my php app?

So I've been building basic crud app using php and simple html. I noticed that when I remove element from database and redirect user to homepage everything seems fine, but when I click 'go back button'...
user25947831's user avatar
-1 votes
1 answer
32 views

Not displaying the .success element after submitting the form

On submitting the form, the value of the display property is not changing to "flex" and the one of the form is not changing to "none" when the $_SESSION(['success']) is true. I ...
flexbeatz's user avatar

15 30 50 per page
1
2 3 4 5
2130