chuck_limbo Posted February 21, 2010 Share Posted February 21, 2010 Can someone help me with this error. I have come across it before but changed around the "unexpected" object, in this case ';' What does this mean? Here's the code, the second line is where the unexpected ';' is. Fläta: Halsband med silver pärlor<br /> Storlek (cm): <span id="storlek"><?php echo session_start($_SESSION['storlek'] = $_POST['storlek']?></span><br /> </p> Link to comment https://forums.phpfreaks.com/topic/192838-another-parse-error-syntax-error-unexpected/ Share on other sites More sharing options...
Mchl Posted February 21, 2010 Share Posted February 21, 2010 The direct reason is missing ) after $_POST['storlek'] Other thing is, session_start does not expect any parameters passed to it. What you want this code to do? Link to comment https://forums.phpfreaks.com/topic/192838-another-parse-error-syntax-error-unexpected/#findComment-1015761 Share on other sites More sharing options...
chuck_limbo Posted February 21, 2010 Author Share Posted February 21, 2010 Thanks for the response. I am new to this. But what I want to do is have a page that displays an image of an item, with a drop-down menu or two underneath allowing the customer to select a customizable option of the item being sold. I want the data from the drop down menu to appear on the following page (after the submit (order) button is clicked) where the customer fills in postal address details, and then submits that, along with the previous customizable options on the page with the image of the item...I then need all the information to be sent to my email address. I am recieving all the info but not the info from the page with the image of the item. Thanks. Link to comment https://forums.phpfreaks.com/topic/192838-another-parse-error-syntax-error-unexpected/#findComment-1015768 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.