PHP and Wordpress

Discussion in 'PHP' started by cckid, Jun 14, 2007.

  1. #1
    Hi there -
    I currently have a website that is running on Wordpress. This site is an affiliate marketing website and I post deals on a nearly daily basis. What I have to do after I add the links to my database is go into Wordpress and write a new post telling it to get all the deals for the day.
    There is a problem with this: users cannot search for deals and I end up having to use a lot of PHP (with the runphp plugin) in order to get my links to show up. It works ok, but is rather cumbersome, sometimes it messes up and I have to fix it.

    my questions are: 1) is there a way to make the links (that are in a mysql database) searchable by wordress and 2) is there a way to make wordpress automatically create a new entry whenever I add something to my deals database?
    I could write a cron script, but not sure what it needs.

    any advice is appreciated!
    best,
    cckid
     
    cckid, Jun 14, 2007 IP