can any one help with this please
hi there i have seen this on lava script and tryed playing around with it for wapdesire v_2 script can any one please help change this for it to work please
thanks to any one that can help me with it pelaseCode:$noi = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users where month(`birthday`) = month(curdate()) and dayofmonth(`birthday`) = dayofmonth(curdate());")); if($noi[0]!=0){ $sql = mysql_fetch_array(mysql_query("SELECT id, name, birthday FROM ibwf_users where month(`birthday`) = month(curdate()) and dayofmonth(`birthday`) = dayofmonth(curdate()) ORDER BY RAND() LIMIT 1")); $uage = getage($sql[2]); $lnk = "Happy Birthday<br/><a href=\"index.php?action=viewuser&who=$sql[0]&sid=$sid\">$sql[1]</a>"; echo "$lnk<br/>Hope U have A Wonderful Day<br/><br/>"; }
HELP THEM WHO HELPS YOU
[Only registered and activated users can see links. Click Here To Register...]
i only work on wapdesire v_2 coding only
can any one help with this please
HELP THEM WHO HELPS YOU
[Only registered and activated users can see links. Click Here To Register...]
i only work on wapdesire v_2 coding only
this should work ;)
Code:$noi = mysql_num_rows(mysql_query("SELECT COUNT(*) FROM ibwf_users where month(`birthday`) = month(curdate()) and dayofmonth(`birthday`) = dayofmonth(curdate());")); if($noi > 0){ $sql = mysql_query("SELECT id, name, birthday FROM ibwf_users where month(`birthday`) = month(curdate()) and dayofmonth(`birthday`) = dayofmonth(curdate()) ORDER BY RAND() LIMIT 1"); while ($row = mysql_fetch_array($sql,MYSQL_BOTH)) { $uage = getage($row[2]); $lnk = "Happy Birthday<br/><a href=\"index.php?action=viewuser&who=$sql[0]&sid=$sid\">$sql[1]</a>"; echo "$lnk<br/>Hope U have A Wonderful Day<br/><br/>"; } }
thanks but that is the same as what i put up and is off a lava script i am using wapdesire v_2 scriptOriginally Posted by Sora101 [Only registered and activated users can see links. Click Here To Register...]
HELP THEM WHO HELPS YOU
[Only registered and activated users can see links. Click Here To Register...]
i only work on wapdesire v_2 coding only
it is lavalair DUH lol
Visit: [Only registered and activated users can see links. Click Here To Register...]
Visit: [Only registered and activated users can see links. Click Here To Register...]
_______
SCRIPTS FOR SALE BY SUBZERO
Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
_______
Info & Tips
php.net
w3schools.com
Originally Posted by subzero [Only registered and activated users can see links. Click Here To Register...]
lava uses echo for the coding and ibwf_ for database and wapdesire v_2 dont use none of them it uses $main.=" and also has the name of the part eg users, profiles, themes
HELP THEM WHO HELPS YOU
[Only registered and activated users can see links. Click Here To Register...]
i only work on wapdesire v_2 coding only
add a new row birthday` varchar(10) NOT NULL default in table users, then insert it in when user signs up then u can call it m8 thats what i would do lol
$noi=mysql_num_rows(mysql_query("SELECT COUNT(*) FROM users where month(`birthday`) = month(curdate()) and dayofmonth(`birthday`) = dayofmonth(curdate());"));
if($noi>0){
$sql=mysql_query("SELECT id, name, birthday FROM users where month(`birthday`) = month(curdate()) and dayofmonth(`birthday`) = dayofmonth(curdate()) ORDER BY RAND() LIMIT 1");
while($row=mysql_fetch_array($sql,MYSQL_BOTH)){
$uage=getage($row[2]);
$lnk="Happy Birthday<br/><a href=\"profile.php?who=$sql[0]&sid=$sid\">$sql[1]</a>";
$main.="$lnk<br/>Hope U have A Wonderful Day<br/><br/>";
}
}
carebear (25-07-11)
clear code answer ?
where do u add this please
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks