52,566 Archived Topics

Remove Filter
Member Avatar for
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 …

Web Development php
Member Avatar for MindSter
0
90
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" …

Web Development html-css php
Member Avatar for MindSter
0
170
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, …

Web Development php
Member Avatar for whiteyoh
0
212
Member Avatar for ekseks

can someone show me how to call two functions at the same time... and is it possible calling them with the onShow command? thanks

Web Development javascript
Member Avatar for ekseks
0
169
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 …

Web Development mysql php
Member Avatar for MindSter
0
76
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, …

Web Development html-css php
Member Avatar for sourcebits
0
168
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", …

Web Development php
Member Avatar for whiteyoh
0
108
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 gauravkukreja06

Hi, having some problem...Plz help me out from this I have problem in ModalPopupExtender. When I click on submit button of pop up it does not call the code behind code written for button click.. Here is my code- <ajaxtoolkit:modalpopupextender id="ModalPopupExtender" runat="server" cancelcontrolid="LinkButton1" dropshadow="false" okcontrolid="btnSubmit" X="200" Y="100" popupcontrolid="Panel1" targetcontrolid="imgSchedul"> <aspanel …

Web Development asp asp.net
Member Avatar for gauravkukreja06
0
2K
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 . …

Web Development cms php
Member Avatar for dev.vini
0
190
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 { …

Web Development html-css perl php
Member Avatar for threat
0
191
Member Avatar for dandixon

Got the code below for a login form to check that users dont miss a field and then to check wether or not the data user and pass fields match what is in the database but i cant seem to structure my [COLOR="Red"]if, elseif, else[/COLOR] statements correctly [CODE] <?php /** …

Web Development data-structure php session
Member Avatar for dandixon
0
87
Member Avatar for sami.asanga

Hi, I need to hide the login screen of my web site whenever a customer has logged in..It should be done with javascript right?? Any suggestions?? Can someone help me to do this?? Thanks....:)

Web Development javascript
Member Avatar for gunnarflax
0
114
Member Avatar for Mobins

i create dynamic checkboxes in coloum of table(<td id="trial" runat="server"></td>) from selecting quantity from dropdwonlist. well creating dynmic checkbox is not an issue.. well the issue is tht i am not able to check whether the Checkboxes is checked or not on a Button click.... the functiion used for generating …

Web Development asp.net web-server
Member Avatar for rohand
0
135
Member Avatar for srky

cmd1.Parameters.Add("@emp_name1", SqlDbType.NVarChar); cmd1.Parameters.Add("@join_date1", SqlDbType.DateTime); cmd1.Parameters["@emp_name1"].Value = name.Text; System.Data.SqlTypes.SqlDateTime getDate; //set DateTime null getDate = SqlDateTime.Null; if (joindate.Text == "") { cmd1.Parameters["@join_date1"].Value = getDate; } else { cmd1.Parameters["@join_date1"].Value = joindate.Text; } I used this code to insert a null value in datetime column of sql server table but always its giving …

Web Development asp.net sql
Member Avatar for rohand
0
914
Member Avatar for cyberprincess

Hello, Can anyone please help me straighten out this error? I've tried a few things, but cannot seem to solve it. I am getting a 500 Internal Server error on a Wordpress 2.8 blog. I cannot get any pages to show up, nor log in to the admin area. The …

Web Development php wordpress
Member Avatar for tami64
0
210
Member Avatar for leemp5

Hi guys, I have a page that echos fields from a database based on various text and combo box selections. I am trying to get it so that when the page is refreshed, the echoed vales are still displayed, even if the form fields are reset. Im under the impression …

Web Development php
Member Avatar for gunnarflax
0
122
Member Avatar for bjeffries

I have a Join page on my site(which also has a login form). Is it easy to write java-script to determining if they do not have matching passwords(re-type password for Join form) or a valid email without redirecting you from the page? That way if something is wrong it shows …

Web Development javascript php
Member Avatar for gunnarflax
0
242
Member Avatar for dflor

For instance, the following script works fine without html <html><head></head><body><?php $im = imagecreatetruecolor(100, 100);// sets background to red $red = imagecolorallocate($im, 255, 0, 0); imagefill($im, 0, 0, $red); header('Content-type: image/png'); imagepng($im); imagedestroy($im); ?></html> How could we include a php gd library into html?

Web Development html-css php
Member Avatar for gunnarflax
0
141
Member Avatar for amarjit111

I have a query regarding the hide/show of the cells in a table. The first column is 'Yes and No' options using combo box, 2nd option is 'input field', 3rd column is also 'Yes and No' option using combo box, and 4th option is also 'input field'. What I want …

Web Development javascript
Member Avatar for gunnarflax
0
188
Member Avatar for phplover

Hi, I know and understand what magic quotes does, but have never written any of my scripts to check whether magic quotes is on or not; and if on stripslashes() . I thought it was time that i do this check incase any of the scripts i create are used …

Web Development php
Member Avatar for hielo
0
124
Member Avatar for AboJaD

i have two web servers, one that hold the site files and database, the other have a folder named images which will hold the member photos. on the site server i have a php file, which should contain a script that grab the photo the member chose to upload and …

Web Development php web-server
Member Avatar for MindSter
0
196
Member Avatar for carlogl

I have problems with this part of my code, I try to make a dynamic email and send it, I already can send a plain email with this but now I need to make an email with personalized info. I hope you guys can take a quick look. [CODE=php] $smtp …

Web Development email php
Member Avatar for carlogl
0
156
Member Avatar for zoran

[font=Courier New]Hi I am trying to communicate with EPP Server. I have java client example which use Java HttpURLConnection method to establish the connection. Example: =================================================== 1.String address = "https://someserver.serv.com:429/epp/proxy"; 2.URL url = new URL(address); 3.HttpURLConnection c = (HttpURLConnection) 4.url.openConnection(); ==================================================== How can I do something similar to communicate with …

Web Development asp client-server xml
Member Avatar for ysihaoy
0
232
Member Avatar for new SE

hye all.. now i'm doing an insert statement in asp.net using c#.. how i can make a validation for same data entry? anyones can help me? thanks in asdvance...

Web Development asp.net
Member Avatar for new SE
0
75
Member Avatar for jhonpeter1980

Hey Folks, I am back with CSS 3.0 background options … I hope you’ll love this one…. All the details you can find here [url]http://innovator.samsungmobile.com/cms/cnts/knowledge.detail.view.do?platformId=12&cntsId=7400[/url] Some of the details covered the above article: Background (multiple) The css3 gives the possibility to apply more background images to a single element and …

Web Development cms html-css javascript
Member Avatar for Kieran Y5
0
177
Member Avatar for cpu278

Hi, quick question, more of a curiosity. Is there a PHP method that has as input an int and returns the name of the number as a string value? Say, for input 0 it returns "zero", for 7 returns "seven", and so on? Thanks

Web Development php
Member Avatar for cpu278
0
146
Member Avatar for focusondot

Hi Community of DANIWEB, first time here, first post below...and I'm pretty new at this as well. I'm getting this error "Column count doesn't match value count at row 1" My code is: [CODE]$insertSQL = sprintf("INSERT INTO tearSheet (". "compType, ". "compType2, ". "report_date, ". "numEmployees, ". "cliNumber, ". "execSummary, …

Web Development php
Member Avatar for focusondot
0
132
Member Avatar for Bazzaah

Hi I am writing a site that will include an audio dictionary. The dictionary will have a working search function. [B]This is what I have so far:[/B] When a search is made, one or more results is returned. The user can click on each result to get taken to a …

Web Development audio php
Member Avatar for MindSter
0
189
Member Avatar for sgweaver

I am creating a form that you don’t actually submit in order to allow people to download files. You select different options with radio buttons and drop-down menus and then use that information to “show/hide” divs with javascript. That part works, but if the user leaves the page and then …

Web Development javascript session
Member Avatar for azegurb
0
272
Member Avatar for pgmarco

Hello, I am trying to add variables from select options, but I am getting the $NaN error with certain items. The first item is the video under the low end build, you have to select MSI Radeon HD430. The second item is sound under the high end build, you have …

Web Development javascript
Member Avatar for pgmarco
0
135
Member Avatar for davidscr

Hi, i realized a web service with xfire library, tested with a simple client simulator and with xmlspy. Now another client try to invoke the service, but this is the error that i can read on Tomcat catalina log. Can you help me to understand where is the problem? Thanks …

Web Development apache api xml
0
107
Member Avatar for heshanm

Hi, I want to retrieve data from my database and display it in a particular form. The data should be displayed in text boxes. This is the coding that i have used. But it is not working. Can someone help me out...... [CODE] <?php $connect=mysql_connect("localhost","root",""); mysql_select_db("bank",$connect) or die ("could not …

Web Development html-css php
Member Avatar for MindSter
0
148
Member Avatar for jonathan96

First off, sorry if this is the wrong section. Adobe Forms isnt exactly Web Development, but its the only place I could find to post about javascript. If this isnt the correct section, could someone please redirect me? Thanks. Now, onto the question (please note, I am inexperienced with javascript). …

Web Development adobe javascript
Member Avatar for macgurl70
0
211
Member Avatar for devHelp

I want to search a folder/directory on a client's computer when a button is pressed. Opendir seems to scan the path on the server and not the client. Can anyone confirm or deny this, and if it is possible how should I go about doing it?

Web Development client-server php
Member Avatar for mschroeder
0
150
Member Avatar for lgriess

Hi all, I need some advice, I've been asked to connect an html application to a .net application. I have a login form in the html that needs to be authenticated and the user to be brought into the .net app, how can I use the same authentication functions in …

Web Development asp.net html-css
Member Avatar for lgriess
0
186
Member Avatar for searchacar

Hello everyone, I have a site [URL="http://www.searchacar.co.uk"]used cars[/URL] and I am thinking to implement search facility. I need some information to implement a searching similar to autotrader. Means when people search on my site it shows cars according to closest to postcode search. Is this easy to implement. Are there …

Web Development php
Member Avatar for benjaminFowl87
0
82
Member Avatar for rahulephp

I am a php programmer but I am not so good with XML files. For a price comparison website, I need to parse the Amazons XML feed to store product data into the database. Can anyone please help me to find out such a simple script to parse Amazon XML …

Web Development php xml
Member Avatar for Kieran Y5
0
656
Member Avatar for arthurav

I use a mysql database with students and grades for a training program. I would like to create a dynamic form with one field that works like this: if i write the name in the form and press check, and the student exists, i want it to show me the …

Web Development javascript
Member Avatar for Graphix
0
174
Member Avatar for Blackred

Hello, first post so be kind ;) I'm using the ModalPopup to display a loading message when the user clicks on an imagebutton. The problem here is that while the ModalPopup is on screen, the button event doesn't fire so the page doesn't do anything - it just sits there …

Web Development asp asp.net
Member Avatar for gauravkukreja06
0
640
Member Avatar for ivan3510

Hi all. I'm trying to create custom prompt. When I click on the button, appears custom prompt and ask "Do you realy want to submit?". When I click "Yes", the form isn't submited. Here's html code: [CODE]<html> <head> <link rel="stylesheet" href="look.css" type="text/css"> <script type="text/javascript" src="script.js"></script> </head> <body> <form name="novo" action="obrada.php" …

Web Development html-css javascript
Member Avatar for ivan3510
0
628
Member Avatar for phplover

Hi, I am driving myself mad. I have not posted the full code but wondering if someone can help. I am testing a deletion of a record and file using the code below. The problem i am having is that although i delibrately remove the the variable $id from the …

Web Development php
Member Avatar for phplover
0
103
Member Avatar for Mecklar

I have a simple 2 option drop down menu which corresponds to a column in my database. The drop down menu is not populated by the database it is just used to update the data in that 1 column. However I was wondering if it would be possible to make …

Web Development php
Member Avatar for Mecklar
0
94
Member Avatar for sugikrish

i frnds, Many times i try to retrieve image from database. Successfully it upload to database. but cant retrieve. any one know this? Thanks in advance....

Web Development image mysql php
Member Avatar for MindSter
0
56
Member Avatar for prerit

I have a HTML form Having two fields [B][I]From:[/I][/B] and [B][I]To:[/I][/B] both are [I][U]text[/U][/I] fields(to genereate a report).I want to use these data to query on two tables based on the date specified(DD-MM-YYYY) i.e from and to and using these to select values from the two tables visitor_in and visitor_out …

Web Development html-css php
Member Avatar for Stefano Mtangoo
0
185
Member Avatar for backendcode
Member Avatar for MindSter
0
189
Member Avatar for ayooshkasmth

Hi, i have been trying in vain all day to assign child name to a parent id in an innodb table with foreign key. I can retrieve the parent id fine, but the problem is when i try to insert child name, PHP doesn't seem to be passing any values …

Web Development mysql php
Member Avatar for MindSter
0
93
Member Avatar for dandixon

[url]http://www.dandesign.co.uk/steel/register.php[/url] above is the link to my register page, filling the form in works fine but if you leave it blank and click the submit button it removes the footer of my page, please someone help i really need to get this sorted heres the code to my page too, …

Member Avatar for MindSter
0
223
Member Avatar for arthurav

I use a mysql database with students and grades for a training program. I would like to create a dynamic form with one field that works like this: if i write the name in the form and press check, and the student exists, i want it to show me the …

Web Development java-jsp
Member Avatar for javaAddict
0
117
Member Avatar for cristi08

Who can repair this it really a wizard. I try to add a column to an existing table. It a compound foreign key column from ather two. [CODE]ALTER TABLE valoare_lucrari ADD COLUMN id_oferta FOREIGN KEY (id_ofertant, id_proiect) REFERENCES valoare_lucrari(id_ofertant, id_proiect)[/CODE] It may be a problem of sintax or even it …

Web Development php
Member Avatar for cristi08
0
75

The End.