-1
I have tried several forms here on the site and on the net, no more loads the other function. I have a form that when sending it loads the class and Function:
class editar {
public function selecao_editar() {
//Aqui tem outro form que ao enviar deve carregar a outra função para atualizar o banco.
}
function update(){
if (isset($_POST['botaoupdate'])) {
....}
}
}
I’ve tried the following ways:
1°
class editar {
public function selecao_editar(){
$temp = editar ::update();
...
}
function update(){
...
}
}
2°
class editar {
public function selecao_editar(){
$this-> update();
...
}
function update(){
...
}
}
Could explain your question better?
– Marconi
I just need Function to finish, load the other Function from the same class.
– Willian Coqueiro
Curl - Consuming webservice with PHP
– Alisson Hoepers
Help here! Curl PHP consuming webservice
– Alisson Hoepers