0

I have a page that call this php page of function

myfunction.php

function create($array) { /* create new one in db */ }

function modify($array) { /* modify a row in database */ }

function delete($array) { /* delete a row from database */ }

... (other function)

and have some page that needs different create content function...

Then I create this file, but I got error

myfunction2.php

include myfunction.php

function create($array) { /* create new one in db */ } 

What's the best way to create a file of function and override when is needed ?

FireFoxII
  • 828
  • 4
  • 18
  • 31

0 Answers0