39,323 Topics

Member Avatar for
Member Avatar for Dani

What are the differences between Zend PHP Studio and Eclipse for PHP Developers? Why pay for Zend Studio when Eclipse is free?

Member Avatar for fatihpiristine
0
133
Member Avatar for chocopaste

This may be impossible, but I thought I'd give it a shot. I'm using PDO to fetch data from the DB, and use the PDO::FETCH_INTO approach to populate an existing Object (think ORM). What I'm wondering is if I can turn an object into an array of objects of the …

0
51
Member Avatar for awestove

I am trying to create a file upload form on a website and am getting the error: Notice: Undefined index: My code is: [CODE=php] <?php session_start(); if (isset($_GET['submitted'])){ print_r($_FILES); $displayName = $_GET['displayName']; //file name is name of user who uploaded-date-time ie awestove-20100901-0800 $fileName = $_GET['username']."-".date('Ymd-Hi'); $origFileName = $_FILES['fileChooser']['name']; $ext = …

Member Avatar for awestove
0
123
Member Avatar for priyam1309

I am trying to send mail for "Tell a friend" link in my website. I am using Gmail's SMTP Connection settings as Mail() is not working properly for my web host. In the code i am giving my username & password so send mail via my mailbox. But is it …

Member Avatar for svilla
0
139
Member Avatar for gidireich

Hi all, I'm a C developer, familiar Java, C++, C# . I'm into PHP now. Trying to find a good material, I read several which served PHP in do-this-do-that manner. I'm looking for a good book about PHP as a programming language. I mean, for example, really explaining the typing …

Member Avatar for Ezzaral
0
53
Member Avatar for sumit3gupta

I exactly want to integrate a GPS API that can work when the website is opened from a mobile, and we can get the latitude and longitude of a place by using that API which can taken as a input from user of that place where he is ???……!!! Anybody …

0
63
Member Avatar for ivan3510

Hi! Sorry for my bad english. I have one video. I want to make page that will display this video (like youtube), but I don't know how. In youtube there is a original page with video (I think, made with 'header(Content:application/x-shockwave-flash objekt)'). I want to make that too. But I …

Member Avatar for ivan3510
0
202
Member Avatar for ello

Hi, the problem i'm having is with the following code. When the user clicks the submit button with any errors it displays the section I've marked out. But it positions this at the very top of my form, pushing evverything down. Is there a way to get this error information …

Member Avatar for ello
0
98
Member Avatar for jtdbidirect

This is a keyword search script for one table only (pages). i need this search on 2 tables (pages and services) with one result set at the end to echo to the page. Can anyone help me? I have been trying to find a solution for 2 days - it …

Member Avatar for jtdbidirect
0
165
Member Avatar for andydeans

Hi, Is there any scripts that would logout a user if they were already logged in with that username and password? many thanks

Member Avatar for Stefano Mtangoo
0
85
Member Avatar for dandixon

I need to select customer column my database and then insert this into a session so i can use it in the other pages of my site but nothing im doing seems to work, any ideas [CODE] <?php session_start(); include("Connections/database.php"); ?> <?php /** * Checks whether or not the given …

Member Avatar for pzuurveen
0
158
Member Avatar for rje7

I am trying to split up the registration form into two php pages. Is it possible for the second page to submit its form along with the $_post which contains the information from the first page? well the question should be.. is there a function in php which will bind …

Member Avatar for rje7
0
123
Member Avatar for mCmAl

I have a blog,where I post a lot of songs,and I'd love if somebody could help me implement some sort of script in my blog. Is it possible,that whenever I want to post a zippyshare link,the script automatically converts it into a embedded media player? This is some source code …

0
67
Member Avatar for wangome

i have been building a web site of late but the login page has given me hectic coz it s giving me an error which i dont understand please help me with the correct codes am using dream weaver and wamp server. will highly appreciate.

Member Avatar for peter_budo
0
99
Member Avatar for gchurch

hey well i have a drop down menu or four that collects the day, month, year and number of nights spent over. i'm havin difficulty caluclating the departure date with all this info. can anyone help me???

Member Avatar for gchurch
0
85
Member Avatar for gchurch

is it possible to use a vaiable within the date() insted of using y-m-d. i want to use $day-$month-$year

Member Avatar for gchurch
0
112
Member Avatar for JBLDW

I have the following code section that is used for displaying a list of items and would like to modify it so it displays as a multi column display. I have been told that I need to use a counter, but I cannot find any information on how to do …

Member Avatar for JBLDW
0
182
Member Avatar for captain.don

I want to create a php web page to uload a file on web site.I want, when a user browse the file and click upload then the file should upload on web site and the script will generate the encoded url to download the uploaded file, or any other way …

0
84
Member Avatar for sami.asanga

Hi, I need to get the itemId's from the Database to a combo box where the combo box will increase according to the new values. I wrote a code like this [code] <select name="catId"> <?php //get category id from the database $sql = "SELECT cat_id FROM tbl_category ORDER BY cat_id"; …

Member Avatar for metalix
0
617
Member Avatar for arthurav

I use a couple of functions to which I have to pass the name of the mysqli connection in order to fetch some data. Is it safe to use a global variable for the mysqli connection to skip passing the connection name to the functions?

Member Avatar for FlashCreations
0
105
Member Avatar for ckant_kol2006

I want to upload and store images in MySQL database, but have no idea. Please help me out? Thank you

Member Avatar for FlashCreations
0
343
Member Avatar for mindboggler2010

Hi, I just want to share this function to you that can split an array and return it and formatted as: 'element1','element2' etc. This is useful in your WHERE clause particulary if you are using IN e.g. select id, lastname, firstname from farmers_table where id in ([B]'3408', '1223'[/B]); The BOLD …

Member Avatar for mindboggler2010
0
107
Member Avatar for sami.asanga

Having a problem with updating a picture.I need to replace the current picture in the DB by allowing the users to browse a picture and uploading it.And if the user did not upload any image I need to keep the current picture as it is. I wrote something like this,but …

Member Avatar for Daiva
0
99
Member Avatar for jkaye

Hi All, The basis of this project is that I have an album of pictures, where you can add and delete pictures. What I wanted to do, was when you delete a picture, have the rest of the pictures move down to fill in the gap. The database is set …

Member Avatar for vibhaJ
0
106
Member Avatar for LloydFarrell

Hi all I have the following script 99.9% working for uploading a single image to a database - Storing the file in a folder and placing a link to the file in the database - The only problem im having now is when the image is uploaded the extension of …

Member Avatar for chrishea
0
128
Member Avatar for krrr25

I want to read the content of a .rtf or .doc files and display the file content as html output in a webpage. Need to extract some of part of the content also, like name, surname. mobile etc.... Anybody have the script to process .rtf or .doc files into html. …

Member Avatar for chrishea
0
52
Member Avatar for jjemphoung

good day! i'm a newbie in php. but i know the basic things like what is server side and what is client side. my question is is it "OK" if i place a php script (which is a server side) in the page that my client views? i dont know …

Member Avatar for jjemphoung
0
123
Member Avatar for Gregoriochavez

After weeks of getting a javascript to work the way I want it to, I am informed by the company that hosts my web sites that they want more money for me to have the .js file functional on the server. I am not a coder, nor do I have …

Member Avatar for Gregoriochavez
0
77
Member Avatar for RobotFX

Hi! I'd like to show the ads on my page only to visitors coming from search engines. I'm looking for a php script that can do the trick - if lucky and I'll find it, I'll integrate it in my page. If you know of such thing or how to …

Member Avatar for RobotFX
0
149
Member Avatar for lwaterfo

Hello again everyone.. I have a form with an e-mail input. After the user enters their e-mail, I want to have the content of the form sent to them... The name of the form textfield for the e-mail is "email". How could I make this happen in the php script?? …

Member Avatar for lwaterfo
0
168

The End.