Hey there, I was wondering if the error I receive on my form is because of mysql_query:
An error occurred.
/drupalTest/ahah_helper/patientDetails
(no information available).The "patientDetails" part probably stems from this:
'path' => ahah_helper_path(array('patientDetails')),
this piece of code is placed in the '#ahah' array of a submit button.
patientDetails is also, of course, a fieldset... and all the items that need to appear or disappear (depending on a button already being clicked or not) are placed in that fieldset right now.
The query looks like this right now, although it doesn't matter what I change it to... it always seems to give that error:
$query = mysql_query("SELECT Person.name, Person.firstName FROM Person per, Patient pat WHERE Patient.personId = Person.personId AND Patient.patStuId = '$patientStudyId'") or die(mysql_error()
$patientStudyId is initialized and has a value (I deduced that through drupal_set_message($patientStudyId); )
And now I'm hitting a wall... again...
I haven't the foggiest clue how to fix this... if anyone could help me out, I'd be undyingly grateful :D
Greetz and thanks,
Peter