help please

Started on the old forum in February 2011 · view the original in the archive · old links redirect here

2 replies · 445 views · started 15 years ago · 1 min read

2 participants
wap2010v2 Junior · 44 posts #1

hi there friends

can some one help me code this so it sends a inbox when a user has been poked please

$main.="<img src=\"smilies/poke.gif\" alt=\"poke\"/><b>Pokes:</b><br/><br/>";
  $nopl = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM usfun WHERE uid='".$who."' AND action='poke'"));
$main.="Poked <b>$nopl[0] </b> people<br/>";
   $nopl = mysql_fetch_array(mysql_query("SELECT COUNT(id) FROM usfun WHERE target='".$who."' AND action='poke'"));
$main.="Been poked <b>$nopl[0] </b> times<br/><br/>";
   $main.="the last thing that $wnick needs now is another poke, $pron has been poked till $pron3 eyes water, do you really wanna poke $pron3 again?  are you obsessed with poking <br/>";
   $main.="<a href=\"userfun.php?action=poke&who=$who&sid=$sid\">Poke!</a><br/><br/>";

thanks to anyone that helps me out

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close