[PHP-DB] old news SQL help needed

2001-09-29 Thread Larry Linthicum
I have a MySql table for news on the site the date the news is inserted goes in column news_date the text of the news itself, goes in columnleague_news I want to DELETE all news older than 7 days I looked in the MySql documentation at the date functions and tried the following but it

[PHP-DB] array from html form

2001-10-05 Thread Larry Linthicum
Hi I'm just a PHP hobbiest trying to build a points calculating system for another hobby, please bear with me. I need to build a multidimensional array from a html form, the array would look like: $needed_data = array ( array (id = $member_id, points = $position ),

Re: [PHP-DB] array from html form

2001-10-05 Thread Larry Linthicum
the subarrays contain variable data and I tried to express that by showing the array structure that way if I access $needed_data[0] it would be an array of two pieces of data ( both variable) $needed_data[1] would also be an array of two variable pieces of data, etc if I loop through them all