PHP - How to include a variable when declaring a function name?

Maxim

New member
So if I were to create a code like this:
<?
function name($contents){

}
?>
And I need to redeclare it, it is impossible.
So how may I make it so the the function name will be a php variable we have created:
<?php
function $functionName($content){

}
?>
 


Write your reply...
Back
Top