Jump to content

Loading data from MySQL table, by a value found in database.


TAViX

Recommended Posts

Sorry guys, is the enoying me again. I have a very simple problem this time. But because is so simple I cannot make it work at all:crying: :crying: :crying:

 

Anyways, I have a table in MySQL, with something like this:

 

pr_id |  entry | val1 | val2 | val3 | val4

00001    |  123 | bla1 | bla2 | bla2 |

00002    |  310 |

00003    |  234 |

00004    |  323 |

...      ......

 

I created a text box for the entry values, so when I'm choosing a number from entry (ex: 123) all the datas from the 123 row (val1, val2, etc) to be listed for edit into a table. That's it.

 

Here is a sketch:

phploaddatafromtablelh6.gif

 

Thank you very much in advance.

And your question is?

 

Sorry I'm a little tired...

How to extract the data from database for edit in that table, by specifying a value found in one of the cels. In my case the "entry" column. So when I'm typing the value 123, for example, I need that all the values from that row to be displayed for edit.

 

Thank you.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.