View Full Version : Parse error: syntax error, unexpected '.'
mr hankey
07-18-2010, 08:10 AM
hi,
i am getting an error with server validation. the line it refers to is this:
$WAFV_Redirect = "clients_Detail.php?ClientID=" . $row_WADAclients['ClientID']; . "";
i am not great with php, is there something wrong with this line generated?
thanks
AlaskaTom
07-18-2010, 08:25 PM
Yep, there should be no semicolon after $row_WADAclients['ClientID']
The line should read
$WAFV_Redirect = "clients_Detail.php?ClientID=" . $row_WADAclients['ClientID'] . "";
Tom
mr hankey
07-19-2010, 01:07 PM
thanks alaskatom, is that a bug in the toolkit adding that?
thanks
Jason Byrnes
07-19-2010, 01:11 PM
When you added the server variable, how did you add it?
mr hankey
07-21-2010, 07:55 AM
hi jason,
i just clicked on server validation, then on the menu hit the plus button to add the validation, i then set the redirest page to the same page but clicked on parameters as i normally have done with data assist etc and put in ClientID click the lightning bolt for valua and set it to the recordset clientid.
this works with data assist but it never worked on the server validation.
sorted now though so thanks and i will watch out for that.
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.