Jump to content

Getting Information Via Id


arunpatal

Recommended Posts

Hi,

 

Look this table

 

table 1

 

id int ai pkey

country v 75

 

 

table 2

 

id int ai pkey

name v 75

country int

 

 

My form is to add data on table 2 where name is text field and country is menu

which shows label as country and save its value as id from table 1.

 

now the added entry in my table 2 is like this

 

name and country id

 

now i want to make page where i can show the table 2 information but instead of

country id i want to show the name of country which is in table 1....

 

how can i do that ????????????

Link to comment
https://forums.phpfreaks.com/topic/272408-getting-information-via-id/
Share on other sites

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.