Posts by Guilherme Arantes • 9 points
5 posts
-
-1
votes1
answer27
viewsA: Accessing method (beginner)
You can call the X.php file in Y.php the way you will use it depends on how you plan to use the X.php file. May use the following: include 'X.php'; require 'X.php'; require_once 'X.php'; The choice…
-
0
votes3
answers785
viewsA: PHP result on the same screen
Do you want to $ta is displayed on the screen? If so, it is correct to use the command echo, the return just returns the value to be used in some function or something of the kind, displays nothing.…
-
1
votes1
answer53
viewsQ: Blank consultation
I’m starting in the world of programming and at first I have a problem when I run the query locally the query shows me the return normally but when I try to query through a simple application:…
-
0
votes1
answer102
viewsA: How to create a program that identifies whether a variable is valid
After some researches I found the function "preg_match" very useful for validation of entries. From this I created the regular expression. // a variável $var recebe uma declaração de variável. $var…
phpanswered Guilherme Arantes 9 -
-1
votes1
answer102
viewsQ: How to create a program that identifies whether a variable is valid
I need to build a program that receives as input a text describing the declaration of a variable in PHP and evaluate whether such identification is valid according to the syntax of the language. So…
phpasked Guilherme Arantes 9