View Single Post
  #1 (permalink)  
Old 08-07-2007, 10:46 AM
Lee's Avatar
Lee Lee is offline
PT Staff*
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: Blackpool, UK
Posts: 616
iTrader: (0)
Lee is just really niceLee is just really niceLee is just really niceLee is just really nice
[SOLVED]get value from function

Hey,

I know theres some PHP geeks here

I have a simple question that i cant find an answer for.

example function:
PHP Code:
function test_func()
{
//Do some things here
$Value "Result in here"

I then want to echo the result to the page but thats where i can not get things to work, what do i have to do to get this value to echo?

An example would really help me then i can see what i need to do or if i am doing something wrong?

Thanks,
Lee.
Reply With Quote