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!

MySQL query will look like

UPDATE table_name SET
 view = view+1
WHERE vidid='yt_xE0wOa5R6KY'
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.