<?
//Now grab a section of that
$db->open(
"SELECT songlist.title, songlist.id, songlist.count_played, songlist.filename, songlist.artist, songlist.album, songlist.duration FROM songlist, category, categorylist WHERE category.name = 'Top 10' AND songlist.id = categorylist.songID AND...
Hello All,
I am using the below script to create redirection of my page visitors as per their ip address,
<?php
$v=0;$f=0;$n=array();
if(isset($HTTP_GET_VARS['ip'])){
$ip=$HTTP_GET_VARS['ip'];}
else{$ip='10.1.1.10';}
$ip=sprintf("%u",ip2long($ip));
while(strlen($ip)<10){$ip='0'.$ip;}...
Hello All,
I need help to display date and time in my script, what I have tried whcih give me output Aug 12th, 2005 but I want to display Aug 12th, 2005 10:30 am (example)
The part of the code I am using is below:
/
/
/
$time_stamp = stripslashes($cats[time_stamp]);
$year =...
Hello All,
I have a simple query running from which I display on my page expiring coupons in ASC order,
$get_cats = "SELECT item_id, item_title, item_desc, item_subdesc, store_image, item_image, item_code, item_exp, dept_id FROM `store_item` WHERE `item_exp` LIKE '200%,%,%' ORDER BY `item_exp`...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.