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

contact form - output to page and email
I have the following in my controller:

$message['name'] = htmlentities(strip_tags(trim($_POST

Array to string conversion
Can anyone help me with this?

Notice: Array to string conversion in /home/..../index.php on l

browse folder only
hi,
is there a way i can browse or get the directory or folder only and not the file?
i just w

passing data from one page to another
hey guys
i have the follwoing code to get information from one page and place on another:

writing my own sobel filter convolution - something is wrong
I am trying to keep it very simple, I cant see anything wrong with my logic, could anybody help poin

Probably a simple error...
I'm getting the error -- Parse error: syntax error, unexpected '{' in /home/content/c/s/t/csteffen24

Form always sends to error page...
Hello,
Any help will be greatly appreciated. I am having trouble getting multiple fields to be re

mysql UNION | warning mysql_fetch_array !!
Code: <?php
$i = 0;
$query1="SELECT * FROM `products` WHERE `div

Table trouble
i have been reading the forum for a few weeks and decided to join. i like the format and the advice

Forum tutorial
Im a beginner in PHP. Im making a forum(previous questbook, counter and few others) to learn. For no

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