39,323 Topics

Member Avatar for
Member Avatar for didi00

Hi everyone. I'm making a shopping cart and I found out that I have a small problem. The currency that I want to use (BGN) is not supported by PayPal. I can use euro but the BGN is almost twice less than the euro. What can I do? This is …

Member Avatar for i-hate-blue
0
121
Member Avatar for rouse

Is there a PHP variable that holds the page title? I would like to get a hold of the title of the page that I at,(The text at the top of the browser) for later storage. Thanks!

Member Avatar for rouse
0
165
Member Avatar for ibakir

a browse and submit button when pick the image and submit , the image name goes to my SQL table and the image it self that the customer pick it copied to my "upload" folder :( my problem is that i only see the image name , so my issue …

Member Avatar for diafol
0
161
Member Avatar for dhruv_arora

I wrote this code called delete.php, i have another script called view.php which displays all the users in the database and displays a link to delete that particular record using the get method. In the delete.php file it retrieves the id through get method from the view.php file and deletes …

Member Avatar for dhruv_arora
0
155
Member Avatar for boituron

Hi i'm new here and with php and I want to ask for some help regarding my order form. Here is my existing code. [img]http://i52.tinypic.com/25k4wbc.jpg[/img] Basically what it does in the form is you fill the item(text field) with the number of orders you want (1,2,3 etc.) What I wanted …

Member Avatar for diafol
0
301
Member Avatar for Tomashqooo

My online chat uses a php script. There`s the part I need to correct [CODE][COLOR="Red"][COLOR="red"]if(isset($_SESSION['name']) && $_POST['text'] != ""){ $search = ""; $aname = $_SESSION['name']; function find_value($input) { $handle = fopen("online.html", "r"); if ($handle) { while (!feof($handle)) { $entry_array = explode(" ",fgets($handle)); if ($entry_array[0] == $input) { $search = $entry_array[0]; …

Member Avatar for Stefano Mtangoo
0
160
Member Avatar for bipies

Is it possible? I have a php file (and iframe) wich recives a variable from it's main page, then it makes some conversions to this variable to create an URL that should be included in a flv player, I must use html to include the player but I don't know …

Member Avatar for Stefano Mtangoo
0
244
Member Avatar for programmer12

When is it the best time to close a database connect? Is it good to close it on every scripting page i do that uses it?

Member Avatar for programmer12
0
115
Member Avatar for 7kemZmani

Hello everybody, am working on a small php project and in some pages i have dynamic table to read date from another table in MySql database and i added into same table a javascript code for inserting new row. the fields in the table is: Value (input type="text") time (generated) …

Member Avatar for Stefano Mtangoo
0
150
Member Avatar for bipies

Well, all I want is to pass a variable, just one, to an iframe, I know that is something like: [CODE]<iframe src= 'http://blabla.com/bla.php?variable=string'</iframe>[/CODE] and inside the iframe something like: [CODE]$myvar = $_GET['variable'];[/CODE] But my problem is that my variables are URLS, with "?" and "&" so when I parse that …

Member Avatar for diafol
0
859
Member Avatar for jrotunda85

I'm trying to figure out the best way to replace apostrophes in various user input which is all formatted first using [B]mysql_real_escape_string[/B]. Of course this replacement should take place after all input has been sanitized and anything funny removed. :) Any help would be awesome!

Member Avatar for jrotunda85
0
252
Member Avatar for TheNinjaForce

I was looking at this [url]http://www.daniweb.com/web-development/web-design/html-and-css/threads/97183[/url] post and I did everything the guy said, but he did not say how to make up all the files. I made the login, members, and every other file he said make. But now im stuck with a bunch of files and I do …

Member Avatar for maxlipman
0
146
Member Avatar for RazorRamon

Ok I am stumped. I am inserting the data fine into the table and database so i know its not the config.php nor opendb.php. I used a code like this before and it work, i've only altered the $sql, the td's, and the $rows[]. Table name is hotspots (all lower …

Member Avatar for IIM
0
627
Member Avatar for bipies

Hi everybody! Well my question is as follows, I need to search for a div with a specific ID using php under wordpress, till now I found images and links, but I need to find a specific div ID and copy it, for now tested with this: [CODE] $html->find('$html->find('#divid');'); $html->find('div[id=divid]');[/CODE] …

Member Avatar for bipies
0
526
Member Avatar for bishaw

Hello friends i'm new in php programming, i'm using wampserver with php5.3.5 , but it shows error on this code [CODE] <?php $to = "bkstha2010@gmail.com"; $subject = "Test mail"; $message = "Hello! This is a simple email message."; $from = "someonels@example.com"; mail($to,$subject,$message,$headers); echo "Mail Sent."; ?> [/CODE] as well as …

Member Avatar for IIM
0
168
Member Avatar for rakeshsp

Hi Guys, Help me solve this... First I fetch values from DB and shows it in a table with check boxes. Once clicking OK button, it shows selected check box values. User modify any values and click edit, it should update the DB. I don't know where to fix the …

Member Avatar for diafol
0
164
Member Avatar for ashiiiish
Member Avatar for ashiiiish
0
126
Member Avatar for ebanbury

Hi I'm currently creating a property website and it allows users to submit upto 7 images/property. Currently on clicking the 'submit' button to Add A Propety my code checks for image size, file type and then moves the file from a tmp location to images/propertyimages file. All the images from …

Member Avatar for ebanbury
0
215
Member Avatar for asif49

I've been learning php and following the examples on w3schools until I came to this example and now I'm pretty stuck after having tried to make it work for countless hours. This is the bit I'm on: [url]http://www.w3schools.com/php/php_mail.asp[/url] I try to send the email using the following code: [CODE]<?php $to …

Member Avatar for asif49
0
273
Member Avatar for programmer12

Hi i just created a website for my church and the IE 9 is displaying it wrong.. Can some1 plz take a look at it and get back with me on why its doing that? [URL="http://www.lgm70.org"]www.lgm70.org[/URL] When i looked at it in IE 8 it shows everything that I created …

Member Avatar for programmer12
0
135
Member Avatar for vamshidhar66

Hi Frns, Am new to PHP, can anybody please tell me how to include a calendar in a form... Thanks in adv..

Member Avatar for vamshidhar66
0
57
Member Avatar for navi17

Hello, I need to post data to another server using jquery. Here is the code i am using [CODE] $.ajax({ url:"https://www.thewiseagent.com:443/secure/webcontactAllFields.asp", type:'POST', data:"ID="+$ID+"&Source="+$Source+"&notifyCc="+$notifyCc+"&notifyBcc="+$notifyBcc+"&noMail="+$noMail+"&CFirst="+$first+"&CLast="+$last+"&Phone="+$Phone+"&Fax="+$Fax+"&CEmail="+$CEmail+"&Message="+$message, success: function() { //window.location.href = "http://www.petlooza.com"; } }); [/CODE] i got error (302 object moved) in case of firefox/chorme although data is inserting.. but in case of …

0
79
Member Avatar for aldm

Hi, I'm working on one php project without using framework and I want to form nice urls without tons of get parameters and ? and & characters. I know this could be solved in zend using controllers and actions and I'm looking for somerhing simillar. On my site, I have …

Member Avatar for aldm
0
256
Member Avatar for Dorar

[B]I want to learn by myself any one of web development languages. i dont have an idea about which is best to learn PHP or HTML or CSS or do i need to study each one in order to use each one for some purposes.. what is the difference between …

Member Avatar for twiss
0
2K
Member Avatar for jrotunda85

For my new code that I'm developing, I have a text box where a user will type in a date as follows: [B]MM/DD/YYYY (e.g. 05/19/2011)[/B] This date then needs to be converted and inserted into a date/time field on a mySQL database. I've been trying to play around with this …

Member Avatar for divyakrishnan
0
924
Member Avatar for swilliamrobert

Hi, I want to destroy session when user close the browser tab or window in PHP. Please give me sample code. Thanks in advance. William

Member Avatar for divyakrishnan
0
213
Member Avatar for abhi10kumar

What is the full code that redirects all urls (including subfolders) without www For example: [url]http://www.abc.co.in[/url] redirects to [url]http://abc.o.in[/url] as well as [url]http://www.abc.co.in/subfolder[/url] redirects [url]http://abc.co.in/subfolder[/url]

Member Avatar for blocblue
0
71
Member Avatar for rpv_sen

Hi Friends i have some problem in update my dynamic text box value for particular id alone, i want to update only the 2 column fields into my database, i have used the below code. i am not able update the fields into my DB. Please help me to solve …

Member Avatar for rpv_sen
0
3K
Member Avatar for naru vaishnaw
Member Avatar for geekme

I work on ubuntu 10.10.Please suggest me a php editor or IDE that I can use so that it highlights my syntactical and other errors.I currently use gedit which does not helps much with detecting typing errors. Regards.

Member Avatar for iyngaran
0
150

The End.