EvilZone
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
EvilZone
»
Programming and Scripting
»
Web Oriented Coding
»
PHP function problem
Print
Pages: [
1
]
Author
Topic: PHP function problem (Read 501 times)
0 Members and 1 Guest are viewing this topic.
DreX
Serf
Posts: 42
Cookies: -5
PHP function problem
«
on:
April 17, 2015, 08:05:38 pm »
http://pastebin.com/FRHQSXq5
Can anyone tell me why this wont echo:
-the first three arrays are doing nothing since I wanted to test functions out on something simpler first.
add function: 8
sub function: 2
Instead I get:
add function:
sub function:
Also, is there a way I can track my code line by line and check the values like I can in NetBeans with Java?
Report to moderator
Logged
DreX
Serf
Posts: 42
Cookies: -5
Re: PHP function problem
«
Reply #1 on:
April 17, 2015, 08:09:49 pm »
NVM, no return command in the sub and add functions.
Report to moderator
Logged
Print
Pages: [
1
]
EvilZone
»
Programming and Scripting
»
Web Oriented Coding
»
PHP function problem