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

What's this $variable. =

$variable.= ???   why does the variable have the "." ? what does that mean?  

View Article


change html code content by time with php. possible?

hi guys,   i just want to know, if it's possible to change the html code by time, using php.   thanks a lot.   bilal kuzey

View Article


read php from javascript

Hi guys I need your help. I am writing the list of code in my javascript and now I want to read my php code from my javascript using with loadjscssfile("test1.php", "js") function.function...

View Article

Multi-Dimensional Array Query

Hi,I am trying to complete a multi-dimensional array however when I use the following link:website.php?skill=print-designIt echoes the following:skills.php?skill=The plan is to query skill1, skill2 and...

View Article

help modify a code

need help with a  codei have placed a image instead of a button.but when i click on it it not redirekt to the page its supose to goanyone have the answer for this?excuse my bad english:)<td>...

View Article


using file_get_contents() to put data into an array()

In my "skill_array.txt" file I have:0 => '-skill-' ,1 => 'Assassin (basic)' ,2 => 'Assassin (intermediate)' ,3 => 'Assassin (advanced)' ,4 => 'Hand to Hand (basic)' ,5 => 'Hand to...

View Article

PHP read from csv file. Handle a couple of columns differently.

Basically we have a script that reads a csv file and breaks the file into words and puts them into rows and columns. Column 7 and 8 need to be handled differently. If it has a certain phrase in it...

View Article

Who know how?

Im trying to make a list of resources where it shows you how to make variable set like this:   $user->option

View Article


Need help fetching an array with a static method

Hey,    I am new to OOP, and I am trying to echo out the username with a static call. When i tried to get the call, I get nothing displayed on my browser. Not even an error message?   Below is the...

View Article


PHP Agenda Calendar

I'm looking for a way to write a quick Agenda style calendar that will only pull the date given from a database of events?  Can anyone help me out with this?     if(isset($_REQUEST['day']) &&...

View Article

Phantom form submit

Having trouble submitting a dynamically generated form. I am getting no errors on submit, and nothing written to my table, just an indicator that I have landed on my "submit.php". The form is generated...

View Article

Convert YYYY to YYYYMMDD

I thought this one would be easy, but it isn't!   I want to convert years only to YYYYMMDD format, e.g. 2010 becomes 20100101.   But   $date = date('Ymd', strtotime(2000));   throws up today's date,...

View Article

Saving data temporarily

Hey guys i have a project, Im wondering on how to approach it I have 5x5 table which is filled with data 1 day at a time. I need to save and retrieve the values everyday and show the same incomplete...

View Article


PHP and leanmodal (jquery)

I'm using php but to open modal popup I'm using leanModal (jquery). More or less the code to open the modal window is the follow: <head> <script type="text/javascript"...

View Article

PHP mySQL database dynamic page layout

Hey guys ,   I am currently trying to create a dynamic page layout using data that i am pulling from my database.(mysql)   i have created the a href to show page.php?title=$title&id=$Id    then i...

View Article


How to add country code after user insert their mobile number

How to add country code if user doesn't enter the country code when they register? If user did enter the country code it will skip and store it into database, if user doesn't enter then system will add...

View Article

Imagecreatefromstring() function

Alright im testing the imagecreatefromstring() function, but it always give me an error saying "data is not recognized format". This is base on my previous post that what i want to do is convert my...

View Article


question about sorting

Hi,   I am bit stuck with php sorting.   I have category list which are in order form like 1,2,3,4.....9,10,11 and is stored into datbase.   what i want to do is change any number's position. e.g if i...

View Article

Login secure?

Hello freaks,   In this new project of mine I'm trying to make things as elegant as possible, so I'm trying to avoid any hashing and long strange-looking strings and other types of stuff that just...

View Article

is it possible to combine css with php while loop and table

I'm wondering if it's possible in an easy way that when I use while function to call out a bunch of data and put them into table but I want to use css to make it one row with regular background and one...

View Article
Browsing all 13200 articles
Browse latest View live