-3
$reg = mysql_fetch_array($result);
if($reg['reg_type']=='Free'){ 
    echo "<h4>Few features are locked for Free members. Please pay via Bank Draft or easypaisa for premium membership and enjoy premium features.</h4>";
} ?>
<a href="AddEducation.php">Add Educational Information</a><br>
//here i have to give registeratin type but how//<?php if($reg['reg_type']=='Premium' && $reg['payment_status']=='paid'){?>
<a href="AddExperinece.php">Add Experience Information</a><br>
<a href="AddSkills.php">Add Skills Information</a><br> 

enter image description here there is an option for premium registeration in filling form but o am confused how i will specify regestration type in my code

Ajm
  • 1
  • 1

1 Answers1

-1

There is a problem with $reg['payment_status']

$reg['payment_status'] is not identified in the script / not declared / unknown to the script.