Current location: Hot Scripts Forums » Programming Languages » PHP » Get actual record


Get actual record

Reply
  #1 (permalink)  
Old 04-28-04, 06:03 AM
maldiv_f maldiv_f is offline
New Member
 
Join Date: Apr 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Get actual record

Hello,

I have a MySql table where is no primary key.
I want to make a list, where user can see only some important info about the records. I want to display all data of the record if the user want to see it. But how can I do this if there is no primary key in the table? How can I get which record was selected by the user?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 04-28-04, 07:01 AM
wessamzeidan wessamzeidan is offline
Newbie Coder
 
Join Date: Apr 2004
Location: Lebanon
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
It would be better if you make a primary key for your table
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Record on Multiple pages Psy-borg ASP 1 02-12-04 02:43 PM
Upload file to table so ONLY files tied to primary key are displayed in record? grafixDummy PHP 4 12-20-03 04:28 PM
Calling Latest record!! Soulidified PHP 1 11-16-03 06:58 AM
Need to pull LATEST record... any ideas? Soulidified PHP 4 11-14-03 04:11 PM
how do i add a record AND send an email in one step? nickleidecker ASP 2 10-14-03 07:12 PM


All times are GMT -5. The time now is 10:30 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.