I have 3 picture on my home.php. i want to make the encrypt when the picture on the click. so the database content of encrypt of 3 picture's id. anyone can give me advice or example?
i want to use md5 encrypt. thanks

I don't understand what you want to encrypt.
The image or just its URL?
anyway take a look at http://www.php.net/manual/en/function.md5.php

just id of the picture, friend. so the id_picture on the database like "78121ks012" or "908329121093"

the md5 function will do that (see link above)

Use the md5 to encrypt.
Tutorial :

Md5

use base64 function

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.