You are here: Accesing a record in MySQL and PHP « PHP Programming Language « IT news, forums, messages
Accesing a record in MySQL and PHP

Posted by zek2005 on 10/23/43 11:34

Hi!!!

I am accesing a record in a MySQL DB with the a sentence embeded in a
php code. The result access a page like:

http://www.mysite.com/page.php?id=16

where the id=16 indicates the id of the result. This work perfect, but
I don´t want the user to know that the number 16 correspond to a
specified record. I´d like to change the 16 for an algoritm. The
algoritm result will be 16, but this will be only know by the database.

As example, I´d like that

http://www.mysite.com/page.php?id=ewrefj34239dsa

equals

http://www.mysite.com/page.php?id=16

Sorry if this is not a PHP specific question, but I appreciate any
answer.

Best regards!

Zek

 

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

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