Ask a Question related to Macromedia Dreamweaver, Design and Development.
-
Paul Brown #1
parse error help pls
Hi PPL
Using DW MX with php_mysql server model
I am using the "Record Update Form" from the "Applications" tab on the
"Inert" pane.
I select the form element 'image' to be of type 'menu', these menu items are
inserted from a simple record set.
The code looks fine...
<code>
line 157 <?php
line 158 do
line 159 ?>
line 160 <option value="<?php echo $row_rsListImages['image_count']?>" <?php
if (!(strcmp($row_rsListImages['image_count'],
"$row_rsNewsItem[\'image_id\']"))) {echo "SELECTED";} ?>><?php echo
$row_rsListImages['image_desc']?></option>
line 161 <?php
line 162 } while ($row_rsListImages = mysql_fetch_assoc($rsListImages));
line 163 ?>
</code>
But I get this following error that I'm stumped over....can anyone help?
<error>
Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or
`T_NUM_STRING' in /home/paulb/http/intranet/webadmin/news_update.php on line
160
</error>
Cheers
PB
Paul Brown Guest
-
PHP Parse error: parse error, unexpected t_string
Thanks for your advice. It was a painstaking exercise and highly frustrating not being able to start Live data. Peter Kamstra -
#25256 [Opn->Bgs]: Parse error: parse error, unexpected $ in ... on line 642
ID: 25256 Updated by: iliaa@php.net Reported By: a dot schat at streamedge dot com -Status: Open +Status: ... -
#25256 [Bgs->Opn]: Parse error: parse error, unexpected $ in ... on line 642
ID: 25256 User updated by: a dot schat at streamedge dot com Reported By: a dot schat at streamedge dot com -Status: ... -
#25256 [NEW]: Parse error: parse error, unexpected $ in ... on line 642
From: a dot schat at streamedge dot com Operating system: Linux PHP version: 4.3.1 PHP Bug Type: Compile Failure Bug... -
Parse error: parse error, expecting `','' or `';''
I'm getting the following error Parse error: parse error, expecting `','' or `';'' in /home/notarywe/public_html/php/update2.php on line 108 Here...



Reply With Quote

