Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

98
Views
valores de formulario que no pasan a través de la URL de acción en php

Tengo un formulario simple hecho en PHP, estoy tratando de pasar el valor de selección en la página mencionada en la URL de acción,

 <form action="filtertable.php" method="post"> <select class="form-select" name="filtercategory" aria-label="Default select example" onchange="this.form.submit()"> <option selected>Select Category</option> <option value="<?php echo $roww["c_id"]; ?>"><?php echo $roww["cname"]; ?></option> </select> </form>

cuando el usuario seleccione en cualquier cuadro de selección, irá a la página filtertable.php, y desde allí intentaré obtener el valor seleccionado de esta manera:

 <?php $filtercategory=$_POST['filtercategory'];

Sin embargo, no funciona, ¿alguien puede decirme qué está mal aquí? Gracias de antemano.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!