pmonty
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by pmonty
-
-
My statement
mysql_query("UPDATE videos SET views = views + 1 WHERE code = '$video'");
it seems to be updating the view count by 1 but the moment that i go to another video then another it starts to increase by 1 or more every time during that session. I am killing the mysql connection to so not sure whats its doing. Any idea guys?
-
My site has similar quote section to brainyquote but i am not sure what plugin i am suppose to use. So when they click on the facebook icon it comes up with the quotes text/info in a new window to be shared on either facebook or twitter. Any idea which plugin and how they got the icon so small? I have a few sections on my site that need this sort of thing. Any help would be great! thanks in advance
-
$left .= <div class="quotepost"><div class="textdiv"><q class="quotetext">.$row['quote'].</q></div><p class="quoteauthor">-.$row['author'].</p></div><br/>;
on this line i am getting :Parse error: syntax error, unexpected '<' on line 91 not sure what it is because my tags look fine. Any ideas would be helpful? thanks
php mysql update statement
in PHP
Posted
best way i am thinking of is to get the result and then work out what it needs to b then just have SET 'whatever the number is' instead