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

Form errors in an array
I'm processing a form and putting the errors in an array. empty($errors) doesn't seem to do the tric

Accessing element of object array
Hello

My object looks like this:


Array ( [0] => User Object ( [id] =>

Hits this week counter
I have a counter on my site that tracks hits, IP's, etc. into a mySQL database. It also includes the

Agency Business Process
Hi,

I don’t understand the process of the agency business in SAP.

In my

unexpected T_STRING
error log "[Sat Jan 09 18:27:58 2010] [error] [client 127.0.0.1] PHP Parse error: syntax error

Select question
Hi,

First I would like to say that php is pretty new for me..
so please don't shoot me if

Display Database
I need to create a shopping cart. I found this code online: http://conceptlogic.com/jcart/
Unfort

preg-match with a string and numbers
Hi, I can't get the expression to work for my preg_match, what I'd like is for it to match the strin

problem with refreshing
in my site, i have an index page, it has a main div. this main div's content is changing according t

what does this mean? +=
is anyone able to explain what this code is saying?

i had it written for me awhile back and n

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