阅读背景:

How to display specific value from database to a page using php?

来源:互联网 

I'm new to php and mysql and I got stuck here. I have a database that stores image paths. And these images are then displayed on page. Now, I have a column called "upvotes" in the database table and all I want to do is display this value "upvotes" from database to the php page - under each image it's own value. I'd also like to be able to increase or decrease the "upvotes" value directly from the page and order the images from most upvotes to least upvotes.I'm new to php and mysql and I got stuck here.




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: