Quantcast
Channel: PHP Freaks: PHP Help
Browsing all 13200 articles
Browse latest View live

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 Article


Unable 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 Article


Image may be NSFW.
Clik here to view.

Can'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 Article

php 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 Article

combine 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 Article


Wordpress/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 Article

A 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 Article

PHP 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 Article


Create 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 Article


PHP 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 Article

Image may be NSFW.
Clik here to view.

Need 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 Article

Updated 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 Article

Fatal 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 Article


Image may be NSFW.
Clik here to view.

Carrying 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 Article

Saving 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 Article


How to use a method across different PHP files(classes)

Hi,  Please consider the following:     -------------------------------------------------------------- Cool.php --------------------------------------------------------------   <?php...

View Article

Trouble 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 Article


Image may be NSFW.
Clik here to view.

Validation 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 Article

UTF-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 Article

Time 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
Browsing all 13200 articles
Browse latest View live