All.
Playing with PHP to teach meself and have hit a brick wall.
I have:
- 1 file called functions.php with 11 functions in
- in functions.php is a function called create_acct()
- I have a index.php page with:
- include("functions.php")
- a form
Now, I want the action of the form to be create_acct(), how can I do it?
I have been sat here playing for just under 2 hours and haven't sussed it yet!!! Help appreciated.
I have put the function in a file of its own and called it and it works fine, its just when i want to call the function from the action of the form!!!!
I am of to pick me hair off he floor
Ryan