52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mona Ali

Hi to all this code work well but i want that password appear in asterisk.. [CODE]<SCRIPT language="JavaScript"><!-- function check() { // Prompt user for the password ... pwd = prompt('Enter password before continuing',''); // ... then set the browser location. (change the line below this one!) if(pwd=="sidra") { location.href = …

Web Development display javascript
Member Avatar for raviragarwal292
0
2K
Member Avatar for arifkutty

i am learning to build a shopping cart, the problem is every time i hit refresh it automatically increases the quantity for the added item, and even i close the window and run the file again i see my cart there means it does not destroy the session, i will …

Web Development php session
Member Avatar for arifkutty
0
1K
Member Avatar for sriramkarthick

How to fetch the data of 6 different tables and display them in single datagrid view ? Including the image have to displayed from table and displayed into the table?

Web Development mysql php
Member Avatar for pritaeas
0
129
Member Avatar for weeraa

I want to call jquery function (or something like that) from vb code. This is what i need. There is a VB function named Calculation(). It takes few seconds to complete the calculation. (Let's get it is taken 10 Seconds) In this 10 seconds the user don't know something is …

Web Development asp.net javascript-jquery vb.net
Member Avatar for JorgeM
0
2K
Member Avatar for ryy705

Hello, How can I declare an array as a class variable? For example I can do: [CODE] <?php class test { private $name = 'john'; public function getName() { return $this->name; } } ?> [/CODE] But how can I make the following work? [CODE] <?php class test { private $name …

Web Development php
Member Avatar for pritaeas
0
4K
Member Avatar for dany12

I need a way to store x y height and width in 4 jquery variables I was thinkink about the jquery ajax get but don't know how to achive this. This is my code <?php $result = $pdo->query('SELECT * FROM figures'); foreach ($result as $row=>$value) { echo '<li>'."My value is" …

Web Development html-css javascript-jquery php
Member Avatar for dany12
0
250
Member Avatar for abhi10kumar

How I can convert following formula in PHP? P × r × (1 + r)^n / ((1 + r)^n - 1)

Web Development php
Member Avatar for diafol
0
97
Member Avatar for David Mac

Hi All, I've been away from daniweb for a long time but now need some help! I have created a number of 'reports' for my customer, these are separate pages with controls to allow parameters to be set and a gridview to list records. I now need to find a …

Web Development asp.net
Member Avatar for JorgeM
0
390
Member Avatar for urbanthistleuk

Hello, First of all apologies if this has been posted before, having trouble findin the answer, Let me start by inserting the code I have having the problem with, apologies if this isn't the correct way of doing things but I am still a newbie at php <?php include('config.inc'); mysql_select_db($dbname); …

Web Development email mysql php
Member Avatar for urbanthistleuk
0
264
Member Avatar for sugumarclick

Hi geeks, After tireless searches of online open-source inventory management, I got no successful results. My requirement is that, there are 3 levels. A least level employee request for a inventory item to 2 level. second level manager approves and sends it to first level, First level manager approves, replies …

Web Development cms open-source php
Member Avatar for diafol
0
349
Member Avatar for jacob21

Hi, I am working on a web application having more then 5 lakhs users accessing pdf file from server. Each time a pdf is loaded from server which may consume network bandwidth(our assumtion). Need suggestions for how can we restrict only 100 or any number of users at a time …

Web Development pdf php
Member Avatar for diafol
0
144
Member Avatar for brandon66

Hello everyone, im trying to implement select 2 with jquery validation engine pos-absolute but i cant seem to get it right does anyone know how i would get this working correctly? When an option is selected in the select box the validation engine will still say its required. not allowing …

Web Development javascript javascript-jquery
Member Avatar for hag++
0
585
Member Avatar for Kris_2

Hello, I'm relatively new to php and ajax. I'm missing a key concept I think, which is causing my unexpected result. I have a php pure css navbar. User selects menu item, which is a button that launches javascript <script> function loadXMLDoc(yearurl) { var xmlhttp; if (window.XMLHttpRequest) // code for …

Web Development javascript
Member Avatar for Kris_2
0
375
Member Avatar for EddiRae

Hello, I am having an issue with the FindControl looking for a textbox in the Insert mode. I am doing this in the ItemCommand. I have a "Copy" button that is on the ReadOnly mode. I then change over to the Insert mode and start working with filling in some …

Web Development asp.net session
Member Avatar for EddiRae
0
334
Member Avatar for Navya_1

Hello, I am new to JSP and I have to create a registration form, so when the user fills out all the information and clicks submit, the information should be stored in cookies. I cannot use database to store user information. Also after the user registers, he/she has to login …

Web Development java-jsp session
Member Avatar for asmira
0
827
Member Avatar for everton.retweets

Hi Everyone. Got a problem with a wp comment form plugin I am trying to design. I have created a wp comments form plugin that adds to additional fields to the main comment form in worpdress. This has been created using the default twentyeleven theme. The pluing consists of two …

Web Development php web-design wordpress
Member Avatar for everton.retweets
0
315
Member Avatar for GrazerC0de

Hello guys I need some php framework to help me build my web application easier and faster. Could you suggest me some of them? and the fundamentals thankyou

Web Development php
Member Avatar for StephenHero
0
157
Member Avatar for hemanshurpatel

Dear friends, I am working on representing data in graphical view. Initialy i decide for column chart, in which each column represent a value associated with a variable. The strange thing is that values ranges from 1 to 100000 or ever more. Basically they are representations of types of data …

Web Development php
Member Avatar for diafol
0
150
Member Avatar for Edwin_2

<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>SYNTHESIS REACTIONS</title> </head> <body> <p> Chemistry synthesis reaction equations </p> <p>&nbsp;</p> <form name="form1" method="post" action="index.php"> <p> <label for="A"></label> <input type="text" name="A" id="A"> + <input type="text" name="B" id="B"> <label for="B"></label> </p> <p>NB: Case Sensitive - Use Real Names!</p> <p> <input type="submit" name="solve" id="solve" …

Web Development mysql php
Member Avatar for GrazerC0de
0
219
Member Avatar for erum

hi to all Please let me knwo how to cover these with datatable if data comes from northwind datatable http://support.softwarefx.com/jChartFX/article/2501243#82490a45-4c79-e211-84a5-0019b9e6b500 in above link data is hard coded ..

Web Development javascript javascript-jquery
Member Avatar for erum
0
116
Member Avatar for davy_yg

Hello, How to make my email form function in CI ? I have a contact form which consist of : 1. Your Name 2. Your Email 3. Subject 4. Messages I have read: http://ellislab.com/codeigniter/user-guide/libraries/email.html Yet, I still do not know in which file do I have to write the codes …

Web Development email php
Member Avatar for davy_yg
0
330
Member Avatar for lonestar23

How would I go about uploading and resizing a transparent PNG, GIF image using PHP? I have a script but it only works with JPG images and of course JPG images do not support transparent images. The image also needs to maintain it's transparency when resized. Thanks in Advance!

Web Development php
Member Avatar for selular88
0
1K
Member Avatar for everton.retweets

Hi Everyone, Especially those who are more experienced than others. I have been teaching myself php over the last 18 months and whilst I can do what I think are basic tasks, the more difficult tasks, well, are more difficult and take much longer to complete. The reason for my …

Web Development php wordpress
Member Avatar for everton.retweets
0
1K
Member Avatar for davy_yg

Hello, I am trying to create a table in CI: controllers/ctable.php <?php class Table extends CI_Controller { $this->load->library('table'); $data = array( array('Name', 'Color', 'Size'), array('Fred', 'Blue', 'Small'), array('Mary', 'Red', 'Large'), array('John', 'Green', 'Medium') ); $this->load->view('tablefile'); } ?> views/vtable.php <?php echo $this->table->generate($data); ?> routes.php $route['vtable'] = 'ctable'; Result: Welcome to CodeIgniter! …

Web Development php php-codeigniter
Member Avatar for davy_yg
0
249
Member Avatar for Kleon

hi guys i am having this small issues with image slider, it shows in the broswer just one picture, than slider continues but it does not show the content of the other pictures(can not read them). i have 8 pictures in my Images folder in my project, but it reads …

Web Development asp asp.net image
Member Avatar for Kleon
0
269
Member Avatar for thomale

i am always finding this error. if you have an idea.please assist as soon as possible mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\validate_login.php on line 20 This is line with the problem as per text -editor(* $row = mysql_fetch_array($result);*) <?php // Grab User submitted information $email …

Web Development mysql php
Member Avatar for broj1
0
455
Member Avatar for everton.retweets

Hi Everyone, I am trying to add a php post variable to one of my output error messages. The working error message is this - registerError( $hint, $hint, $error_title, ' + sign not required. International dialing code not required' ); What I would like to do is to display the …

Web Development first-post php
Member Avatar for minitauros
0
362
Member Avatar for leemyers

Hello, I have some php code that calls my server via a api, this code can create a new user on my server, what i need is a signup form so uses can enter information and creat the user and after the users has been made it will send a …

Web Development api php windows-api
Member Avatar for Muneeb2Good
0
222
Member Avatar for accra

Am using ajax to populate a drop down list, and it works fine, but i just can't find a way to make choosen.proto to work. It works on other drop-down, but not the one populated with ajax. In short, the form must allow the user to select multiple items Here …

Web Development javascript-jquery mysql php
Member Avatar for accra
0
233
Member Avatar for grafic.web

Hi, i applyed an CalendarExtender to my text box, this is the code : <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:CalendarExtender ID="TextBox1_CalendarExtender" runat="server" Enabled="True" TargetControlID="TextBox1"> </asp:CalendarExtender> </div> </form> </body> </html> but when i run it, i get this …

Web Development asp.net javascript
Member Avatar for grafic.web
0
756
Member Avatar for yaragalla_mural

Normally when we use post method with forms, the requests are geting cached. I mean when we use the back button to visit the previous page the request is not being sent to the server to display the previous form. It just loads the form from the cache and loads …

Web Development first-post javascript
Member Avatar for yaragalla_mural
0
221
Member Avatar for NewHeart42108

I am creating a form which dynamically creates a list of options to purchase. The list is generated from a database. The PHP is <?php for($i = 1; $i <= $opt_count; $i++){ $desc = $options['description'][$i]; $prc = $options['price'][$i]; $type = $options['type'][$i]; $size[$i] = '&nbsp;'; $option_text = <<<TABLE <tr> <td>$desc</td> <td …

Web Development javascript php
Member Avatar for ryantroop
0
259
Member Avatar for iLikePHP

I put it all here, it shows as a paste... mind looking and maybe editing and giving me your link? :) public function getTopics($cid) { require("database.php"); $cat_id = strip_tags($cid); $query = $db->query("SELECT DISTINCT * FROM `forum_topics` INNER JOIN `forum_replies` ON `forum_topics`.`topic_id`=`forum_replies`.`reply_id` GROUP BY `forum_topics`.`topic_id` ORDER BY coalesce(`forum_replies`.`posted_on`, `forum_topics`.`posted`) DESC"); if …

Web Development php
Member Avatar for iLikePHP
0
269
Member Avatar for musta2060

i want to know how can make internal live voice calling Application in web site by php not calling to external phone network and not by phone number just by username in site

Web Development php
Member Avatar for diafol
0
254
Member Avatar for yaragalla_mural

Hi we have developed a web app. In the 1st html page based on the user interaction we are inserting some html into the page using javascript. when user moves to the 2nd page everything is fine. Now if user presses the back button then 1st html is displayed without …

Web Development javascript
Member Avatar for yaragalla_mural
0
648
Member Avatar for Kleon

I am creating registration Form, here's the code SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["RegConnectionString"].ConnectionString); con.Open(); string insCmd = "Insert into Registration(UserName, Password, EmailAdress, FullName, Country) vaues (@UserName, @Password, @EmailAddress, @FullName, @Country)"; SqlCommand insertUser = new SqlCommand(insCmd, con); insertUser.Parameters.AddWithValue("@Password", TextBoxPass.Text); insertUser.Parameters.AddWithValue("@EmailAddress",TextBoxEA.Text ); insertUser.Parameters.AddWithValue("@FullName",TextBoxFN.Text); insertUser.Parameters.AddWithValue("@Country", DropDownListCountry.SelectedItem.ToString()); try { insertUser.ExecuteNonQuery(); con.Close(); Response.Redirect("Login.aspx"); } catch …

Web Development asp.net
Member Avatar for Kleon
0
130
Member Avatar for davy_yg

Hello, I have the following error whenever I try to run phpmyadmin: Welcome to phpMyAdmin Error MySQL said: Documentation #2002 - No connection could be made because the target machine actively refused it. The server is not responding (or the local server's socket is not correctly configured). Connection for controluser …

Web Development php
Member Avatar for davy_yg
0
115
Member Avatar for kumar89hitesh

how to fetch data from database on the web page in php? please provide suitable example.

Web Development php
Member Avatar for IIM
0
101
Member Avatar for iLikePHP

I put it all here, it shows as a paste... mind looking and maybe editing and giving me your link? :) http://kk7.me/366999

Web Development php
Member Avatar for pritaeas
0
123
Member Avatar for gahhon

I am using SQL Database, In my example of my webpage, i got `FileUpload` & `Image` & `Button` Controls. i wanna to know any tutorials or tricks from code behind that able to upload the image file into my sql database and how to display the image in my Image …

Web Development asp.net display image
Member Avatar for gahhon
0
217
Member Avatar for SakuraCindy

Hi all, I just wanna ask if I can create a system based on PHP. The system is about automated timetable system using Genetic Algorithm. I've previously did the system in Java, but I realized that I don't have the superior knowledge in Java.But I do have much better knowledge …

Web Development algorithm php
Member Avatar for SakuraCindy
0
221
Member Avatar for sujitha reddy

hi frnds can u pls help me in mysql how to write commands for cgpa calculator\

Web Development mysql php
Member Avatar for diafol
0
141
Member Avatar for hilRunr

My image is embedded in a table cell. I need to know how far it is from edge of window. offsetLeft does not work for this. Neither does style.left.

Web Development image javascript
Member Avatar for hilRunr
0
197
Member Avatar for gahhon

#HTML Markup <table> <tr> <td><asp:Label runat="server" Text="Subject: " /></td> <td><asp:TextBox ID="txtSubject" runat="server" /> <asp:RequiredFieldValidator runat="server" ErrorMessage=" *" ControlToValidate="txtSubject" Font-Size="10pt" ForeColor="Red" /> </td> </tr> <tr></tr><tr></tr><tr></tr> <tr> <td><asp:Label runat="server" Text="Messages: " /></td> <td><asp:TextBox ID="txtMessage" runat="server" TextMode="MultiLine" Height="100px" Width="18em" /> <asp:RequiredFieldValidator runat="server" ErrorMessage=" *" ControlToValidate="txtMessage" Font-Size="10pt" ForeColor="Red" /> </td> </tr> <tr></tr><tr></tr><tr></tr> <tr> <td><asp:Button …

Web Development javascript
Member Avatar for gahhon
0
303
Member Avatar for sujitha reddy

hi frnds i need mysql commands for cgpa calculator and need database connectivity

Web Development mysql php
Member Avatar for pritaeas
0
69
Member Avatar for PF2G

Hi, i made this pagination system in the news list, but it's repeating the first data in every pages. So when i say i want 2 nes per page it's giving me 3 instead, because of it... if(isset($_GET['page'])){ require('config.php'); $page = $_GET["page"]; //Getting Page number $pages_query = mysql_query("SELECT COUNT(IdNoticia) FROM …

Web Development php
Member Avatar for GliderPilot
0
156
Member Avatar for YakuzaJevin

i need to improve my skills in java, because i really like software development and web development, but i dont think my skills is in the average level, so if anyone can give me some, advice or maybe some lectures? it would be very helpful THANKS IN ADVANCE :)

Web Development javascript
Member Avatar for hag++
0
258
Member Avatar for kseguy

I have this small project to mine that I am using to learn web development but I've been stuck at a certain point now with AJAX for 3 days now. I have this ajax code that is supposed to submit to a PHP file. function submitArticle() { xhr = new …

Web Development javascript web-browser
Member Avatar for hag++
0
2K
Member Avatar for iwanna4get

The file is being copied the problem is all the file is getting copied like its going through the whole loop again <?php function copyfile($src,$dest){ copy($src,$dest); } ?> <!DOCTYPE html> <html> <head> <title>Menu</title> <link rel="stylesheet" type="text/css" href="menu.css"> </head> <body background="D:\Web\images\goo.jpg"> <div class="header"> <div id="logo"> <img src="D:\Web\images\the-library-white.png"> </div> </div> <div class="items"> …

Web Development html-css php
Member Avatar for hag++
0
168
Member Avatar for Indians

in my project i'm using user input form. that form contains serial no, reference no, name, email, phone, address, etc.., in that user input form serial number textfield is readonly option. user can't able edit the serial number. in that textfield i want to show the next auto_increment id from …

Web Development mysql php
Member Avatar for diafol
0
3K

The End.