[PHP] Wordpress/PHP question

2010-03-22 Thread John Tamm-Buckle
Hi all, I'm storing generated data as a post in wordpress using the wp_insert_post function, which works great. Users click a submit button and the things are saved, hurrah! However, on clicking the submit button I want to automatically navigate to the post. This has been less successful.

Re: [PHP] Wordpress/PHP question

2010-03-22 Thread Robert Cummings
John Tamm-Buckle wrote: Hi all, I'm storing generated data as a post in wordpress using the wp_insert_post function, which works great. Users click a submit button and the things are saved, hurrah! However, on clicking the submit button I want to automatically navigate to the post. This has

Re: [PHP] Wordpress/PHP question

2010-03-22 Thread Piero Steinger
On 22.03.2010 17:47, John Tamm-Buckle wrote: Hi all, I'm storing generated data as a post in wordpress using the wp_insert_post function, which works great. Users click a submit button and the things are saved, hurrah! However, on clicking the submit button I want to automatically navigate to

Re: [PHP] Wordpress/PHP question

2010-03-22 Thread tedd
At 12:59 PM -0400 3/22/10, Robert Cummings wrote: You have a space someplace... most like left after some anal coder decided it was a good idea to close all their ?php tags but didn't think about trailing space in the files :) Cheers, Rob. That may be, but I always add fiber to my coding.

Re: [PHP] Wordpress/PHP question

2010-03-22 Thread Piero Steinger
On 22.03.2010 18:45, John Tamm-Buckle wrote: Line 6 is: html xmlns=http://www.w3.org/1999/xhtml; ?php //language_attributes('xhtml'); ? Thanks, John On Mon, Mar 22, 2010 at 12:38 PM, Piero Steinger pi...@the-admins.ch mailto:pi...@the-admins.ch wrote: On 22.03.2010 17:47, John