You are here: Re: Display selected record that has been passed to URL « All PHP « IT news, forums, messages
Re: Display selected record that has been passed to URL

Posted by Ren on 03/10/06 20:36

Thanks for the quick reply.

It sounds easy from what you have stated but I still can't seem to get it to
work.

I think it may be something to do with my select statement. Here is a
sample of the code.

$RID = $_GET['recordID'];

$query = "SELECT * FROM dvd WHERE id = '$RID'";
$result = mysql_query($query);
print ("$result[title]");

Just to let you know that the table is called 'dvd' and 'id' and 'title' are
column names in my table.

I am just trying to display the 'title' of the selected record.

Thanks
Slack

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация