17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for raaboo

Hi, I am trying to generate an sql query to insert several pieces of data, most of which comes from another table, however I have one variable that comes from PHP variables as below: [CODE]insert into scores (AuditID, question_id, available_score, question, question_number, question_section) values ($auditvalue, (SELECT questions.quid, questions.question_value, questions.question, questions.question_number, …

Web Development php sql
Member Avatar for diafol
0
188
Member Avatar for BleepyE

Hey guys im looking for an image rotator script with links, so every time the page is refreshed a new random image is displayed. The thing is, i need a script that doesnt have the location of the images in the script. I need a script like the current google …

Web Development google-adsense image javascript
Member Avatar for BleepyE
0
162
Member Avatar for infinitus

i'm having problem displaying number of points scored in a game for every one right answer users scores 2 points... and i'm having little problem in displaying these points in a box below the game :( can any one help me out on that one thank you :) [CODE]<!DOCTYPE html …

Web Development html-css javascript
Member Avatar for infinitus
0
232
Member Avatar for Julia25

ive been searching for a triple combo dropdown script with go button and cant find one! i found a double combo([url]http://www.javascriptkit.com/script/cut183.shtml[/url]) but im aiming for triple which they can choose country, State and city need help!

Web Development javascript
Member Avatar for Julia25
0
445
Member Avatar for eltonpiko

hi can somebody help me out i have form that the user need to fill and at the end of the form the use have to make a payment via alert pay which they will be taken to the page buy clicking on the alert pay button but haw can …

Member Avatar for Shanti C
0
486
Member Avatar for shawtyred74

Hi, I am new to php and I am totally lost on what steps I need to take in order to create a website that will allow a user to login with an email address and password or subscribe or unsubscribe. if they choose to subscribe then they should be …

Web Development php session
Member Avatar for Stefano Mtangoo
0
104
Member Avatar for infinitus

i'm having little problem here, i have got timer here that counts down from a set time, but what i want to do now is instead of having timer, i just want to make a counter so if(counter=10) stop the game, and not when time = 0 [CODE]<!DOCTYPE html PUBLIC …

Web Development javascript
Member Avatar for Pnorq
0
195
Member Avatar for showman13

I have a DB table that has a member ID field and a level field... There can be duplicate member IDs because they can have multiple steps There can be duplicate step numbers because multiple members can be on the same step But there should NEVER be a duplicate combination …

Web Development mysql php
Member Avatar for diafol
0
161
Member Avatar for showman13

Good Morning, I'm not really sure where to go with this line of thought, so decided to bring it here where the logical thought processes reside... ;) What I have is this... A new membership program that has multiple levels that members can be paid on. Each level is tracked …

Web Development php
Member Avatar for showman13
0
350
Member Avatar for cliffcc

If I have an event which consist of 100 tasks, how to rewrite the below code,so i can show all the dealine of each task into <table>? Thanks! [CODE] <?php require("connect.php"); $deadline = mysql_query("SELECT * FROM events WHERE taskid='1001'"); $row= mysql_fetch_assoc($deadline); $deadline2 = ($row['deadline']); //dealine for this task(1001) is 2011-3-10-5-45// …

Web Development php unix
Member Avatar for diafol
0
122
Member Avatar for tape enterprise

well I am having a problem with my class I made to connect to my DB ok here is the class[CODE]class database { private $db_host = 'localhost'; private $db_user = 'root'; private $db_pass = 'McSteel8'; private $db_database = 'cmte'; public function connect() { $this->link = mysqli_connect($this->db_host, $this->db_user, $this->db_pass); mysqli_select_db($this->link, $this->db_database …

Web Development mysql oop php
Member Avatar for tape enterprise
0
88
Member Avatar for MDanz

i have a form on submit.php, with method post to the same page($PHP_SELF). If i made a mistake i want to be able to press 'Go Back' to the previous page(same page) and have the values in their textfields. [code] if(isset($_POST['new'])) { <a href='#' onClick='history.go(-1)'>Go Back</a> } else { // …

Web Development javascript php
Member Avatar for Airshow
0
139
Member Avatar for filch

Hello all, I am using the zoommap plugin to develop an interactive type map. I am also using the maphilight plugin to create imagemap rollovers/popups. So the functionality is: a world map; rollover a country, it hilites, shows the name of the country. When you click on the country, a …

Member Avatar for Airshow
0
124
Member Avatar for Stefano Mtangoo

I'm doing a project and would like to hear your opinions. I want to make Integrated library system and I want to have these folders 1. classes - where all classes will be stored 2. templates - where all templates will be stored 3. admin - where admin files will …

Web Development php
Member Avatar for Stefano Mtangoo
0
122
Member Avatar for rajandass65

hi, i want to know which framework is best-Zend or yii. rajan

Web Development php
Member Avatar for R0bb0b
0
134
Member Avatar for maddie87

I am making a magic squares game with javascript. When I click on an image and the function move is invoked I get the following error: Message: 'target.id' is null or not an object Line: 32 Char: 2 Code: 0 As you can see in my html the images do …

Web Development html-css javascript
Member Avatar for Airshow
0
464
Member Avatar for codemonkey88

Hello, I have been developing a cms system using php and for some reason it has suddenly started printing a Æ’ character at the top of the page. There are no errors returned, and the page has all expected functionality but it is pushing my layout down, skewing the design. …

Web Development cms php
Member Avatar for codemonkey88
0
114
Member Avatar for BleepyE

Im trying to right my first php script. Im trying to get the script to look at a defined site's source to see if a length of code is present. Ive been given this by a friend but im not sure its working as I get this error, and it …

Web Development php
Member Avatar for BleepyE
0
342
Member Avatar for haresh2906

I am getting Error: Jasper Exception for "com.microsoft.jdbc.sqlserver.SQLServerDriver" I have included sqljdbc4.jar in lib folder of tomcat serve bt still getting an error I dont know where to place sqljdbc4.jar...i am getting an error..so plz help me

Web Development java-jsp
Member Avatar for haresh2906
0
87
Member Avatar for TySkby

Hi all, I've been struggling with different ways to solve a problem for about a week, and as my attempts have so far been fruitless, I figured I would turn to DaniWeb for some help. I have an unordered list <ul class="navigation"> where each list item contains some links. Example: …

Web Development javascript javascript-jquery seo
Member Avatar for Taywin
0
156
Member Avatar for v5rox

i m trying to update a table in my sql database using stored procedure. i have executed my stored procedure and dat works fine, no problem in that. i knwo because the values are updated when i execute it. however when i try to do so through asp.net code that …

Web Development asp.net session sql
0
108
Member Avatar for andrewliu

Hello, If a user logs in with an email address and I have a session to save its email address so I can pass it along to other pages, how does it work if the user decides to update their email address in their account page? Will the session that …

Web Development php session
Member Avatar for andrewliu
0
117
Member Avatar for Macko888

Hey Guys... Brain is kind of dead on a late thursday afternoon in Cape Town, Can anybody please assist... what i am trying to do is: 1) in a table i have a column that is an array, its all in plain text 2) i have a table that has …

Web Development php
Member Avatar for diafol
0
311
Member Avatar for puvi

Hi frens.. I have a requirement, where the user selects a option from dropdown, depending on the option selected, the next 2-3 fields must get populated from data coming from db(this must happen without refresh) so i decided to use ajax. I am getting a error which i am not …

Web Development php
Member Avatar for puvi
0
221
Member Avatar for DotNetAmat

When I try to connect to a data base I am getting the following error. Please help me. Request for the permission of type 'system.Data.OleDb.OleDbPermission,system.Data, Version = 2.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089'failed. DotNetAmat

Web Development asp asp.net
Member Avatar for muze
0
150
Member Avatar for drewpark88

Hey Guys, I have downloaded the [url]http://www.swis.nl/ga/[/url] google analytics class and it is working just fine. It shows a graph of things like pageviews and visitors in a graph per day. What I want is just a solid number like: Visitors Last 30 days: 1,2043 | Visitors This Month: 1,434 …

Web Development php
Member Avatar for pritaeas
0
108
Member Avatar for dhruv_arora

hey, i started learning javascript programing n i wrote this simple code to test, it isn't working, here's the code :- [CODE]<script type="text/javascript"> { function mltest() { var fnmae=document.myForm.fName.value; var mName=document.myForm.mName.value; var lName=document.myForm.lName.value; var rtxt; rtxt="Your full name is : "; rtxt+=fName; rtxt+=mName; rtxt+=lName; var finalName=""; document.myForm.finalName.value=rtxt; } } </script> …

Web Development javascript
Member Avatar for dhruv_arora
0
187
Member Avatar for luweegee

i have a forum wherein a user can create a topic,delete and edit a topic. and i have a admin panel that can delete a topic,edit and locked a topic or closed. I'm done in delete,edit and create what I'm looking for is how can i lock the topic if …

Web Development php
Member Avatar for floatingDivs
0
106
Member Avatar for raffiq_eddy

Dear ajax expert, [URL="http://www.w3schools.com/php/php_ajax_php.asp"]http://www.w3schools.com/php/php_ajax_php.asp[/URL] Refer to the link, using the sample, I'm able to use php ajax to populate 1 text box which I've already pre-define (not using "echo '<input type='text'..") -- the info came from a table e.g. Search: [jo ] Name: [John doe] sql --- select name from …

Web Development javascript mysql php
Member Avatar for raffiq_eddy
0
985
Member Avatar for sayakyi

Dear All, I have a question again with my very old PHP project code(it was very dirty code) :-). It is a simple Dictionary Search program. Currently when the Search Data not found in the mysql database, it just show the blank result. How can i add some String for …

Web Development audio php
Member Avatar for sayakyi
0
269
Member Avatar for yapkm01

I'm newbie to JSF and i am confused on this portion written by Cay Horstmann in the Core Java server faces: ======================================================================================= The code: [CODE]public class QuizFormBean { private UIOutput scoreComponent; private UIInput answerComponent; // PROPERTY: scoreComponent public UIOutput getScoreComponent() { return scoreComponent; } public void setScoreComponent(UIOutput newValue) { scoreComponent …

Web Development java-jsp
0
142
Member Avatar for anirban1087

Hi, I am working with PHP. I have a field in my form, which is basically a text box. But as the user start to type it will show a list of matching items, fetched from mysql table. I can have a drop down, but in a drop down , …

Web Development javascript
Member Avatar for SolidSolutions
0
167
Member Avatar for anirban1087

Hi, I have two questions 1. Is it possible to add short cut keys in my php application, show that the user can access different menu items using them? 2. How can I print something directly to a printer without showing them on screen using php?

Web Development php printer
Member Avatar for diafol
0
91
Member Avatar for anirban1087

Hi, I am having some problem to integrate my PHP & JS codes. The PHP code - [CODE] <?php for($i=1;$i<=3;$i++) { ?> <input type="text" id='rate<?php echo $i; ?>' /> * <input type="text" id='quantity<?php echo $i; ?>' onChange="updateValues(THIS);" /> = <span id='amount<?php echo $i; ?>' style="border: 2px solid black;padding:2px;"></span><br /><br /> …

Web Development php
Member Avatar for anirban1087
0
143
Member Avatar for zaki

I have a code that I call from `Button_click` event. The code adds a new row to the table and attempts to add onclick element to every td element in the new row. Somehow, onclick does not work. Any help is appreciated. Here is the code: function insRow() { var …

Web Development javascript
Member Avatar for giveitarip
0
3K
Member Avatar for klemme

Hi everyone! I am new to PHP and aat the moment trying to create a login to an admin area of a website with a simple CMS backend. I have found this code whicj I have tried to look at/learn from and implement into my own website, but I am …

Web Development cms php
Member Avatar for klemme
0
221
Member Avatar for RMelnikas

I have created a contact form for a website but it doesn't seem to email when I submit a form. here is the form code [CODE] <form action="email_contact.php" method="post"> <input type="text" name="name" value="" placeholder="Your Name"/><br> <input type="text" name="email" value="" placeholder="Your Email"/> <br> <textarea name="projectDetails" placeholder="Your Project Details."></textarea> <br> <button> Submit! …

Web Development php
Member Avatar for qazplm114477
0
236
Member Avatar for kgizo

hi i'm new to php, i already have a database called msansi its table called provinces i've already created a drop down list of all my nine provinces now what i want to do is, i want the cities associated with the provinces to display on the same page as …

Web Development php php-codeigniter
Member Avatar for kgizo
0
144
Member Avatar for newbiecoder

Hello I am trying to write a form that checks user mail address by existence of "@" character. I wrote these codes below but when I enter information at the html file I get this warning: Notice: Use of undefined constant mail - assumed 'mail' in C:\xampp\test\send_simpleform.php on line 2 …

Web Development email php
Member Avatar for newbiecoder
0
147
Member Avatar for oree

my problem is when i compose an email in html i get mail@127.0.0.1 as a sender. if i take off the HTML format then everything is ok. Here is the headers: [CODE]$headers = " From: mywebsite.ca" . "\n" . "Replay-To: Do Not Replay". "\n" . "X-Mailer: PHP/" . phpversion(); $headers …

Web Development email php
Member Avatar for oree
0
152
Member Avatar for Akay2

I need some help. I want to make a secure loginsystem and here is my script for the system that checks how many times you tried to login ($try). db.php is the script for connecting with my database. The system isn't in connecton with the loginsystem it is only the …

Web Development lan-wan mysql php
Member Avatar for Akay2
0
100
Member Avatar for raghujosh

I want to pass the checkbox values from my form to another PHP file upon clicking the next hyperlink. But I am unable to do so. I have javascript in my form which checks that only one checkbox is selected. To use this javascript, I need to name all my …

Web Development perl php
Member Avatar for raghujosh
0
1K
Member Avatar for Violet_82

Hi there, I have added a validation script to this page [url]http://antobbo.webspace.virginmedia.com/webediting/documents.htm[/url] but it is not working the way I want it to, I am sure I made some silly mistake. Basically I want to make sure that people actually input something in the form below before submitting it. If …

Web Development javascript
Member Avatar for tcollins412
0
211
Member Avatar for BleepyE

I have a list of say 15 images. How can I make it so that in each page refresh they all change to a random position? Thanks

Web Development php
Member Avatar for BleepyE
0
125
Member Avatar for anirban1087

Hi, I am working on a Inventory management system. No I would like to have a [B]custom bill no, which will be changed on each month[/B], i.e. the first bill of March, 2011 will have a no like "[B]Mar/2011/01[/B]", the next will be "[B]Mar/2011/02[/B]" and so on, until it is …

Web Development php
Member Avatar for anirban1087
0
132
Member Avatar for mindmyweb

Ok i have a problem i cant solve I have 2 images image one saved in location x and has name x1 image two is saved in location y and has name y1 Now i want a script that picks up image y1 and replaces x1 with y1 using changeing …

Web Development image php
Member Avatar for mindmyweb
0
257
Member Avatar for ruchi18

hi.. I just want to know is there any way to use flash image in java i mean i f i have java servlet web form and i want to design this form on flash image then how can be it possile please help...

Web Development flash java java-jsp web-design
Member Avatar for ruchi18
0
119
Member Avatar for brechtjah

Hi, I'm creating the layout for a dynamic webshop, all pictures are getting dynamic IDs to have their elements changed. I'm currently having errors with the code below and have no idea why. the argument id is not null, however document.getElementById(id) is. I don't understand how that can happen :S …

Web Development javascript
Member Avatar for nagendrage
0
152
Member Avatar for anirban1087

Hi, I am working on a php form where, I have 5 [B]rate[/B] , 5 [B]quantity[/B] & 5 [B]amount[/B] fields. The user will make entry on amount & quantity fields, and onchange the amount fields will be calculated, I also have a TOTAL field which will also be calculated from …

Web Development javascript
Member Avatar for anirban1087
0
201
Member Avatar for anirban1087

Hi, I am working on a PHP page where I have 5 rate, 5 qty and 5 amount fields. When I am define all the fields manually, i.e. defining each field with a separate filed name, field id then it is working. But when I have used a loop to …

Web Development php
Member Avatar for anirban1087
0
113

The End.