Chrisj Posted August 26, 2010 Share Posted August 26, 2010 This is the php file code to a video jukebox add-on script, for a popular web video script. I'd like to modify it so the "Click Here" text font and color can be changed. Can you help or suggest what I can do to accomplish this? Thanks <?php include("../classes/config.php");?> <artworkinfo> <? $query = "select * from videos where viewtime<>'0000-00-00 00:00:00' and public_private='public' AND approved ='yes' AND promoted ='yes' limit 10"; // Max 10!"; $db=mysql_connect ($dbhost,$dbusername,$dbpassword) or die ('I cannot connect to the database because: ' . mysql_error()); mysql_select_db ($dbname); $num_rows = mysql_num_rows(mysql_query("select * from videos WHERE public_private = 'public' AND promoted = 'yes' AND approved ='yes'")); $result = mysql_query($query) or die ('Query Error: ' . mysql_error()); while ($results = mysql_fetch_array($result)) { ?> <albuminfo> <artLocation>../uploading/thumbs/<?=$results['video_id']; ?>.jpg</artLocation> <artist>Click Here!!</artist> <albumName><?=$results['title']; ?></albumName> <artistLink>../play.php?vid=<?=$results['indexer']; ?>&src=jukebox</artistLink> <albumLink>../play.php?vid=<?=$results['indexer']; ?>&src=jukebox</albumLink> </albuminfo> <? } mysql_close(); ?> </artworkinfo> Link to comment https://forums.phpfreaks.com/topic/211806-chaning-text-fontcolor-in-add-on-video-script/ Share on other sites More sharing options...
oliverj777 Posted August 26, 2010 Share Posted August 26, 2010 Humm, Try one of the following: <artist><font color="#FFFFFF">Click Here!!</font></artist> <artist font color="#FFFFFF">Click Here!!</font></artist> <artist><font color="\#FFFFFF"\>Click Here!!</font></artist> <artist><font color='#FFFFFF'>Click Here!!</font></artist> Link to comment https://forums.phpfreaks.com/topic/211806-chaning-text-fontcolor-in-add-on-video-script/#findComment-1104063 Share on other sites More sharing options...
Chrisj Posted August 26, 2010 Author Share Posted August 26, 2010 Thanks, but none of those affected the color of the text. Any other help/suggestions would be appreciated. Link to comment https://forums.phpfreaks.com/topic/211806-chaning-text-fontcolor-in-add-on-video-script/#findComment-1104168 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.