How to include user uploaded files to index.php
PHP: how can i link the files stored in directory to the index.php eg: if a user upload's a file it should also be linked in index.php as 'RECENT UPLOADS' i tried this...
View ArticleUnable to delete selected row from mysql database
hi all , I have a table that shows all rows of a selected table . problem is that I want to delete marked rows from this table but this code is not working for me . updating code works fine but I can't...
View ArticleCan't get this working
So I've been trying to convert my raw data into easy readable data for awhile now, sadly.. No luck! I'm brand new to php and still trying to learn! $changeString = ""; foreach (explode("@", $fdata) as...
View Articlephp and the mail function
hello to you all!.. i have a question about the mail function , i just make a contac form and i try to send it to my gmail account for testing.. it seems that i have no error in the code , when i...
View Articlecombine multiple .tif into one with irfanview/php
I need to take multiple .tif files with (close to) the same name, and combine them using irfanview into one file. I can get the file to test (which seems to be testing correctly) by commenting out some...
View ArticleWordpress/Buddypress Browser Issues : Safari and FireFox not displaying...
Browser Issues : Safari and FireFox not displaying correctly Safari – Not displaying at all Firefox – ALignment issues? Can someone please help? http://tinyurl.com/ltth2sa
View ArticleA little Sql/Php help
Hello, Can someone help me to come up with a condition for an input to filter out a large table to a smaller table with a code. > My files are already uploaded to my db(database) and I already I...
View ArticlePHP INSERT INTO coding for MySQL
I am having trouble getting a simple form to submit data to a database. I have followed an example in a PHP/MySQL book (Welling and Thomson) and created a simple form to update a DVD collection....
View ArticleCreate table with php from mysql table
Hi, I'm really a noob with php, hopefully you can put me in to the right direction. I have a MySQL stored procedure which gives for an example the following output: seasonID | Name | Points |...
View ArticlePHP Filter multidimensional-array key with another array
What I'm trying to do is read in a worksheet from an excel file and only keep certain columns based on a list in another array. I able to read in the excel sheet using PHPExcel, but haven't been...
View ArticleNeed help enabiling html_errors
Hey, I have set html_errors to "On" my php.ini settings. But when I create 3 custom error messages, they don't render as HTML. Just plain text. Any suggestions on how i can solve this? Below...
View ArticleUpdated By
Hi i would like to display in my data table the user who last updated the data I have this example $updated_by = $myUser->getVar('name'); echo "<input type='hidden' name='updated_by'...
View ArticleFatal error: require_once() [function.require]: Failed opening required
hi! My developer made me this php file. http://omenaa.ws/matrix.php he doesnt work for me anymore.I have uploaded the php to my site, but i get this error Fatal error: require_once()...
View ArticleCarrying an on-state to the next page on re-direct
Hi all, I really need some help on this one. I've created a very complex page with a number of buttons that load content in dynamically. (There are quite a few combinations) What I would like to...
View ArticleSaving an array to a csv file
I'm haveing a heck of a time trying to figure this out. All I want to do is save a SELECT array (mysql) to a CSV file. Here's what I'm trying. It $result = "SELECT product.reference AS sku,...
View ArticleHow to use a method across different PHP files(classes)
Hi, Please consider the following: -------------------------------------------------------------- Cool.php -------------------------------------------------------------- <?php...
View ArticleTrouble passing key and value between pages
Howdy Folks, I have a HTML form with a drop down box that has a key pair value behind it eg: Key Value 1 Widget1 2 Widget2 3 Widget3 ..... What I want to do is pass both...
View ArticleValidation error
Hey guys I'm quite new at PHP and i just inherited this application from the developer (Who has apparently also left the developer company ) Well, i managed to transfer it from the original server...
View ArticleUTF-8 search strange situation
Hi all I have a very strange situation here... I try to make a string search for a term in utf-8. My search term is "Den lille fløyten" if i use this code: $string = "Den Lille Fløyten"; // The...
View ArticleTime difference between login time & next date
Hi all code Gurus I am writing a small user login routine. It checks when a user has logged in and finished a task. The user can login multiple times before the task is over. However once its over...
View Article