Forums
This topic is locked
Variable in URL redirect after form submit
Posted 18 May 2004 10:48:52
1
has voted
18 May 2004 10:48:52 Craig Baxter posted:
Hi,I am using PHP Upload and Smart Image Processor.
I have my page setup with a form that does two inserts into different tables - one is a details table, the other is an image table. I store the image based on the details id - but as this is not known at time of submit I use a recordset selecting from details id desc limit 1 + 1 to give me the next id that would be generated.
My submit is working fine but I want to redirect to a 'finish' page that shows what was inserted and therefore need to add the detail id to the url, when I do this I get an Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING .
Can anyone help please?
Replies
Replied 19 May 2004 02:25:43
19 May 2004 02:25:43 Dean Blackborough replied:
I believe you generally see T_STRING or T_VARIABLE or T_NUM_STRING . when you miss a ; or ' or ", assuming you are doing a little manual coding else no idea.
--------------------------------------
www.galleryof3d.com
(PHP and MySQL)
Edited by - G3D on 19 May 2004 02:26:40
--------------------------------------
www.galleryof3d.com
(PHP and MySQL)
Edited by - G3D on 19 May 2004 02:26:40