Posts by FernandoJunior • 26 points
3 posts
-
0
votes1
answer46
viewsA: Update with foreingkey
You are not selected the department id in the query with Join so the value comes blank, right ? $conexao = conexao::getInstance(); $sql = 'SELECT id_pessoa, ds_nome, ds_departamento,…
phpanswered FernandoJunior 26 -
0
votes2
answers1029
viewsA: problem with accentuation when importing text file via php and writing to mysql
Usually I use this script to redirect in PHP /** * Função para redirecionar url's * * @param string $link - Url a ser redirecionada * */ static function redireciona($link) { if ($link == -1){ echo "…
phpanswered FernandoJunior 26 -
1
votes2
answers1029
viewsA: problem with accentuation when importing text file via php and writing to mysql
I don’t know how you are uploading these files. txt but already tried to put in php the header ? header("Content-type: text/html;charset=utf-8");
phpanswered FernandoJunior 26