Forum Stats

  • 3,826,778 Users
  • 2,260,707 Discussions
  • 7,897,072 Comments

Discussions

How to get date from html form through php to show table from oracle sql

2662039
2662039 Member Posts: 2
edited Apr 29, 2014 1:04PM in PHP

I have a form method post.Also an input date like input date (html 5,the one that picks the date from a window below)

I want to take the date the user inputs and use it in a php which contains a contains a select statement that is like that $stid = DBExecute($conn, "select customer_name,product_name,order_date,quantity and ends like this.. and order_date>='".$_POST['date']."'");

Then i have echo "<table....

And while ($row = oci_fetch_array($stid, OCI_ASSOC)) {......

But I have a problem on that. No results shown. Why?

Does anybody know to help me?

What value the date input gives in HTML5 and in which format? How can i fix that?

Tagged:

Answers

This discussion has been closed.