Posts by Palmieri A. Hell • 58 points
5 posts
-
0
votes1
answer34
viewsQ: str_pad returning empty value
created a function with str_pad for my site, but it is returning me a blank value someone could give me a help? function ret($valor, $tamanho, $orienta){ if($orienta == 0){ str_pad($valor, $tamanho,…
phpasked Palmieri A. Hell 58 -
0
votes1
answer34
viewsA: Split search term to enlarge results and sort results according to the term
Why not use at the end an "ORDER BY carros_name ASC"? So it has returns the result in alphabetical order if and what it wants.
-
2
votes1
answer43
viewsA: Multiple Insert to php database
tried with the function explodes? <?php $campo = "link1%link2%link3"; $retorno= explode("%", $campo); echo $retorno[0]"<br>".$retorno[1]"<br>".$retorno[2]; ?> A string ira retornar…
-
1
votes2
answers691
viewsQ: Problems opening and closing file with fwrite
Good morning, you guys! I have a problem in the part of reopening a file in Txt, the problem that in the first statement it opens normally, writes and closes. But further down in the script I try to…
-
0
votes1
answer88
viewsQ: Returning XML files inside a PHP folder
I am using the following code to list and read the XML files in this folder. But how the listing returns me . and the .. my system returns error that cannot access these files. It follows the codes…