triple select list box generator for form not working
Hello everyone, I have been having trouble in getting 3 dynamic select list boxes in my form to work properly(without page refresh). I finally found a Jquery double or triple dropdown list...
View Articleon form submit not reading in values
Hi I have created the following job search form:...
View Articlesanitizing strings question
Hello Guys/Gals, Can someone please tell me how safe this sanitation is? $username = filter_var($_POST['user_name'], FILTER_SANITIZE_STRING); Thanks, Halben
View ArticleToo many IFs?
Can someone tell me if this is excessive use of IF statement? Thanks. if ($role == 'admin') { // Check if the user exist if (isset($_POST['user_email']) && !empty($_POST['user_email'])) { //...
View ArticleWhat is wrong with my code?
This is for a class on codecademy. I'm getting a parse error for an unexpected T_variable on line 35. <html> <head> <title>Iteration Nation</title>...
View ArticleFTP
Ok I have a problem... My sever has a max_file_upload of 2mb that can't be modified. I need to load larger files than that through a form and not a client like filezila or wtv. I've looked through so...
View Articleinserting
if ($username && $userid) { echo "You are already logged in as <b>$username</b>"; echo "<br/>Not " . $username . "? <a href='logout.php'>Logout</a>"; } else {...
View ArticleQuestion about object cloning
Hey guys. I have been working with object cloning, and I am little confused on the difference when using the $clone_object = clone $object and having the __clone() method in the actual class? I tried...
View ArticleTCPDF
I have used TCPDF.But when i execute the first example "example_001.php",the pdf opens and displays only the header and footer.But the the HTML content doesn't get displayed.Please help Here is...
View ArticleHow to name my textboxes
Hello guys, I would like to make a form for employees' attendance from a start_date to an end_date. The name of the employees are listed from top to bottom and the dates will be listed from left to...
View ArticlePhone number UK - Converting string to integer - retain digits.
Good mornng all, I have a simple contact form which ask for some details from the user including name, number, email, referrer and any comments they may have: <form method="post"...
View ArticleHow to insert checkbox in my php table data
i want that as my program prints all the records from tthe table in columns i want a checkbox in front of every row so that if a user want to delete that particular row then he can click on that...
View ArticleHow to handle this PHP encoding issue?
I'm using PHP to grab some JSON from this URL - goo.gl/xdIqEy I've tried using cURL and file_get_contents(), but the 'LastName' element always comes back looking like ─Éur─æi─ç If I view that URL...
View ArticleWhy is my array foreach not displaying correctly?
Check out my third array. It's only printing out "Reese's" and "gummy worms." I want it to display "M&M's," "Snickers," "Reese's," "gummy bears," and "gummy worms." I'm doing this for my codecademy...
View ArticleSession Variables Not Saving in an array
Hi everybody, I created a trivia game which lets the user answer questions. So far I have created a skeleton version of it. The problem I am having is my variables are not saving in an array - the way...
View ArticleDelete files / folders in current, with exclusions
I've got a thumbnailing script I'm using which uses phpThumb(), but as an object which means I'm having to handle my own cache. What I've got in a folder is: - [phpthumb] .htaccess index.php When...
View ArticleHelp me sort files by date?
I'm displaying the contents of a folder, with each file clickable. I can't seem to get it to sort by file date, with the most current on top (descending). What am I missing here? <?php echo...
View ArticleFixed table header
Hi all, Is the possible for set fixed table header with scrollbar vertical and horizontal ??? Please share your answers,
View ArticleHelp with number_format
I am getting the following error message with the below code: Warning: number_format() expects parameter 1 to be double, object given in ... <?php $price=$preownedinfo->Price; $formatted_price =...
View Articleecho php image with url
Hello ; I am trying to echo an image with url, but I keep getting an error, I think my parameter .$modelurl.$item['performerid'].$modelpageext is not correct. Anyone that can help me out a bit ?...
View Article