Hi Guys
I have a function that returns a multidimentional array eg
$result = function(param)
echo $result[0][1]." ".$result[1][1]
but I want to call the function 4 diffrent times and append to the array prevuiously returned is this possable? and if so how do i do it (dont really want 4 arrays and to recurse through each.)
urldecode question
How would I format this line of code properly?<?php echo urldecode($_GET['Title']); ?>
Blank record injected into database
I always found several blank records inside my database, although $SESSION is required to insert the data into database.Why can this happen? how to prevent this?
Any meaningful project for a new C++ programmer?
I want to do some meaningful program, so I can help myself to learn
SCRIPT ERROR
Here is the CONTACT FORM I made for our website:<form id="form1" name="form1" method="post" action=""> <table width="528"
Converting RGB values to HEX
Code: <?PHP$file_handle = fopen("colors/rgb.csv", "r");while (!feof($file_handle) ) {$line_of_text = fgetcsv($file_handle, 1024);print $line_of_text[2] . $line_of_text[3] .
Parse XML
Good day,I use oempro software and try to parse XMLReturn but it's not working for me, simplexml_load_string return tons of errors. Maybe someone could help me?Code:
SQL Injection
In my attempts to protect my database from mySQL injection I have created another problem for myself....Currently all user inputted strings go through this function;Code: function cleanQuery($string)
with clause
hi all, i have a big query that usually access the same table more than once. for example, i have something like this
Is it a good practice to store user info. in sessions?
I am making a user class for my script which stores all the user information in sessions. It takes user id as parameter and gets the info from database and stores it in the session variable. I did
help with Get_
ok some how this is not working i am not sure what i am doing wrong here but what this does is when the user goes to Secret-Codes.php they get a menu and when they pick the phone they want to view it