Active
Project:
phpBB2Drupal
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
10 Aug 2014 at 11:53 UTC
Updated:
10 Aug 2014 at 11:53 UTC
I have created a form with 2 fields (firstname and lastname) and a submit button.
I want that when user clicks a submit button, the entered data in 2 fields should get saved into a database table.
I have created a form using html code and called php script from that html code with action function.
It's working fine when I am running this html form from web but it's showing error message ("unable to locate php file when user clicks submit button") when I am putting this code in a content in drupal.
I have also changed the text format to PHP code.
Please let me know what am I missing.