Thread
:
Passing a variable to a function
View Single Post
12-06-2007, 12:37 PM
#
6
(
permalink
)
d4v1d
The Contributor
Join Date: Dec 2007
Location: Durban, South Africa
Posts: 51
Thanks: 1
you need to define a variable within your function such as
PHP Code:
function
posts_by_category
(
$number
)
__________________
[ My Portfolio / Blog ]
[ My LinkedIn ]
[ My Twitter ]
d4v1d
View Public Profile
Send a private message to d4v1d
Visit d4v1d's homepage!
Find More Posts by d4v1d