Hi all i got this table in mysql database and i want to output to a php page all the names in database and each name should have the same color as it specifed for that name in database. For example if name cindy has color code 16711935 then her name should should be displaied using that code which represent pink. I be happy if some one show me how i can achive this task using php.Thanks
Code:create table NameColor ( ID int auto_increment primary key, Name varchar(32), color int );




Reply With Quote