39,393 Topics

Member Avatar for
Member Avatar for simondmeredith

I have this code when I submit a form: [CODE]<?php $email = $_REQUEST['email'] ; $name = $_REQUEST['name'] ; mail( "Saamon@live.com", "Website Opt In Form Results", $message, "From: $email" ); header( "Location: index.html" ); ?>[/CODE] On the header location part, how can I make a popup window appear instead of a …

Member Avatar for saiprem
0
144
Member Avatar for bhagu

Hi, guys.. I am trying to find php script or open source script, for digital goods to sell on static website. My client wants to sell his music online. He wants very simple function for Store. When somebody make successful payment on paypal, the link should re-direct to a download …

Member Avatar for chrishea
0
248
Member Avatar for vimal88

hw to download file from mysql using primery key plzz help me:icon_cry:

Member Avatar for rajabhaskar525
-1
65
Member Avatar for pancgom

Hi, I need some advice on how to edit records from a mysql database using php. Basically the record will be displayed after a particular field is chosen. What i need to know is how can i show the field data in a drop down box one after another and …

Member Avatar for shridhard
0
177
Member Avatar for studioceasar

Hi All, I'm having a problem connecting to my database because of a syntax error on the line: $result= mysql_query($sql,$link) or die(mysql_error()); Could you please let me know what the conflict and solution is?. I included the script below. Thanks in advance. C- [CODE]mysql_connect($hostname,$username, $password) OR DIE ('Unable to connect …

Member Avatar for studioceasar
0
71
Member Avatar for Aamit

Hi, i want to insert images as header and footer into word document file. How to do this? Any api available for this? Thanks

Member Avatar for Jerail
0
133
Member Avatar for 4789787

This code is for a forum. When you post a topic it is SUPPOSED to redirect you to the topic you were viewing before but instead it just shows a white page with the end of the url it was supposed to go to.... heres the code [CODE]<?php // forum.php …

Member Avatar for Jerail
0
592
Member Avatar for tryphy

Hi I have this login page where user enters in and goes to main page, it has a button called enter form >> which on clicks go to a form submission page . The user enters the form and click submit, once he click submit the form is submitted and …

Member Avatar for tryphy
0
10K
Member Avatar for samaru

[size=4]PHP and MySQL Web Development[/size] [b]by Luke Welling, Laura Thomson[/b] Extremely useful - This is a very useful book. If you're a web developer, and you're starting out with PHP, it will do wonders. It covers many important things such as creating a successful shopping cart, web based e-mail, web …

Member Avatar for berniestein2001
0
638
Member Avatar for harry_watson

Hello. OK won't post my messy code just yet, but the Problem; A user [B]can[/B] UPDATE a text field consisting of a headline and a text field. This is posted into a 'text div' below. when logged out, the form and editable fuctions vanish and we have a normal web …

Member Avatar for harry_watson
0
129
Member Avatar for WickidGRAFX

I have a dropdown list that is automatically populated with book titles from a database. When I select a item from the dropdown list I want a text area next to it to show the description of the book from the database. Is there a way to do this without …

Member Avatar for WickidGRAFX
0
7K
Member Avatar for artofmagick

Hi Peeps I have a bit of a problem with cookies showing on the homepage, will outline the problem below, well i think it is a problem. Fetching [url]http://www.reviewanygame.com[/url] ... HTTP/1.1 200 OK Date: Wed, 17 Feb 2010 04:18:03 GMT Server: Apache/2.2.3 (FH) X-Powered-By: PHP/5.2.11 Set-Cookie: [COLOR="Red"]PHPSESSID[/COLOR]=pg40edbrsljhg92rvp50h2ir85; path=/ Expires: Thu, …

0
41
Member Avatar for aryanmughal

Hi everyone, thanks for help me in past and once again i am here for your help in making a form... well the purpose of the form is to embed videos in a page... the form will consist of... [CODE]Add Video.php [/CODE] [CODE] 1. Video Title 2. Video Description 3. …

Member Avatar for aryanmughal
0
87
Member Avatar for azegurb

I have code written in JavaScript this a form that dynamically adds row (taken from internet and modernized by JavaScript masters) [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head><title>dinamik sheet</title> <script> var i=iteration; function addrow(){ var tbl = document.getElementById('sheet'); var iteration = tbl.rows.length; var row=tbl.insertRow(iteration); var cellLeft = …

Member Avatar for azegurb
0
259
Member Avatar for Addweb

Hi, I have a problem with capturing a number that is generated with a javascript. Let me explain. Its a shopping cart. when people choose to buy a package, there is a total that is visible. This total changes as they choose more or less packages. The total is handled …

Member Avatar for saiprem
0
109
Member Avatar for Cha0sBG

Hello dear daniweb experts, i was searching over the web and couldn't find any good explenation on how to write properly to a Microsoft SQL server database, so i decided to ask the experts here: How to properly write to the sql database: i used this snipped to read: [CODE]//Start …

Member Avatar for rajabhaskar525
0
168
Member Avatar for srya

how to get a current date and expire that date after a certain period using php?

Member Avatar for rajabhaskar525
0
65
Member Avatar for preetg

hi.... i m fetching 3 fields from two different tables that is ecode and edate from emp_company table and scode from emp_shift table.....and after fetching the records i want to change the value of any of the record and want to insert as a new record in emp_shift table.........but my …

Member Avatar for rajabhaskar525
0
94
Member Avatar for ee12csvt

Hi All, I have created a few pages using SQL/PHP and dreamweaver. All works fine, but I need some advice on one puzzle I have. I have two database tables, one holds current numbers that is used to create a table of links. These links then open a new page …

Member Avatar for rajabhaskar525
0
77
Member Avatar for tryphy

Basically it is.. I have a Admin page- > In this the admin wil be able to create a user by entering in his particulars: eg: user name, password for the user, telephone and email address.. The user will able to login using this username and password. Once they log …

Member Avatar for saiprem
0
265
Member Avatar for sandipan.rcciit

hello frnd, i want to integrate my web page with paypal service for shopping cart. for that purpose i use IPN (paypal notification service). i create a page name ipn.php to catch the paypal post and another page paypal.inc.php to describe all the variable and action to be done with …

Member Avatar for sandipan.rcciit
0
281
Member Avatar for muralibobby2015

hello.... i am doing one task. in that there is a number of products. each product have number of pdf files. i am adding these files from admin side and inserting in database. so how can i download particular product files(ex..10 files) in single press at frontside. thnx.

Member Avatar for saiprem
0
128
Member Avatar for stockvale

Hi guys, I have written this code that will convert the images in Path1 to thumbs and will copy it to Path2. In the image folder there are more than 100 images. However this code will convert the first 5 images and will stops! If I remove the "createThumb" part …

Member Avatar for saiprem
0
123
Member Avatar for xoxbet

Hi, I'm taking texts from other page. In my page I use utf-8 encoding. When I print texts in my page, I get [COLOR="Red"]� [/COLOR]for some symbols, for example for [COLOR="Red"]ö[/COLOR] in German, or [COLOR="Red"]è[/COLOR] in French. I tried use file_get_contents, curl, but in these two ways output have [COLOR="Red"]�[/COLOR] …

Member Avatar for xoxbet
0
165
Member Avatar for whiteyoh

Hi all, When running the following i get this error: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user_id' cannot be null and heres the code: [code] function upload(){ /*** check if a file was uploaded ***/ if(is_uploaded_file($_FILES['userfile']['tmp_name']) && getimagesize($_FILES['userfile']['tmp_name']) != false) { /*** get the image info. ***/ $size = getimagesize($_FILES['userfile']['tmp_name']); …

Member Avatar for whiteyoh
0
607
Member Avatar for virtualmisc
Member Avatar for fobos
0
104
Member Avatar for babydol
Member Avatar for Stefano Mtangoo

One day, my Java friend asked me if there are threads with PHP. I didn't knew and I have to poke around net and manual only to find none. enough of useless words. Here my question goes. Is it possible to create abstract class with virtual and pure virtual functions …

Member Avatar for whiteyoh
0
102
Member Avatar for CFROG

I'm working with Google API trying to plot multiple points on a map. I can't find really good documentation on how I need to do this so I'm sort of winging it at this point. Obviously what I have is not working. The map is displaying and centered where I …

0
66
Member Avatar for saad_sinpk

i use this script for uploading image in mysql db [CODE]<?php $db_host = 'localhost'; // don't forget to change $db_user = 'username'; $db_pwd = 'password'; $database = 'vargasfa_fake'; $table = 'ae_gallery'; // use the same name as SQL table $password = 'satan159E'; // simple upload restriction, // to disallow uploading …

Member Avatar for whiteyoh
0
162

The End.