Posts by HailHydra • 39 points
4 posts
- 
		1 votes1 answer1495 viewsA: Ajax running Controller (MVC, PHP)The mistake won’t be in the url in the ajax? You have: url: 'controller/cadastro/index.php' Should stay: url: '_caminho_/cadastro/cadastrar' Being that the link to call one controller follows the… 
- 
		1 votes1 answer141 viewsA: Filter does not work because of return accentuation problem, what to do?I’m not very experienced in this area but maybe give a encodeURIComponent value can solve the problem. Staying then: dados[v] = encodeURIComponent($(this).val()); It also had problems with special… 
- 
		1 votes2 answers241 viewsA: A file with multiple functions OR multiple files with a function?Creating a file for each function is only relevant if they are very extensive functions, if they are relatively short functions the difference will be minimal and perhaps imperceptible. So if you… 
- 
		0 votes2 answers68 viewsA: New page in htmlI will assume that the site is already on a web server (it can be with localhost). If the server is Apache it is very easy to resolve this. Just create or modify the file/file .htaccess at the site…