Hi Natty:
Thank you for your kind reply.
I did some additional thinking, and decided to increase the number of fields to eliminate any 'sub-parsing' (within a particular field).
OK...here is a sample of the HTML page wherein (for the Example) several options will be selected: Size=XL, Color=White, Inscription="Good Luck!".
<html>
<head>
<title>Test</title>
</head>
<FORM action="process.php" method=POST>
<INPUT TYPE="hidden" name="item" VALUE="TS^SFP-1^Stanley Shirt^12.950^qty^Super
^prodsize^prodcolor^inscribe^.5^^^NC^^^^yes^^^[url]http://www.somedomain.com/images/prodpix1.gif[/url]">
Quantity:<INPUT NAME=qty size=2 value="1">
Size:
<SELECT NAME=prodsize>
<OPTION 1>XL
<OPTION 2>Large
<OPTION 3>Medium
<OPTION 4>Small
</SELECT>
Color:
<SELECT NAME=prodcolor>
<OPTION 1>Red
<OPTION 2>White
<OPTION 3>Blue
</SELECT>
Inscription: <INPUT NAME=inscribe type="text" size=10 maxlength="10">
<br><br>
<INPUT NAME="submit" type="submit" name="Process">
</FORM>
<body>
</body>
</html>
For some reason, the 'Submit' button does not read "Process" but rather 'Submit Query' which I find quite odd...never had that happen before.
The 'hidden' field info is to be parsed in 'process.php' which my skeleton of is:
<?php
// <INPUT TYPE="hidden" name="item" VALUE="TS^SFP-1^Stanley Shirt^12.950^qty^Super
// ^prodsize^prodcolor^inscribe^.5^^^NC^^^^yes^^^[url]http://www.somedomain.com/images/prodpix1.gif[/url]">
// CODE HERE to parse the above (EXAMPLE) string into $variables below.
// No entry between ^^ delimiters will = " ";
$prodtype = "TS";
$prodnum = "SFP-1";
$prodname = "Stanley Shirt";
$unitprice = $12.950";
$quantity = "1";
$model = "Super";
$prodsize = "XL";
$prodcolor = "White";
$inscription = "Good Luck!";
$shipweightunit ".5";
$shipcosteach = " ";
$insurefee = " ";
$qtychange = "NC";
$noshipcost = " ";
$notaxcost = " ";
$digital = " ";
$invupd = "yes";
$future1 = " ";
$future2 = " ";
$prodpix = "http://www.somedomain.com/images/prodpix1.gif";
// DATA MANIPULATION will take place here with further processing
// on subsequent php pages. This may require "Sessions"? FORM ???
?>
So, if a delimited field contains nothing, the $variable must have a null value (" ").
Later in the processing, I need to append $model, $prodsize, $prodcolor & $inscribe TO $prodname with " - " between.
Or, create another $variable like:
$prodfull = "Stanley Shirt - Super - XL - White - Good Luck!"
Or, maybe: $prodfull = "Stanley Shirt:Super:XL:White:Good Luck!
Does this make sense?
Umh, in the post 'hidden' fields for the URL looks messed up I think...it is supposed to have an h t t p : / / just the link value as showing in the $prodpix = ($variable example).
Thanks much.