Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Nested Functions

$
0
0
The following code:

$stmt->bind_param('s', $strId);
How can I define EVERYTHING within the brackets as a single function as opposed to 2 separate variables?

Can't seem to get syntax quite right...

... Is there a better method for storing all prepared statement variables, or all stmt code, in a separate "include" file using nested functions?

All advice greatly appreciated?

Viewing all articles
Browse latest Browse all 13200

Trending Articles