0

Hi people... I have phpVideoSearch script, and want to add a feature, that if someone a specified page, to add to mysql a +1 value...

Example this is the page:

watch.php?title=Riz+Khan&link=http://www.youtube.com/v/[B]xE0wOa5R6KY[/B]

i've set a code to create a id for this video like:
yt_xE0wOa5R6KY

Can someone help me create a code for each view on yt_xE0wOa5R6KY the views value to increment for +1 on the table!

:::
Mysql Table fields:
vidid ( = $commentvidid)
views

If you think you can help me, i give you a license for phpVideoSearch!

2
Contributors
1
Reply
4
Views
8 Years
Discussion Span
Last Post by mwasif
0

MySQL query will look like

UPDATE table_name SET
 view = view+1
WHERE vidid='yt_xE0wOa5R6KY'
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.