Noob Question: MyFirstPlugin
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
Nick (i-mail-j) said : | #3 |
It is the first Tutorial: http://
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.