Skip to content
Advertisement

Tag: arguments

Android passing username to php

I am building an android app where the users are expected to perform certain tasks individually assigned to them. To download the project information I am using HTTPServiceClass and passing in a url …

Using Default Arguments in a Function

I am confused about default values for PHP functions. Say I have a function like this: What if I want to use the default argument for $x and set a different argument for $y? I have been experimenting with different ways and I am just getting more confused. For example, I tried these two: But both of those do not

Advertisement