Reposting again due to coding problem, I have attached the files
I am having trouble getting my button to submit the words in the text box over to the table on another page. What can I do to fix this?
Thanks
Chloe_6
0
Newbie Poster
Recommended Answers
Jump to PostThank you for resubmitting your code. It's much appreciated, to help us to help you :)
That being said, when you have:
<form action="product_list.php" method="post"> <input type="text" name="..."> <input type="submit"> </form>
Then, unless you have Javascript that is preventing the default event action, the values of the …
Jump to PostI'm only suppose to be using php and HTML for this
No worries. My comment about Javascript was that you can, theoretically, create Javascript that blocks normal HTML behavior. Provided you don't have Javascript, it's just normal HTML behavior.
Let's see how you structured your app:
index.php => …
Jump to PostSometimes you get a blank page when there's a fatal PHP error (syntax error, parse error, etc.
Add this to the very top of index.php and it should spit out any errors:
ini_set('display_errors', '1'); ini_set('display_startup_errors', '1'); error_reporting(E_ALL);
Jump to PostAlso, keep in mind, the code I typed out the other day was just typed here on DaniWeb in the reply textbox. I never checked it for errors.
Jump to PostYou didn’t change either of the things I said to change. I’m in the car now nowhere near a computer. When I get home in a few hours, I can try to make the corrections for you and show you updated code. In the meantime, try applying the two code …
All 26 Replies
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Chloe_6
0
Newbie Poster
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Chloe_6
0
Newbie Poster
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Chloe_6
0
Newbie Poster
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Chloe_6
0
Newbie Poster
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Chloe_6
0
Newbie Poster
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Chloe_6
0
Newbie Poster
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Chloe_6
0
Newbie Poster
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Chloe_6
0
Newbie Poster
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Chloe_6
0
Newbie Poster
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Chloe_6
0
Newbie Poster
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Chloe_6
0
Newbie Poster
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Dani
4,084
The Queen of DaniWeb
Administrator
Featured Poster
Premium Member
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.