How do I place a unique ID in my PHP confirmation page?

Posted by Erik on Stack Overflow See other posts from Stack Overflow or by Erik
Published on 2011-01-16T05:37:35Z Indexed on 2011/01/16 6:53 UTC
Read the original article Hit count: 244

Filed under:

I have a PHP script that emails me the results from a form that generates a unique ID number. The PHP script executes a confirmation page. I'm trying to place the unique ID on the confirmation page: quote_confirm.php. I already tried this in the conformation page:

 <?php
    $prefix = 'LPFQ';
    $uniqid = $prefix . uniqid();
    $QuoteID = strtoupper($uniqid); 
    ."<tr><td class=\"label\"><strong>Quote ID:</strong></td><td>".$QuoteID."</td></tr>\n"

© Stack Overflow or respective owner

Related posts about php