ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 27,496
- Points
- 823
Reputation:
I created a node with the PHP callback \AmmoForm\index with getData method. I wrapped the entire index.php file like so:
Code:
I then received an error stating "syntax error unexpected T_DECLARE expecting T_FUNCTION". Upon saving the node I received the following error:
Any ideas what I'm doing wrong.
Continue reading...
Code:
Code:
<?php
namespace AmmoForm;
class Index{
index.php contents
}
?>
I then received an error stating "syntax error unexpected T_DECLARE expecting T_FUNCTION". Upon saving the node I received the following error:

Any ideas what I'm doing wrong.
Continue reading...