38,020 Topics

Member Avatar for
Member Avatar for ujsiriwardana

I want to undestand how session arrays working. can u explain below code please. $_SESSION['ddc']['price'] I want to undestand what is doing in ['ddc']['price'] . Are they separate arrays or 2-D arrays.

Member Avatar for P0lT10n
0
97
Member Avatar for suvra123

Hi, How can I store youtube latest vedio in my mySql database dynamically. I want all the latest data will store dynamically at a perticular time. Suppose, if I click the video and copy and past the link from youtube in my site, it will display that link, but I …

Member Avatar for P0lT10n
0
93
Member Avatar for haye321

I am trying to create a PHP bot for a project for my cs classs that will automatically log me in to a site and perform certain tasks once that is complete. I have been doing some research and I believe the best way to acomplish this would be wish …

Member Avatar for haye321
0
463
Member Avatar for cableguy31

I have a webpage with a form that collects an ID number. Within the page I have validation with PHP to make sure the number entered is in the right format. What I need to do is, if validation is successful, pass that id number to a new php page …

Member Avatar for cableguy31
0
244
Member Avatar for ChicagoOutfit

Hello! I'm looking to create a simple form with PHP that will allow users to attach multiple files. For example, I'd like to offer these five fields: - First Name (text) - Last Name (text) - Word Document (browse) - PDF Document (browse) - Excel Document (browse) I am new …

0
98
Member Avatar for pipskikostka

I have one template page that I am using to show information about 8 different projects. some projects require .wav files on the page. So on those pages that require .wav's i want to show the sound file for them to play, and on those pages that dont require sound …

0
68
Member Avatar for dschuett

Hey everyone, This is my first attempt at pagination. I seem to have everything working pretty well except for one slight problem. Example: If I search for a PO Number containing the number 10. My query returns all the correct information along with the correct pagination links, however, Let's say …

Member Avatar for dschuett
0
667
Member Avatar for careless_monkey

I'll try my best to explain what it is. I have two tables 'regularplanets' and 'moons'. Idea is, regularplanets can have many moons and moons can have 1 planet. I have included the required variables 'hasMany' and 'belongsTo' in regularplanets and moons model. What I want to do is this …

Member Avatar for careless_monkey
0
101
Member Avatar for puvi

Hi, i have a registration form, where the user enters username, email, designation and organisation. on clicking register button, the data in this form should get saved into database. The code is as follows, when i executed it for the 1st time, data was saved properly, but when executed next …

Member Avatar for puvi
0
136
Member Avatar for mbarandao

Good day to all: Typically, when one pass variables via url, they are received and displayed in a input text box. I'm interested in passing two variables (firstname and lastname) via url; except, I want to be able to get them on another page [key point ], in a select …

Member Avatar for mbarandao
0
200
Member Avatar for blt4424

I'm trying to rename a file uploaded to the username of the logged in user. I can't seem to figure it out. I'm trying to mimic how I got the username and details on my profile pages. The pictures are uploaded to a folder, not a database. Here's my uploads.php …

Member Avatar for hielo
0
96
Member Avatar for divyakrishnan

Hi... I have an issue on project.I want to open a particular pdf page by specifying its page no using PHP script.Is it possible?please help me

Member Avatar for Borzoi
0
122
Member Avatar for Ajuddy

[CODE]/***save the user information to file***/ $first_name=$_POST['first_name']; $last_name=$_POST['last_name']; $mobile_number=$_POST['mobile_number']; $office_number=$_POST['office_number']; $addres=$_POST['address']; $post_code=$_POST['post_code']; $city=$_POST['city']; $file=$_POST['file']; /**data to file**/ $data='$first_name | $last_name | $mobile_number |$office_number |$addres | $post_code |city |$file\n';[/CODE]

Member Avatar for Dragonbaki
0
151
Member Avatar for xuexue

how could i add the onkeydown() function in jquery.. this is for the autocomplete.. regards, ^^

Member Avatar for Stefano Mtangoo
0
154
Member Avatar for dlannetts

hi, i have to pieces of php code that i need to place into one but am unsure how to do it, firstly i have my peice of php to upload a few statistics: [CODE]<?php include 'mysqlconnect.php'; $db = mysql_select_db("upload_frenzy", $con); if (!$db) { die('Can not Connect to Database: ' …

Member Avatar for Dragonbaki
0
164
Member Avatar for peppermints

Hello, I am attempting to to make a PHP application that is a basic online banking service. Everything is working fine separately, however for some reason I can't reference the username that is logged in on pages such as transaction and bill pay page. Here is my code for the …

Member Avatar for Stefano Mtangoo
0
140
Member Avatar for kbohmr

I have been trying to get it so that my php will check that the website stored in the database is actually there before offering a link.( in a multiple list) eg. if the site http://www.boohoo.com exists there will be a link to it, if not then it will simply …

Member Avatar for somedude3488
0
159
Member Avatar for zlegend

I have created a search bar using PHP that pulls from my database by keywords typed in the search bar and displays links and descriptions of URLs' associated with the keywords. Is there a way for robots to randomly type keywords in my search bar on my website to list …

Member Avatar for somedude3488
0
104
Member Avatar for phpcode

Good Evening: I am making a transition from ColdFusion to PHP, and I am curious about a code situation I encountered. I am playing around with adding two drop-downs with two different fields from the same query. Wish CFML, it is [CODE=coldfusion] <cfquery name="queryName"> SELECT * FROM food </cfquery> Please …

Member Avatar for somedude3488
0
93
Member Avatar for xuexue

hi guys, could you help me with this one? this is about the autocomplete in php using a textbox.. my problem with this code is that when i used KeyDown on my keyboard, it should automatically input in the textbox the data, but mine is different, it displays "undefined" instead. …

Member Avatar for xuexue
0
220
Member Avatar for lyrico

Hi every one, Can anyone help me on the problem? The scenario goes like this. I have lots of files (.pdf, .doc, and .xls) stored on my sever. I want the user to access the files. I mean, they can open it for some review purposes but I don't want …

Member Avatar for lyrico
0
81
Member Avatar for stephen_UK

If I am loading a page called 'view6.php' with this url: /view6.php?id=24 What code do I need to get the id value 24 passed in the url string into the variable $im_id? I have searched and searched for this info without success. Many thanks in advance Stephen

Member Avatar for stephen_UK
0
74
Member Avatar for Haz425

Users, I have a slight problem, because I have little experience and wisdom in the art of PHP I need someone to help me who does have knowledge of such. My problem is this: I am wanting to create another website, however, the website I want to create needs to …

Member Avatar for lyrico
-1
179
Member Avatar for diafol

Hi all, I've been developing a GoogleCal app for a month or so in my spare time. I've ended up with a shed full of session variables, just so I can keep all the data alive and create an import file for GoogleCal at the end of the process. I …

Member Avatar for diafol
0
709
Member Avatar for eduard77

Can anyone tell me how should I handle this error? FATAL ERROR. Your SAPI for PHP is configured as CGI. ArbitroWeb is unable to work in this environment. Please switch to a non-CGI approach. If you are using Apache as your web server, consider modifying your httpd.conf to switch from …

Member Avatar for Airshow
0
68
Member Avatar for shafeequeom

I am starting a new website.I want a best Login Logout Php mysql script with for get password fearutes.Where i can get it. Please help me

Member Avatar for somedude3488
0
253
Member Avatar for daviddoria

I am trying to include a file 'header.php' that is in [url]http://ewh.ieee.org/r1/schenectady/[/url] From a file in [url]http://ewh.ieee.org/r1/schenectady/Events/[/url] if I do: [code] <?php include '../header.php';?> [/code] it works fine, as expected. However, if I do: [code] <?php include 'http://ewh.ieee.org/r1/schenectady/header.php';?> [/code] it does not work (the header is not displayed). Can anyone …

Member Avatar for diafol
0
162
Member Avatar for Awah Mohamed

hey people . okay . 3 dayz ago i was done from designing and coding my website . it is made mainly in html . okay it is not pure html . it is html with php in .php files and it also contain abit of js & css . …

Member Avatar for diafol
0
342
Member Avatar for nessy

Hello hello. I've been dumped in at the deep end - my boss wants me and a co-worker to learn about Dynamic website (I know I know, it's a nightmare). So I've been doing a bit of research and found that I need to get hold of a package called …

Member Avatar for chrishea
0
272
Member Avatar for SEOKRU

Hi I updated something by mistake, now I get these warnings: (url is : [url]http://www.goldpharm.co.il/[/url] ) Warning: Cannot modify header information - headers already sent by (output started at /home/goldphar/public_html/classes/Tools.php:1) in /home/goldphar/public_html/header.php on line 3 Warning: Cannot modify header information - headers already sent by (output started at /home/goldphar/public_html/classes/Tools.php:1) in …

Member Avatar for SEOKRU
0
166

The End.