Jump to content

Help With PIREP Submitting

Recommended Posts

Hi Guys,

What im trying to do is when a manual PIREP is submitted on my website I need the arricao to go into a custom field in my aircraft table called location. I have tried changing this section in PIREPData.class.php but it don't work:

$sql = "INSERT INTO ".TABLE_PREFIX."pireps(
 VALUES ( {$pirepdata['pilotid']},

Any Ideas how to simply put the arricao in the arricao field and in my extra location field in my SQL table?

Many Thanks


Edited by lancaster123

Share this post

Link to post
Share on other sites

Looking at the insert on the surface it seems like it should work. Is the spelling of the column name not the same in the table as in the code possibly? Is the pirep not submitting at all, or is it just missing that field when it submits?

Share this post

Link to post
Share on other sites

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