dinamic "textboxes"?


Posted on 16th Feb 2014 07:03 pm by admin

Ey all, my first post here, i hope its not a hard one

I display mysql results in a table
Each row has a link which must send the title of the row to "result.php"

EXAMPLE

TITLE------------UNITS
book--------------10 - - link
video-------------10 - - link
audio-------------10 - - link
pencils------------10 - - link

Now, i want to put a kind of textbox under each row, so the user can type the cuantity of units to order

EXAMPLE

TITLE------------UNITS
book---------------10 - - link
-------------------[ ] - - link
video--------------10 - - link
-------------------[ ] - - link
audio--------------10 - - link
-------------------[ ] - - link
pencils-------------10 - - link
-------------------[ ] - - link


this is the code of the link

<a href='result.php?ref=$modelo&xxxxxxxxxxxx='>LINK</a>

xxxxxxxxxxx is the code im lacking to send the content of the "textbox" i dont know how to use...



is this possible? any other workaround???

No comments posted yet

Your Answer:

Login to answer
257 Like 26 Dislike
Previous forums Next forums
Other forums

Sessions Value Not Saved
Hi,

Im making a login form and im using this code:
Code: if($login=="true"){

Displaying data from database into a 2 dimensional table
Good day!

I'm a beginner in PHP and I'm not expecting a full coding for this qestion. I'm jus

Reduce redundancies in switch functions?
Hello all! I somewhat new to PHP, and was wondering if anyone could give some suggestions on a swit

Displaying different page content, depending on the logged in user.
Hi all, I am new to ASP.net (and web development in general), and have a question about how I can di

PHP/Database issue
My friend is helping me make a database where you go to a certain webpage of my site and the page wi

php wont update my db
hello,

sorry for posting in mysql forum but i dont know where exactly is the problem but here

PHP Error
On my .php page I have a drop down box that has several names in it. When a user clicks the name &am

Beginner question regarding Array's
Hi everyone, the page im working on has an array of variable at the top...

Code: $define_li

str_replace help
I am thinking str_replace is my only option to filter outputs from my database to convert them to sa

Must-Know Topics of PHP
Can you guys list the must-know topics of PHP. I am still a learner and I am trying to cover most of

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash