Join Now
Home Aptitude Reasoning DI VA GK CA CA Hindi Quiz Placements
json_encode()
encode_json()
json()
json_format()
$array[0]
$array{"key"}
$array["key"]
$array->key
time()
date()
datetime()
now()
mysql_connect()
mysqli_connect()
pdo_connect()
sql_connect()
file_exists()
check_file()
exists_file()
file_check()
Use prepared statements
Sanitize user input
Use mysqli functions instead of mysql functions
Allow raw user input in SQL queries
$_SESSION
$_COOKIE
$_POST
All of the above
boolean
integer
float
char
Through a web server
Through a command line interface
Through a standalone interpreter
Through a database management system
$variable = "value";
var $variable = "value";
$variable = array("value1", "value2");
$variable = 123;