Re: [PHP-DB] Joinging two different mySQL result?

2004-08-15 Thread Kim Steinhaug
Hehe, I ended up with a mile long sql query since I had to do some smart setup to make all tables work in the UNION. To distinquish between from where the data came from I did this Example (Look at the fromtable) (SELECT id, name, 0 as fromtable FROM table1 where blabla) UNION (SELECT id, compan

RE: [PHP-DB] How to forward a POSTed form to another server and catch the return for further processing

2004-08-15 Thread Peter Lovatt
hi this should do the trick Peter // this is the script to pass the post onto $server_to_post_to = 'http://www.test.com/somescript.php'; $url = parse_url($server_to_post_to); unset($request_data) ; //run through the data POSTed to this server and build a new POST request foreach ($_