|
| Web Hosting Deals | Holiday Logo Design | Webcam Chat | Website Header Templates | Register domain | Search Engine Optimisation | Web Hosting |
|
|||||||
| PHP / Perl / Java / JavaScript / CGI Tutorials PHP / Perl / Java / JavaScript / CGI Tutorials Please do not use this Forum to advertise your site or to link to tutorials. |
![]() |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Please note that you need to pick the name of the function wisely because in your example you will probably get an error (or warning) because date() already exists in PHP itself.
--- Quote:
--- Maybe you can extend this howto by talking about functions with arguments? --- And one more thing is that you actually tell the same thing 3 times...But then again it is well written ![]() |
|
||||
|
Quote:
My original tutorial involved using the names of functions with _name so this problem never arised, it was only since i stopped using the under score infront of the name in the function in late 2006 (Because a client got confused while eding the script, and it took me 3 days to recode it) so my apologies for this, and anyone who may have been misled The source was indeed coped from w3schools i respect their website & their tutorials. I use code from them wherever possible, and i refer all those who wish to learn to code, so when they see my tutorial, and then see the same code on W3, they can remember the fact that i wrote said tutorial, and return to see if there are any more (my logic is undeniable)... I would like to point out here, that it was only since i started posting tutorials at talk mania, that i started using source from other websites. I have no wish to extend this tutorial to cover functions with arguments at the moment, this is because i am doing a step by step tutorial now, which starts off at the very baisic level, and ends with writing full blown scripts. In these tutorials we will effectively be building a CMS, and as i use new functions (or write them) they learn what they need to know. So if i use functions with arugments, i will explain how to use them, and what they are. You point out that i said somthing 3 times, i belive you are refering to the line "You must use { & } to tell the server your starting and ending your function." Yes, your right i do use this line 3 times, this is only because when i started learning PHP, syntaxes were the main thing i had a problem with, so you will see me repeating the syntaxes in most if not all of the tutorials i write. By the tone of your reply, i can only assume that you are under the impression that i don't understand the language, or don't know it. I can assure you that this is not the case. Having written 1500 seperate scripts in the last 2 years, my skills are not to be doubted, and certainly should not by you. I do hope that you did not mean your reply in a spitefull way. Yours most sincerely Thomas Gray Customer Services, General Coding & Sales manager - Pure Host UK
__________________
http://www.pointserv.co.uk/gfx/deal_..._pointserv.png PointServ.co.uk - One of the UK's cheapest webhosting companies. Last edited by Base; 03-28-2007 at 07:10 AM. Reason: Spotted spelling errors |
|
|||
|
Quote:
|
|
||||
|
It's all OK, no harm done, i was a little offended you see
![]() Hope you liked my tutorial tho! Base
__________________
http://www.pointserv.co.uk/gfx/deal_..._pointserv.png PointServ.co.uk - One of the UK's cheapest webhosting companies. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|