39,316 Topics

Member Avatar for
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
95
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
122
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
134
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
263
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
206
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
Member Avatar for Mecklar

Hi all: I am pretty new to php and am currently trying to make a simple website with a login script. I am however having a problem with the header already being set. I understand that this is because of having whitespace or calling certain things before setting the header, …

Member Avatar for sourcebits
0
163
Member Avatar for designershiv

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Data Store</title> </head> <body> <?php $host="localhost"; // Host name $username="root"; // Mysql username $password=""; // Mysql password $db_name="test"; // Database name $tbl_name="sample"; // Table name // Connect to server and select database. mysql_connect("$host", "$username", …

Member Avatar for whiteyoh
0
105
Member Avatar for doctorphp

Hi All. I am trying to display images using the while loop but I want the pictures to be displayed like this. [ATTACH]16585[/ATTACH] The only thing is, I don't know how to do it. Any help would be much appreciated. Thank you in advance Cameron

Member Avatar for dev.vini
0
7K
Member Avatar for mastermind2

i am try to create a drop down cms menu in my Website [url]http://4your.co.in/demo2/[/url]. Problem is i have used a while loop to show main menu and another while loop to show submenu . Main menu is working but sub menu show online one record . My Code Is . …

Member Avatar for dev.vini
0
185
Member Avatar for MDanz

the problem is mysql_num_rows is returning zero rows.. when it should return 1 row. the variable $value is an array with two strings (testa and testb)... when i remove the foreach loop and replace $key with 'testa' in the query it works(returns 1 row). how do i solve this?... both …

Member Avatar for FlashCreations
0
81
Member Avatar for threat

i have a .php webpage with the following basic structure [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>index</title> <style type="text/css"> .style1 { background-color: #4BACC6; } .style2 { background-color: #005AE7; } .style3 { text-align: center; color: #FFFFFF; font-family: Arial; } .style5 { …

Member Avatar for threat
0
187
Member Avatar for make11

Hi All, Sorry my bad english. I have a problem with my calendar. How I can mark table cells with image and with checkbox? I have a linear year calendar what show booked -> red and free -> green. Now I want when booking calendar and booking first day of …

Member Avatar for make11
0
86

The End.