39,323 Topics

Member Avatar for
Member Avatar for andrewh86

I am trying to learn PHP. I have set up a database, a table, and made a form that allows me to add new rows to the table when the submit button is clicked. The problem is that the form also submits any time the page is loaded or refreshed, …

Member Avatar for chrishea
0
188
Member Avatar for QWaz

Hi, I am trying to get something up where by: -> It dynamically displays input text fields that can be edited. -> However I need the current id as well as the current value to display -> when a person submits the form, it updates all / or only each …

Member Avatar for QWaz
0
210
Member Avatar for ektron

Helllloooo DaniWeb peoples!! - I have books and whatnot, but I thinks I need opinions from real people ya know? My question - What do you think are essential projects that a professional web programmer needs to know how to do? Let em fly!! - an earnest THANK YOU

Member Avatar for chrishea
0
131
Member Avatar for delle

When you’re stucked with an empty page on Webclassifieds that you only see the header and the footer with a blank white page in between, you must be on a page that never existed. A quick way to reproduce this is to try to append any string on your URL, …

0
45
Member Avatar for Virangya

Hi... I have a list of products displayed in a page and it contains a combo box to sort the products in a certain criteria. I want to sort the products just when I choose the criteria from the combo box. I understood I have to do this using onChange …

Member Avatar for almostbob
0
80
Member Avatar for heshanm

Hi guys, I have a small problem here... There is a [B]customer id[/B] field and a [B]search button[/B] in one page. In my database there is a [B]table[/B] called "[B]customer[/B]" which contains fields of [B]customer_id, full_name, name_with_initials, address, contact_number and gender[/B]. The table is filled with record of each customer …

Member Avatar for heshanm
0
84
Member Avatar for fladei

Hello dear Community. Just to know if any of you have developed MediaWiki extensions, and how do you do that? I´ve been looking in the web and I have found nothing at all, or at least, nothing clear enough to create a simple "Hello world" extension to media wiki. Any …

Member Avatar for chrishea
0
108
Member Avatar for heshanm

Hi all, Here i have a serious problem. I want to sought it out using [B]PHP and MySQL only[/B]. I have a form includes fields of customer id and Account type( [B]stored in a jump menu and includes 6 different types of accounts[/B]) [CODE] <style type="text/css"> <!-- body,td,th { font-size: …

Member Avatar for heshanm
0
120
Member Avatar for a1suria

hello guys.. can anyone please help me i have created a Simple search for my database..the search form contains a drop down menu of the field names and user select the field name and input the keyword and then Click on search to retrieve matching records from that particular field.. …

Member Avatar for a1suria
0
2K
Member Avatar for loll_l

When submitting an order on my booking form found here: [url]http://www.n-v-m.co.uk/Booking.html[/url] the php file 'sendfile.php' is triggered and this sends booking details to my email account. This is the php code in 'sendfile.php' [CODE] <?php $Name = $_POST['name']; //senders name $to = "info@n-v-m.co.uk"; //recipient $subject = "Order from ".$_POST['company']." (".$_POST['name'].")"; …

Member Avatar for loll_l
0
134
Member Avatar for phplover

Hi, Sorry it's me again :-O I am in the middle of creating a download/upload management script. Currently it has one upload method HTTP upload via HTML form which obviously is not good as users would be restricted by the PHP max upload size and script timeout issues and so …

Member Avatar for phplover
0
144
Member Avatar for sami.asanga

Hi , Im developing a shopping cart system.There I need to check whether the customer's cart is empty/not before going to the checkout page.If the cart is empty I need to give a message .How should I do that?? Can someone tell me..Thanks in advance...:)

Member Avatar for sami.asanga
0
84
Member Avatar for ryanwhite17

I am a current student and don't know much about where to even begin with this. :SI am working on a website for a friend and they want the visitor to be able to put in their zipcode and a list be generated with the nearest stores. Is this something …

Member Avatar for Stefano Mtangoo
0
153
Member Avatar for ebanbury

Hello Now this is very strange and way out of my knowledge-basis. I had a working form (see code) which inserted data into eph_product. Suddenly it stopped working and when I click on 'submit' I get the following error: [B]You have an error in your SQL syntax; check the manual …

Member Avatar for ebanbury
0
218
Member Avatar for sakush100

The explode function breaks the data in $kkkk into fragments and stores them into array whenever - is encountered. Now the problem is i want to explode the same data, whenever Enter key was used. Please help me,i got stuck for whole day. [CODE]<?php // TO BREAK THE DATA INTO …

Member Avatar for sakush100
0
147
Member Avatar for lakshmi_lux

I want to display with a set of radio buttons in the following way category subscribe unsubscribe aaaa 0 0 bbbb 0 0 cccc 0 0 dddd 0 0 submit this is the way i wanna display my page...can any one tell me how i can use css and php …

Member Avatar for lakshmi_lux
0
98
Member Avatar for tireytv

I just cannot get this solved and after way too much time on this, I'm here for help. Here's my code snippet: [CODE] while ($row = mysql_fetch_assoc($result)) { $domain = $row["domain"]; $domainwww = "www.".$domain; //$domainwww = "www.google.com"; $sql2 = "SELECT url_id, url FROM urls WHERE url='".$domainwww."'"; [/CODE] My problem is …

Member Avatar for tireytv
0
95
Member Avatar for cawoodm

We need to access a MS SQL 2000 database with unicode data in nvarchar fields from PHP (on IIS). Unfortunately PHP's MSSQL does not support this. Unfortunately we cannot use a different driver (like ADODB) - we're stuck with the application (Interspire KM) and can't rewrite it. Is there anyway …

Member Avatar for cawoodm
0
124
Member Avatar for figbus

Hello there! I have a question - I'm trying to display store categories (ex: Apparel and Accessories) in this code. The categories display perfectly, but when I click on said categories, they do not display the items underneath it. I've populated the database with a few values, but they still …

Member Avatar for ZZZubec
0
72
Member Avatar for MDanz

this has been driving me nuts. It should work. $value2 is an array with two strings in it. mysql_num_rows should return 1 row for each string. instead it returns zero. I simplified it below and cannot get it to work. it should echo "equals one". [CODE]$value2 = $_POST['topic']; foreach($value2 as …

Member Avatar for Kieran Y5
0
74
Member Avatar for sam023

I just want to know which would be the best CMS for a Social Networking Site.. Is it Joomla or Drupal..?

Member Avatar for anupam.3985
0
135
Member Avatar for heshanm

Hi all, This is regarding part of my project. There is a junior staff member who adds data to the database by way of a form.(customer details) Thereafter a supervisor should logged into the system and if he needs he should be able to modify the details entered by junior …

Member Avatar for MindSter
0
141
Member Avatar for Bliksempie

Hi everyone, I have an issue with IE7 not responding as it should after a log-in to a website I built for a client. This same problem also affects the add to basket or add to wish-list functionality, the checkout process, and all other Ajax requests. Here is a breakdown …

Member Avatar for MooGeek
0
175
Member Avatar for ravinder.261987

Hi , I want a call feature on my php website. FOR E.g Supoose there is form having a field name "Contact Number". Once the user will enter his phone number and will click submit button then he will recieve automatic call. How to do that ? Anybody having any …

Member Avatar for ravinder.261987
0
311
Member Avatar for phplover

Hi, Does a file have to be writable in order to be deleted? If a file is writable using the php [b]is_writable()[/b] function does it mean it can also be deleted because it is writable? Reason for asking is before i attempt to delete a file and record from database …

Member Avatar for phplover
0
116
Member Avatar for ebanbury

Hello I'm using mysql databases and php via dreamweaver for the scripting. I have worked out how to submit images to a database and retrieve them. How to just use the image_location to insert dynamic images into a webpage etc. But I'm really struggling in working out how to just …

Member Avatar for MindSter
0
3K
Member Avatar for anirban1087

Hi, I am new to php. I am working on a product. My product has a search page, with multiple criteria. Next page will show the matched recodes (with some information) in a table format. Now I would like to show the details of a particular record, by clicking on …

Member Avatar for MindSter
0
86
Member Avatar for flyheight04

could someone help me on this.. the if else statement (bold letters) is not working.. and only the if statement is running and it seems the whole condition too i included the whole code so that everyone can see what i want to do.. [CODE]<html> <head> <title>Untitled Document</title> <link rel="stylesheet" …

Member Avatar for MindSter
0
168
Member Avatar for whiteyoh

hi all, ive been using curl with a few different 3rd parties, but im trying to get me head around what i should be returning. im using this curl function [code] <?php function request($url, $postdata) { $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_POSTFIELDS, …

Member Avatar for whiteyoh
0
207
Member Avatar for arthurav

I have a file upload website. Information about files and the files themselves are stored in a mysql database. I want to allow the users to delete their own files. On every line I have put a delete button. My concern is which is the most secure implementation. I am …

Member Avatar for MindSter
0
74

The End.