Zymic

Webmaster resources

Follow us on Twitter!

Hosting status updates - Click here

PHP & MySQL

Free Tutorials » PHP & MySQL » Creating your own PHP functions

A function in its simplest form is a set of instructions. Learn the basics in this tutorial.

Tutorial comments

08.09.2010 -

soner says …

Whathttp://www.zymic.com/tutorials/php/creating-your-own-php-functions/comments/ do http://www.zymic.com/tutorials/php/creating-your-own-php-functions/comments/you think of this tutorial? Type your cohttp://www.zymic.com/tutorials/php/creatinhttp://www.zymic.com/tutorials/php/creating-your-own-php-functions/comments/g-your-own-phphtthttp://www.zymic.com/tutorials/php/creating-your-own-php-functions/comments/p://www.zymic.com/tutorials/php/creating-your-own-php-functionshttp://www.zymic.com/tutorials/php/creating-your-own-php-functions/comments//comments/-fhttp://www.zymic.com/tutorials/php/creating-your-own-php-functions/comments/unctions/comments/mment here!

11.08.2010 -

emad176 says …

bikhiaal velesh kon

29.07.2010 -

rhfanth says …

хуйня!!!!!!!!!

29.07.2010 -

shoutitup says …

Thanks.

13.07.2010 -

ngoxatay says …

help The login required for this is a database user, database password and database name, to obtain them, please create them

23.06.2010 -

abtwin says …

хрень

20.05.2010 -

hytk100 says …

Great Thanks.

20.05.2010 -

hytk100 says …

Great Thanks.

06.05.2010 -

jianqi says …

very good !!!

29.04.2010 -

ehsangholami says …

Great Thanks.
how I can understand php programing with sql approach?
gholami84105862@gmail.com

27.04.2010 -

inamcute says …

dnt now

21.04.2010 -

qianshou says …

my good girl.I like.

21.04.2010 -

qianshou says …

good

03.04.2010 -

ckcljj says …

nice and simple. love it

11.02.2010 -

duraith says …

nice and simple. love it

09.02.2010 -

tckalexon says …

i'm not qualification to diplomate of webmaster, i'm biginner it's very simple he or her have to say all....lol

04.02.2010 -

ioid44 says …

very good

25.01.2010 -

xazei says …

good

18.01.2010 -

flykingguo123 says …

sorry,I can't understand,can you speak more

18.01.2010 -

flykingguo123 says …

sorry,I can't understand

09.01.2010 -

shpetim says …

I don`t know anything about PHP or HTML. So could someone build a log in and regioster form for me
Upload picture and stuff like that for my visitors
Please Please Help !!!

08.01.2010 -

freewind19 says …

fg

08.01.2010 -

freewind19 says …

fg

08.01.2010 -

freewind19 says …

Warning: set_time_limit() has been disabled for security reasons in /www/zxq.net/b/t/1/bt18/htdocs/admin/collect/admin_revod.php on line 21
why?thank your help

08.01.2010 -

freewind19 says …

it is very good thanks

08.01.2010 -

freewind19 says …

very good

08.01.2010 -

ttllook says …

good .let me try

05.01.2010 -

bt18 says …

xmlhttprequest status:[12152] unknow status ?
bt18.zxq.net thanks!

05.01.2010 -

bt18 says …

Warning: set_time_limit() has been disabled for security reasons in /www/zxq.net/b/t/1/bt18/htdocs/admin/collect/admin_revod.php on line 21
why?thank your help

21.12.2009 -

tumbakul_22 says …

nice

20.12.2009 -

xzycx says …

ok

20.12.2009 -

xzycx says …

ʲô㿼ָ? ע!

19.12.2009 -

xzycx says …

ʲô㿼ָ? ע!

08.12.2009 -

webmilio says …

Very Great tutorial !

08.12.2009 -

webmilio says …

sorry, i was on the bad tutorial

08.12.2009 -

webmilio says …

I don't think so

02.12.2009 -

knidos48 says …

very helpfull))

02.11.2009 -

bestbinbin says …

good , very well

02.11.2009 -

bestbinbin says …

great

27.10.2009 -

says …

bd

25.10.2009 -

Ridrik says …

What do you think of this tutorial? Type your comment here! What do you think of this tutorial? Type your comment here! What do you think of this tutorial? Type your comment here! What do you think of this tutorial? Type your comment here! What do you think of this tutorial? Type your comment here! What do you think of this tutorial? Type your comment here!

25.10.2009 -

Ridrik says …

What do you think of this tutorial? Type your comment here! 2

14.10.2009 -

mandat-poste says …

je comprends rien de l'anglais... Pouviez vs parler le français svp???

13.10.2009 -

jier says …

rtttttttt

30.09.2009 -

batongo says …

Süper Thanks Zymic..

27.09.2009 -

Pinkykthnx says …

I'm not the best in php but I've learned a little bit from reading this forum.

25.09.2009 -

chldydtjr says …



02.09.2009 -

XxRavenKnightxX says …

this site needs more things to help out out members

12.08.2009 -

vladimirFTP says …

ни чего не понятно, где информация об FTP (логин пароль), как завести базу данных SQL

22.07.2009 -

dmhbrvt says …

good , very well

07.07.2009 -

aboyasir says …

For all ..
It is better to visit PHP Manuel host site to get real help about PHP language at next link: http://www.php.net/manual/en/

Enjoy and good times ..

02.07.2009 -

Tenchi says …

for some reason when i put the code onto my site nothing shows up, can somebody help me with this?

29.06.2009 -

hfdc28 says …

nice tutorial for a beginner!

29.06.2009 -

ceca says …

Great! Very helpful!

28.06.2009 -

navmeet says …

please tell me how to create a contact form too i have several fields that i want to put on my form like Name, email, Address, Phone, Fax, company, Key contact, enquiry, etc.
if u can then please email me on navmeetsingh@gmail.com

26.06.2009 -

shadowlord101 says …

how can you write to a txt in php and call it from the html

12.06.2009 -

mrwilson1 says …

Functions scare the heck out of me :). But this tutorial helps better than most books I have read. Thank you

05.06.2009 -

shanboyz says …

Hey how to create a contact form????? email me at nishanth_17@hotmail.com

22.05.2009 -

indiainet says …

nice tutorial. Indiainet.com

16.05.2009 -

jmarshall says …

:(

15.05.2009 -

netniaz says …

www.netniaz.com

26.04.2009 -

nbrios says …



19.03.2009 -

ndthuanuit says …

Nice tutorial for the people who have basic PHP language understanding, and are wishing to make their code run smoother, aswell as make their code appear neater with less repeated code clogging up their script, making things easier to debug (if a problem occurs)

19.03.2009 -

ndthuanuit says …

Great !

14.03.2009 -

drp-foto says …

=(

27.02.2009 -

PaLLa says …

ciao

09.02.2009 -

shijie says …

payah ehhh!!!

27.01.2009 -

santhika says …

nice one

11.01.2009 -

akerar says …

Why I cannot include file stored in subfolder?

11.01.2009 -

uSearch says …

=]

11.01.2009 -

magyarb942 says …

ide mész hehe

03.01.2009 -

betheangel says …

kancang jua web nie..

28.12.2008 -

ashwinisingh says …

Plz write more tutorial about make community, how send msg,send post, chat service code in php, then it will great help for all.

07.12.2008 -

pengembaramalam says …

gak begitu paham aku....

08.11.2008 -

cann5 says …

apa yang kamu cakap ni?? tidak faham langsung ooo

08.11.2008 -

afifeespoir says …

very cood.

21.10.2008 -

Trice says …

Nice tutorial for the people who have basic PHP language understanding, and are wishing to make their code run smoother, aswell as make their code appear neater with less repeated code clogging up their script, making things easier to debug (if a problem occurs)

10.10.2008 -

zahd12 says …

thaxxxx man you are welcome

10.10.2008 -

asg72003 says …

hi! good morning..can anyone please help me with the displaying of an image in thumbnails from MySQL database table, in php script ofcourse, i've already have the uploading script and it successfully upload the image in any large size..hope to meet the right php script..THANKS --whil28

04.10.2008 -

musik4u says …

chán quá ta!

31.08.2008 -

thegees says …

This tutorial is not for people who have only just started using PHP. Before doing this tutorial you need to know about incrementing values and what the stuff means. This is a tutorial about functions, not the other stuff. This is a really good and quick tutorial which you only need to glance at to remind yourself but also has the full explanation. Very good job in my opinion.

29.08.2008 -

nicolis says …

++ means increment and this is something everyone should know.

26.08.2008 -

nhatminhhacker says …

hjx , please upload for me a zip file to this email about source code ? could you ?
Email : nhatminh.hacker@gmail.com (*i'm vietnamese , forgive my mistake ! thanks ! *)

25.08.2008 -

marvintjuh says …

What do you think of this tutorial? Type your comment here!
Gr,

25.08.2008 -

bonedaddy says …

MY HEAD HURT'S REAL BAD !!

18.08.2008 -

gashugroup says …

Its too forward, I have very little knowlege of PHP and its slightly to advance for someone who hasnt done it before, Id suggest explaining something for for($i=0; $i < $num; $i++) like what are the ++ for?

10.08.2008 -

fishpaste says …

confussinnggg

09.08.2008 -

shijie says …

im dont now plz help me

03.08.2008 -

jordanparker says …

You make custom functions with a function itself..

[php]

[/php]

That's it all.

01.08.2008 -

dancingcactus27 says …

i am so confused...?!?!?

25.07.2008 -

msila says …

merci

24.07.2008 -

vodopives says …

how do i send an email with php?

15.07.2008 -

logintomyspace says …

What? How do you make custom functions....?

14.07.2008 -

eze845 says …

i not understant
:S

07.07.2008 -

elhaker says …

thank

12.06.2008 -

shadowmaster says …

what u tink of us

08.06.2008 -

theemc says …

great tut !+1

02.06.2008 -

1crorepixels says …

Great

15.05.2008 -

sonyeuthao says …

jlnok

08.05.2008 -

alh302 says …

BobbaProduction says …

02.05.2008 -

nguoinhieubg says …

Nguyen huu hiep

11.04.2008 -

aznsoldier6 says …

Thank very much. Great help!

05.04.2008 -

BobbaProduction says …

GAY

19.03.2008 -

phuongvan says …

dsfdssdssads

15.03.2008 -

bagyo says …

hello, how to remove a file? bcoz i cannot use function unlink nor delete.

21.02.2008 -

asmr says …

thank u

20.02.2008 -

JJSSMAN says …

Me neither.

16.02.2008 -

chullo says …

Where i get chicken and rice/

15.02.2008 -

rafas says …

System.php


>>>method=>>>POST>>>
>submit>> value=>>submit>





13.02.2008 -

ahiska-kavkaz says …

love it

06.02.2008 -

gwolf2u says …

wow this one is nice

26.01.2008 -

trungphu says …

i can't understand :(

05.01.2008 -

LiLManiac says …

hmm like the C++

03.01.2008 -

fngtest says …

It's COOL

29.12.2007 -

cuhadar says …

nothing

19.12.2007 -

naujiems says …

SVAIKI ATVYKE I L2-NAUJIEMS SERVERIO PUSLAPI

08.12.2007 -

vb says …

bien

17.11.2007 -

yasin says …

kayserifutbol

14.11.2007 -

edgardo777 says …

excelente

13.11.2007 -

lisasupport says …

Warning: mail() [function.mail]: SAFE MODE Restriction in effect. The mail() command is not allowed.

What php script I can use to use other than mail() command.

Thanks

31.10.2007 -

randomdesign says …

Ah.. Didnt undrestand anything.

31.10.2007 -

megalogs92 says …

shit

25.10.2007 -

veri_jovi says …

great....

04.10.2007 -

digitalx says …

too easy :) hope it helped people.

25.09.2007 -

gafe7 says …

shit

25.09.2007 -

gafe7 says …

shit

23.09.2007 -

miiikkeyyyy says …

I wish there was decent tutorials like this when I was starting out, good work!

21.09.2007 -

Maske says …

What do you think of this tutorial? Type your comment here!

Tutorial statistics

Date added:
23.08.2007
Author:
Alex Elliott
User rating:
4/5
Rate tutorial:
Total views:
43020
Total comments:
128

Advertisements