[PHP-DB] Paging

2009-05-11 Thread Joey Hendricks
Hi everybody, I have a paging question. I have a page where you can view a persons 'profile'. And I have a list taken from the db of there books. I can get all the books on one page but I can't figure out the WHERE from the get. This is what I tried but it didn't work. $query = SELECT

[PHP-DB] Image and no image

2009-05-03 Thread Joey Hendricks
Hello, I have this set up to upload an image and if any of the fields are empty you get a All fields required. Now I can't figure out how to post the upload with or without an image. This is the code I have so far: I want to thank everybody so very much for all of your help! if

[PHP-DB] Hiding Admin Link

2009-04-30 Thread Joey Hendricks
Hello, I am very new at PHP so I will try to explain my question the best I can. I was wondering if there was a way to have a link show only to the owner of the site? Like having a Admin link for editing posts, but hidden to all users except the owner. Thank you very much for your time!!