Jump to content

Displaying related field data in a search


This topic is 5587 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Registration Summary

<?php echo $newregistrationData['Serial_Number'][0]; ?>

<?php echo $newregistrationData['Course_Code_1'][0]; ?>

<?php echo $newregistrationData['First_Name_1'][0]; ?>

<?php echo $newregistrationData['Last_Name_1'][0]; ?>

<?php echo $newregistrationData['Special_Requirements_1'][0]; ?>

<?php echo $newregistrationData['Job_Title_1'][0]; ?>

<?php echo $newregistrationData['Date_of_Birth_1'][0]; ?>

<?php echo $newregistrationData['Employer_1'][0]; ?>

<?php echo $newregistrationData['Program_1'][0]; ?>

<?php echo $newregistrationData['Work_Address_Line1_1'][0]; ?>

<?php echo $newregistrationData['Work_Address_Line2_1'][0]; ?>

<?php echo $newregistrationData['Work_Suburb_Town_1'][0]; ?>

<?php echo $newregistrationData['Work_Post_Code_1'][0]; ?>

<?php echo $newregistrationData['Work_Phone_1'][0]; ?>

<?php echo $newregistrationData['Work_Fax_1'][0]; ?>

<?php echo $newregistrationData['Mobile1_1'][0]; ?>

<?php echo $newregistrationData['Work_Email_1'][0]; ?>

<?php echo $newregistrationData['Course_Information_1::Course_Name'][0]; ?>

<?php echo $newregistrationData['Course_Information_1::All_Course_Dates'][0]; ?>

<?php echo $newregistrationData['Course_Information_1::All_Presenters'][0]; ?>

<?php echo $newregistrationData['Course_Information_1::Venue_Name'][0]; ?>

Link to comment
Share on other sites

A quick work around that will solve this:

Instead of trying to echo the related field, in PHP you can have a second query that parses the database directly.

So you would have the second query:

$relatedcourse = new FX($serverIP,$webCompanionPort);

$relatedcourse -> SetDBData('A_Different_Database.fp7', 'SomeLayout');

$relatedcourse -> SetDBPassword($webPW, $webUN);

etc.

Link to comment
Share on other sites

This topic is 5587 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.