Open Source PHP RAD Framework with UI.

Noob Question: MyFirstPlugin

Asked by Nick on 2013-06-26

I have been trying to learn how to use PHPDS but have been unable to get a form to work. In your "Your first PHPDevShell script" I get an error concerning this line: $FORM_HTML = <<
The error is "syntax error, unexpected T_SL"
What can I do to fix this?

Question information

Language:
English Edit question
Status:
Solved
For:
PHPDevShell Edit question
Assignee:
No assignee Edit question
Solved by:
Nick
Solved:
2013-06-26
Last query:
2013-06-26
Last reply:
Nick (i-mail-j) said : #1

I found an updated first.php file and the tutorial works now. I suggest you update the tutorial is so it works properly without forcing the learner to hunt down working code.

Greg (gregfr) said : #2

Hello

Can you please specify where exactly you found the buggy file?

Thanks

Greg (gregfr) said : #4

OK it's actually a bug in Wordpress display, the line should read:

$FORM_HTML = <<<HTML

instead of

$FORM_HTML = <<

I'll try to find a way of fixing that.

Greg (gregfr) said : #5

Should be fixed now, thanks for your feedback.