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???

257 Like 26 Dislike
Previous php-forum Next php-forum
Other php-forum

Storing user data help?
Hey Guys,

I'm not use if this question is to broad but I can always give you more informatio

Final year project, please point me in the right direction
hi there for my final year project I'm aiming to build a php script shell to use as an expert system

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

Problem with HTML form
Hello,

I made a HTML form with some fields and check box.
Everything works fine except whe

Escaped characters
I have a script that allows you to post news to the home page of my site. Along with the news is the

Multiple upload and Resize
I would like some help on my script I have the for my index.php

////

<html&

simple script won't work. Please help
I'm new to php, and I am having trouble displaying a simple script in my web browser. My php code ex

line breaks in between fetched file names
Hi,

I have this code:
Code: <?php
if($dir = opendir('files')){
while (($f

Multiple arrays inside data
Hi,

Simple question. I have a column called "array" in my database, and inserted in

Need Help with a query
Hello,
For some reason I am just not getting the right answer when I do this query and not quite

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