I have problem when I submit the form to test it from front end of Website. After submitting the form it should take you back to the homepage, but instead it gives this code:
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/fumcwaxa/public_html/components/com_chronocontact/chronocontact.php(53) : eval()'d code on line 9
Fatal error: Call to a member function bind() on a non-object in /home/fumcwaxa/public_html/components/com_chronocontact/libraries/customcode.php(71) : eval()'d code on line 13
PLEASE HELP!!!!
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/fumcwaxa/public_html/components/com_chronocontact/chronocontact.php(53) : eval()'d code on line 9
Fatal error: Call to a member function bind() on a non-object in /home/fumcwaxa/public_html/components/com_chronocontact/libraries/customcode.php(71) : eval()'d code on line 13
PLEASE HELP!!!!
Hi joncbaile,
You probably have a dash or space or some other special character in one of your input names - the error is a failure in the database table code that is usually caused by this.
Bob
You probably have a dash or space or some other special character in one of your input names - the error is a failure in the database table code that is usually caused by this.
Bob
So, I am new to php programming but how exactly should I go about solving this problem?
Hi joncbaile,
You need to start by looking at the names you've given your form inputs, and the form itself and making sure that that none of them have dashes or spaces or other special characters in them.
Bob
You need to start by looking at the names you've given your form inputs, and the form itself and making sure that that none of them have dashes or spaces or other special characters in them.
Bob
Okay so I understand you correctly I need to look through the Form HTML : (PHP) and find the div_class and label_class to find special characters? For instance is there a problem with this code:
<div class="form_item">
<div class="form_element cf_checkbox">
<label class="cf_label" style="display: none;">Time Row 3</label>
<div class="float_left">
<input value="9:30 - 10:00 pm" title="" class="radio" id="check26" name="check2[]" type="checkbox" />
<label for="check26" class="check_label">9:30 -10:00 pm</label>
<br />
<input value="11:30 - 12:00 am" title="" class="radio" id="check27" name="check2[]" type="checkbox" />
<label for="check27" class="check_label">11:30-12:00 p</label>
<br />
</div>
</div>
<div class="cfclear"> </div>
</div>
<div class="form_item">
<div class="form_element cf_checkbox">
<label class="cf_label" style="display: none;">Time Row 3</label>
<div class="float_left">
<input value="9:30 - 10:00 pm" title="" class="radio" id="check26" name="check2[]" type="checkbox" />
<label for="check26" class="check_label">9:30 -10:00 pm</label>
<br />
<input value="11:30 - 12:00 am" title="" class="radio" id="check27" name="check2[]" type="checkbox" />
<label for="check27" class="check_label">11:30-12:00 p</label>
<br />
</div>
</div>
<div class="cfclear"> </div>
</div>
This topic is locked and no more replies can be posted.