52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for yopirates

Here in the second tab i have a submit button .when i enter some value in the textfield of second tab(tab2) and give submit its again going back to first tab(tab1) .What i want is after i click submit in tab2 it has to be in tab2 oly.It has to …

Member Avatar for yopirates
0
1K
Member Avatar for segiboy

[B]Hello, I want to search data through multiple drop down, using different tables in database just like if user want to search "data" field recode then he select Normal Resumes (radio button) and select drop down for search and same thing i want in "special" table in database.. i have …

Web Development php
Member Avatar for segiboy
0
131
Member Avatar for iammirko

Hi, I am trying to execute the following script, but each time it is failing and returning "Unable". Note: "Unable" is the response returned when isset($_POST) is not working, refer the code for more details. [COLOR="red"][B]PHP CODE[/B][/COLOR] [CODE]<?php $test = "Hi!"; if ((isset($_POST['usrName'])) && (isset($_POST['pWord']))) { $user = $_POST["usrName"]; $pass …

Web Development mysql php
Member Avatar for iammirko
0
448
Member Avatar for ekSquall

Hi, I have populated a dropdown menu using php pdo from sqlite database. How would i go about reading what the user has selected in the dropdown menu. so i can do something like: $userSelected = [whatever user selected in the dropdown menu]; my code is as follows (part of …

Web Development php sqlite
Member Avatar for hielo
0
590
Member Avatar for dannynez

i get this Warning: Cannot modify header information - headers already sent by (output started at c:\appserv\www\conectarse.php:2) in c:\appserv\www\conectarse.php on line 61 and this warning happen in line 58 - header("Location: ".$MM_redirectLoginSuccess); and in line 61 - header("Location: ".$MM_redirectLoginFailed); pls i need somebody help me to resolve this this is …

Web Development php session
Member Avatar for pzuurveen
0
130
Member Avatar for tonvlad

i'm trying to explode my variable but it has a single quote which is invalid in my mysql syntax. can u help me how to explode a single quote?? list($a, $b) = explode("'", $des);

Web Development php
Member Avatar for dddougal
0
253
Member Avatar for BarryBrooks

First of all I'd like to apologise in advance if I do not explain this very well, as I'm not overly familiar with javascript, but here we go. I'm currently working on an ecommerce page on ebay, I've added html code within the description of a listing to make it …

Web Development ecommerce javascript
Member Avatar for BarryBrooks
0
120
Member Avatar for phpDave

Hi, Currently I am working on a site that lets users upload photos for their personal page. This page is just a prototype so some of the code is very sloppy so I really should not post all of it. Anyway, here is some: [CODE]$id =$_GET['id']; if(!isset($id) || empty($id)){ die("Please …

Web Development display mysql php
Member Avatar for P0lT10n
0
83
Member Avatar for cmccully

Hi all, I have an AJAX function that sends the contents of a text field to a PHP file. The file checks for duplicate entries and if unique stores the new record in MYSQL. This all works fine. However, I would like the PHP file to send back an alert …

Web Development javascript
Member Avatar for cmccully
0
85
Member Avatar for jj.amonit

Using the above technologies, I want to create a PDF, store it in my db, and email it. All with the click of one button. I also want to call it up and have it be able to display with a hyperlink. I am very new to FPDF. Therefore, I …

Web Development mysql pdf php
Member Avatar for red_ruewei
0
1K
Member Avatar for Mahaa

Hi, I am pretty new to this scripting language. I have just installed the following s/w packages in my system via XAMPP. >php >MySQL >Apache Next,I started writing a basic script in notepad and saved it as "hello.php" My question is where to run this script, either in the Command …

Web Development apache php
Member Avatar for Mahaa
0
735
Member Avatar for leopardsag

I want to create pdf from sql result and then also mail it or save it. Kindly advise. I want any link to working example and code or simple code. Thanks. :)

Web Development pdf php
Member Avatar for red_ruewei
0
157
Member Avatar for HedoBum

This is stumping me...it's probably pretty obvious, but I'm working under medication for the flu... I finally got my form submitting to my database and to separate tables from the update.php script. Problem is, (I know this sounds trivial and I shake my head as I query) I can't get …

Web Development display php
Member Avatar for HedoBum
0
140
Member Avatar for sajohnson05

Below you will find my code for a form. I am trying to do Regular expression. I have the expression but when i enter something that is not right it will still post. I believe the reason is that i am still calling the $_POST of original not taking into …

Member Avatar for timhysniu
0
101
Member Avatar for ziaul1234

Hi I am just stucked. Would be great if someone can help me. I have created form in page1.html. User fill the form and can view it in page2.php where there is also an edit button. If they need to edit any details, page3.php comes and they they can edit …

Web Development php
Member Avatar for timhysniu
0
225
Member Avatar for nyler01

i need help. i am developing a webpage which is the user is able to log in,log out, register, and change password but my problem is the tutorial that i've seen so far is about mysql. i am using ms access database and i want to do this stuff using …

Web Development php
Member Avatar for nyler01
0
208
Member Avatar for jimbennett57

Due to a *quirk* in our domain forest, I need to change how I'm getting a logged on user's group membership. When a user authenticates into this application I need to see if they belong to one of 4 groups. In our test environment I was using: [CODE] ArrayList groups …

Web Development asp.net web-server
0
83
Member Avatar for teedoff

Hi I am very new to PHP and was working through a tutorial to learn a little about PHP. I created a simple form that passes form variables to another page to be displayed. It's a coin counter that when the user enters certain amounts of different denominations of coins, …

Web Development php
Member Avatar for teedoff
0
109
Member Avatar for cmccully

Hi all, I have an AJAX script that pulls a radio group list from PHP. I would like to then read which of those options the user subsequently selects. My AJAX script: [CODE]function showCharacteristics() { xmlhttp1=new XMLHttpRequest(); xmlhttp1.onreadystatechange=function() { if (xmlhttp1.readyState==4 && xmlhttp1.status==200) { document.getElementById("charList").innerHTML=xmlhttp1.responseText; } } xmlhttp1.open("GET","ctrPanelProc.php?selection=getCharacteristics",true); xmlhttp1.send(); }[/CODE] …

Web Development javascript
Member Avatar for hielo
0
87
Member Avatar for KriBez

Hello! Finally I joined daniweb. Great stuff in here guys. Anyways lets get to the problem: I have a page where a number of topics are displayed ( they are added by admin). And to get this list I`m using this script [CODE=php] // Query the database $gettopic = mysql_query("SELECT …

Web Development mysql php programming-construct
Member Avatar for KriBez
0
110
Member Avatar for CasTex

Hello, When I try to mysql insert values with same names, it encourages this error. When I looked at the table column, I see that the row id is always "1" and it doesnt let to add same entry. [URL="http://img267.imageshack.us/img267/4123/sfff.jpg"]http://img267.imageshack.us/img267/4123/sfff.jpg[/URL] My question is, how can I add an auto increment …

Web Development php
Member Avatar for P0lT10n
0
164
Member Avatar for ujjval dave

hi every one, i need your help in php code. my error is for profile page. after implementing lots of php code in this page,my page became auto refresh in every 2secound. i don't know what happend to it. i m attaching my code pls elp me. [CODE] <?php //get …

Web Development php session
Member Avatar for ujjval dave
0
173
Member Avatar for benhowdle89

I'm sure this has been answered many times but its something i've struggled with doing, if i wanted a user login on one page, when, for example "John" logs in he goes to an area that only "John" can see, "Jill" cannot see this area and cant access it by …

Web Development php
Member Avatar for benhowdle89
0
161
Member Avatar for visweswaran28

Hi, I am creating web application. In that I want to set session timeout (not idle timeout). If a user logged in that time the session time will start and it automatically should detect session timeout the page should redirect to another page. How can I acheive this.

Web Development asp.net session
Member Avatar for rohand
0
221
Member Avatar for kracko

hey ppl. I have many submit buttons in a form. Each of them does its thing in different php pages. But when, for example, 'add' button goes to 'add.php' it does its work but stays there) how to redirect page back? thanks

Web Development php
Member Avatar for kracko
0
198
Member Avatar for Renu Deshpande

Hi all, Can anybody help me in resolving this issue. The details are mentioned below. I am generating PDF using <cfdocument> tag of Cold Fusion. I have a header and footer to be displayed on each page. I am rendering data in a table. If rows in the table exceed …

Web Development coldfusion pdf
Member Avatar for AVM
0
495
Member Avatar for Melow

So i had to do the following assignment in GWT: 1.Implement a selection/de-selection component as described below: The selected item in the first list goes into the second list and is removed from the first list when the >> button is pressed. The selected item in the second list goes …

Web Development javascript mysql user-interface
0
162
Member Avatar for pieterv

Could someone please explain why the following code works: [code=php] <html> <head> <script type="text/javascript"> function test(){ phpTest = "<?php echo 'hello'; ?>"; document.getElementById("php_code").innerHTML = phpTest; } </script> </head> <body> <a href="#" onclick="test(); return false;"> test </a> <span id="php_code"> </span> </body> <html> [/code] while this code doesn't: [code=php] <html> <head> <script …

Web Development html-css javascript php
Member Avatar for pieterv
0
2K
Member Avatar for becraig

I need to assign a variable based on its value. ie: $variable = 'value' (if value != "Session['value']" My brain is not really working atm I know there has to be a simple way to do this. I am selecting a random file from a directory and do not want …

Web Development php session
Member Avatar for becraig
0
102
Member Avatar for curious_me

Does anybody know anything about click functions? I need ur help guys. what I wanted is that there will be 3 choices and once I clicked one of those choices it will be automatically displayed to a table in html. please help me cause google can't help me or i …

Web Development php
Member Avatar for P0lT10n
0
138
Member Avatar for nikita.chandra

hi all will it affect my applications speed if i'll set more than 10 attribute in the session thanks in advance!

Web Development java-jsp session
Member Avatar for Stefano Mtangoo
0
73
Member Avatar for phaedrusGhost

Hi all, I am implementing a dropdown list that finds people from a "State" and "City". The states and cities are stored in the DB when a user registers. Since there are several times "California" exists in the DB, how can I display "California" in my dropdown list once and …

Web Development php
Member Avatar for P0lT10n
0
115
Member Avatar for digiplaystudios

Hi There, I've got a membership script and a login using PHP and MySQL databases however when it logs in it simply displays a PHP page - the same one for all users. I want to be able to customise the members page so it says things like: Hello, <username>. …

Web Development display mysql php session
Member Avatar for P0lT10n
0
215
Member Avatar for ←Guybrush→

Ahoy Sailors! So I'm scripting a socket based project in PHP, And now I've got to the stage where I'm needing to start accepting user input, What worries me is that PHP can't do two things & once (I.E Spawning & waiting for input from an interface & listening for …

Web Development php user-interface
Member Avatar for diafol
0
104
Member Avatar for Tekkno

Hello, I have a div (#disclaimer) that has the css property of "display:none." The following jquery script is supposed to show it when the #test select option is clicked. The #quest,#comp,and #other divs are supposed to hide it again. It works fine in FF but does not work in IE. …

Member Avatar for fobos
0
250
Member Avatar for turverey

Hi, I am in a unusual situation and cannot get my JavaScript to work. I need to have all of my JavaScript in one external file that I link to in the header. However, some of the JavaScript in that external tag needs to appear in a certain place in …

Web Development javascript
Member Avatar for P0lT10n
0
187
Member Avatar for pokiaman

I m trying to get it work in php but i cant, since i m new in PHP :( i was wondering if someone can help and i would really appreciate it!! :* Description: In a php page i want to choose from a drop down menu (Houses) a choise …

Web Development php
Member Avatar for vaibhav1983
0
146
Member Avatar for houston3000

i am trying to write a code in php in which user select state on that selection user able to choice city which are retive as array from the table, on that selection retieve set of final data. i am confused how to handle and send data for query depanding …

Web Development php
Member Avatar for vaibhav1983
0
83
Member Avatar for aldm

Hi, I'm working on one sites and having troubles with these: I have tables catecogires and subcategories in database. When user add article, he select categorie from select tag and under that tag appears another select tag with subcategories of selected category. Code in jquery: [CODE] $("#ka").change(function(){ function PostaviPodatke(podaci){ $("#pka1").show(); …

Web Development javascript javascript-jquery
Member Avatar for hielo
0
116
Member Avatar for slap01

i do believe my code in update is wrong because saving it is working but having trouble with the "Edit". help anyone? [CODE]<?php include 'conn.php'; $flag=$_GET["flag"]; if ($flag=="1") { $id = $_GET["id"]; $lname = $_GET["lname"]; $fname = $_GET["fname"]; $mname = $_GET["mname"]; $age = $_GET["age"]; $sex = $_GET["sex"]; $course = $_GET["course"]; …

Web Development php
Member Avatar for Nyight
0
181
Member Avatar for crazyboy

Hi ... Friends ... I have to develop one project in php for my project work. Our college has said that we have to use any one framework of php to develop our project. I am going to develop forum. Which frame will suits best for my development. I dont …

Web Development php php-codeigniter
Member Avatar for aquilax
0
96
Member Avatar for raul8

In PHP, how can I print the list of directories and their sub-directories? Files should not be printed.

Web Development php
Member Avatar for mschroeder
0
99
Member Avatar for segiboy

I'm fetching data from database but problem is if i leave my field blank then result is shown like attached file... I want that if field is empty then auto value set into "N/A" . Is it possible from phpMyAdmin-2.11.10. Please reply Thanks Farhan.

Web Development php
Member Avatar for Nyight
0
110
Member Avatar for charvie

Hi, i have this HTML page that contains an image, some text, and a save button. Now what I want is, when i click on the save button, the image on my site, and all the text will be saved as a PDF file. is that possible using PHP?

Web Development pdf php
Member Avatar for chrishea
0
103
Member Avatar for tashaX

Hello, I'm completely new to JavaScript. My project requires to display path from pointA to pointB on GoogleMaps using gps coordinates. For now all I'm trying to do is to display google maps webpage to start off. Using an online editor I was able to do that but when put …

Web Development javascript
Member Avatar for coolbuddy059
0
141
Member Avatar for chintan@dani

Hello Readers I am trying to create Categorytree.In which i want to display subcategories under its parent category.I got the code to develop category tree that display using <ul><li> but i want to display it in dropdown. How can i do that? For Example Parent1 __Child1-Parent1 __Child2-Parent1 __|__Child1-Child2-Parent1 Parent2 __Child1-Parent2 …

Web Development php
Member Avatar for chintan@dani
0
1K
Member Avatar for dennishall

Hi All: I am trying to load an image into a div using AJAX. Instead on loading the image, I get �PNG  as the result in the div. Does anyone know how to load an image into a div? Best Regards, dennishall

Web Development javascript
Member Avatar for hielo
0
993
Member Avatar for phpDave

Hi, I'm trying to build a site that lets users contact each other through the site. Like an email system in the site only. I'm just looking for some keywords to do research on my own. Thanks!

Web Development php
Member Avatar for phpDave
0
71
Member Avatar for BzzBee

hi, I am trying to upload picture using PHP. I made this title because if the thread contains title with tough problem, no one even open thread and try to help. Actualy i have problem in picture uploading, but critic part is that my code is at one site and …

Web Development php
Member Avatar for accountholder
0
155
Member Avatar for ryan-t

Hi, I'm pretty sure this would be something I'd need javascript for. What i want to do is to recognize when a user presses the enter key while active on a text area and to insert a new line

Web Development javascript
Member Avatar for Airshow
0
163

The End.