Log in

View Full Version : Can a query do this?


Night Owl
10-28-2005, 02:52 PM
One of the administrators on my site had several items stolen from her house, including her computer with a year's worth of family photos. So now, the only ones she has left are those that she posted on our forum. I would like to find those for her.

Would be possible to write a query that I could run in phpmyadmin and that would pull up all the posts by her that have an attachment? If so, could someone who is better at query writing than me write one out?

I am running a heavily hacked VB 2.x forum, btw.

Thank you!

Xenon
10-28-2005, 03:25 PM
SELECT * FROM post WHERE userid = xx AND attachmentid > 0

Paul M
10-28-2005, 03:28 PM
You can view all your attachments in your usercp.

Night Owl
10-28-2005, 03:51 PM
Thank you very much, Xenon!

Xenon
10-28-2005, 06:34 PM
You can view all your attachments in your usercp.


was that possible in vb2?

don't remember that feature, but it has been a long time

@Night: you're welcome