parse errors from server behaviors
I have created an input form for a mysql/php database set up on my testing server with a set of fields in a repeat region. All the fields are properly displayed when I switch to LiveView or browser preview. I am, however, having the following problem with server behaviors:
If I add “Display Total Records” at the bottom, it displays just fine, but if I try to add the behaviors for previous page, next page, starting record number or ending record number, I get this:
Parse error: syntax error, unexpected ';' in C:\XAMPP\htdocs\LEAP\admin.php on line 81
Lines 81-84 read:
$totalPages_VolApp = ceil($totalRows_VolApp/$maxRows_VolApp = 10;
$pageNum_VolApp = 0;
if (isset($_GET['pageNum_VolApp'])) {
$pageNum_VolApp = $_GET['pageNum_VolApp'];
I also cannot switch the repeat region to “show all records.” This results in a similar syntax error.
What is a parse error? What problem is indicated? thanks.
