I generate a form with the PHP IDE and it runs. I put a button on that forms and it runs. I attached code to that button to change the Caption when it is clicked and I get the following:
Parse error: syntax error, unexpected '='
No matter what I do, I get a syntax error The code is below.
NOTE : I have not included all three statements in the code at the same tmie. I include all three here only to show what I have tried. On the other hand if I simply put in Button1.Caption; it does not flag that as an error and the forms is displayed.
What in the world am I missing?
function Button1Click($sender, $params)
Button1.Color = 5;
$sender.color = 5;
Button1->caption = "test";