Nabor
|
| Posted: 02/02/2003, 4:28 PM |
|
Parse error: parse error, expecting `'('' in c:\program files\apache
group\apache\htdocs\newproject3\NewPage1_events.php on line 35
if people.EditMode then
people.user_id_assign_by.Value = CCDLookUp("name", "city_no", "phone_code="
& CCToSQL(people.phone_code.Value,"Integer") , DBDatabase)
else
people.user_id_assign_by.Value = CCDLookUp("name", "city", "phone_code=" &
CCToSQL(CCGetphone_code,"Integer"), DBDatabase)
end if
people table
city table
people_no | people_name | phone_code
phone_code | name
|
|
|
 |
Sixto Luis Santos
|
| Posted: 02/03/2003, 5:17 AM |
|
Hello,
You are trying to use VBScript syntax in PHP. Post the whole
NewPage1_events.php here and I'll try to help you convert it.
Regards,
Sixto
"Nabor" <nabor@myself.com> wrote in message
news:b1kd2s$2km$1@news.codecharge.com...
> Parse error: parse error, expecting `'('' in c:\program files\apache
> group\apache\htdocs\newproject3\NewPage1_events.php on line 35
>
> if people.EditMode then
>
> people.user_id_assign_by.Value = CCDLookUp("name", "city_no",
"phone_code="
> & CCToSQL(people.phone_code.Value,"Integer") , DBDatabase)
>
> else
>
> people.user_id_assign_by.Value = CCDLookUp("name", "city", "phone_code=" &
> CCToSQL(CCGetphone_code,"Integer"), DBDatabase)
>
> end if
>
> people table
> city table
>
> people_no | people_name | phone_code
> phone_code | name
>
>
>
|
|
|
 |
|