Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~753 People Reached
Favorite Forums
Favorite Tags
php x 10

7 Posted Topics

Member Avatar for balle

Hello, I made a PM system but the thing that makes it read isn't working. Can you take a look at it anybody? [code] $postid = $_GET['postid']; mysql_query("UPDATE pm SET read=1 where id=$postid") or die(mysql_error()); [/code] And it gives this error: You have an error in your SQL syntax; check …

Member Avatar for balle
0
266
Member Avatar for balle

I'm making a page views script. I kinda need help with making the database making it +1 each view. This is my current code: [CODE] mysql_query("UPADTE posts SET views=+1 id='$start'"); [/CODE]

Member Avatar for mschroeder
0
95
Member Avatar for balle

How would I make a code that dynamicly gets MySQL and makes it like ?UserID=54556 :-/?

Member Avatar for johnmaguire2013
0
153
Member Avatar for balle

Hello, I am making a blog lock well for my blog. This is checking if the value "locked" is 1. If it is then its locked. When I test on my site it does NOTHING. Please help me fix this. =) [CODE] $g = mysql_query("SELECT * FROM blogcomment WHERE id='$start'"); …

Member Avatar for Member #120589
0
56
Member Avatar for balle

Hello, I have some code that I am having trouble with. The code in here is supposed to be a delete tool. When I click "Delete" it wipes the rows in post. Thank you in advance for fixing it! =D [CODE] if ($_POST['Delete']) { $deletepos = mysql_query("DELETE FROM posts WHERE …

Member Avatar for balle
0
47
Member Avatar for balle

How would I make it plus 10 to every users coin row while doing it automaticly every day. [CODE]<? include('dbConfig.php'); $get = mysql_query("UPDATE admin SET coins='' WHERE banned='0'") or die(mysql_error()); ?>[/CODE]

Member Avatar for Caeon
0
76
Member Avatar for balle

This code is acting weird like if I put the row "friendname" it wont show up at all. [CODE] <? $gar = mysql_query( "SELECT * FROM friends WHERE username='".$row['username']."'") or die(mysql_error()); //gets requests while ($reqs = mysql_fetch_array($gar)) { echo ' '; echo $row['friendname']; echo ' '; } ?> [/CODE]

Member Avatar for hielo
0
60

The End.