diff --git a/register_participants_main.php b/register_participants_main.php index 5af9bd2..8e9055e 100644 --- a/register_participants_main.php +++ b/register_participants_main.php @@ -66,6 +66,11 @@ echo mysql_error(); if(registrationFormsReceived()) { + + //now select their project number + $q=mysql_query("SELECT projectnumber FROM projects WHERE registrations_id='".$_SESSION['registration_id']."' AND year='".$config['FAIRYEAR']."'"); + $projectinfo=mysql_fetch_object($q); + if($r->status=="complete") { echo i18n("Congratulations, You are successfully registered for the %1. No further changes may be made to any of your forms.",array($config['fairname'])); @@ -74,9 +79,12 @@ echo mysql_error(); else if($r->status=="paymentpending") { echo i18n("We have received your forms but are missing your registration fee. You are NOT registered for the fair until your registration fee has been received"); - } + echo "
"; + echo i18n("Your project number is:"); + echo "  $projectinfo->projectnumber"; + } else {