Thanks anyway guys.
Search found 3 matches
- Mon Jan 26, 2009 1:39 pm
- Forum: PHP - Code
- Topic: Using a class function to determine a forms action
- Replies: 4
- Views: 371
Re: Using a class function to determine a forms action
Okay, I appreciate the replies. I know I'm being far too fussy, after all, if it works then it works
Thanks anyway guys.
Thanks anyway guys.
- Sun Jan 25, 2009 6:26 pm
- Forum: PHP - Code
- Topic: Using a class function to determine a forms action
- Replies: 4
- Views: 371
Re: Using a class function to determine a forms action
Sorry, i should have mentioned that ultimately i want it to execute a void function. So rather than run the code in a *.php file (action="buildPost.php") i want it to run the code in a specfic class function ($NewPost->buildPost()) contained within a php file. I know i could use action=&qu...
- Sun Jan 25, 2009 11:31 am
- Forum: PHP - Code
- Topic: Using a class function to determine a forms action
- Replies: 4
- Views: 371
Using a class function to determine a forms action
Hi, i'm currently trying to learn how to program in PHP using the OO aproach and i'm having trouble with form actions. I'll post the section of code in question and then explain in more detail: <form action="$NewPost->buildPost()" method="post"> All relevant files are include...