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"
Did you know?Explore Trending and Topic pages for more stories like this.

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

Query output more than expected
$query=mysql_query("SELECT * FROM players, communities, divisions WHERE dob BETWEEN '{$start_da

apart from cron
I need to run a php file every one hour. Is there any other solution apart from cron job?

MS are the best!!!
Visit http://www.microsoft.com/australia/windows/default.aspx?h=watch-a-demo and click the massive '

Get relative path from absolute path
How would one go about getting the relative path to a file from its absolute path?

get the country of visitor and display content based on that
Hello all,

I have seen that Google analytics can tell you where a visitor is coming from and

PHP Code / Script To check weather the given email exists in a domain
Hi,

I want to implement the following in my web page

in sign up we will ask to enter u

Basic Question about Threading and PHP...
I have a page that I am working on and it is taking several hours to process. The basics of what th

problems with contact forms that are only protected against SQL injections
What could be a potential problem with contact forms that are only protected against SQL injections

Session
I am having a little trouble with a session. Not sure if it is my browser or what. I know I do not

Mysql error message
help me find out what this error message means:

"Duplicate entry '0' for key 'PRIMARY'&q

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