17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for jrotunda85

So I'm trying to create one central file for my navigation which is used across my site; however, some of the pages are in different directories. So, for example , let's say I have the following directories -- domain.com/ domain.com/dir1/ domain.com/dir2/ If I wanted to use the same include between …

Web Development php
Member Avatar for jrotunda85
0
131
Member Avatar for dhruv_arora

Hey, I have started learning Javascript programming, I wrote these two codes and it thy are not working, it shows a blank page when i load those files. Please help. [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>Untitled Document</title> </head> <body> …

Web Development javascript
Member Avatar for dhruv_arora
0
174
Member Avatar for Nitin Daphale

In my project, I have a page which having, Ajax PopupExtender,UpdatePanel,<AJX:TabContainer> . When I set control values(textboxes,labels) on that page, I am not able to refresh the page even through web browser(retype url). All values persist on the controls. Anybody can talk about problem and solution? Thanks in advance.

Web Development asp.net javascript web-browser
Member Avatar for Nitin Daphale
0
185
Member Avatar for ofir0803

Hi I have this code of zebra stripes. [CODE] <style type="text/css"> <!-- .paint {background: #caf2fe;} --> </style> <script type="text/javascript"> $(document).ready(function(){ $("tr:odd").addClass("paint"); }); </script> <table cellpadding="0" cellspacing="0" width="100%"> <tr> <td>Text1</td> </tr> <tr> <td>Text1 details</td> </tr> <tr> <td>Text2</td> </tr> <tr> <td>Text2 details</td> </tr> <tr> <td>Text3</td> </tr> <tr> <td>Text3 details</td> </tr> </table> [/CODE] …

Member Avatar for twiss
0
1K
Member Avatar for umeshMCA

hi, i have a xml file and i would like to read and write data in XML file. thanks regards umesh chand daiya

Web Development asp.net c# xml
Member Avatar for thomas6188
0
238
Member Avatar for dawsonz

Hello I'm trying to sort my gridview by a particular colum. My gridview has a column which is 'Sort Order' and they are numbered 1,2,3 etc. Now I want to be able to default sort that column in ascending order. Would anyone possibly be able to help? Here is my …

Web Development asp.net dataset
Member Avatar for dawsonz
0
208
Member Avatar for ViRiPuFF

Hi Can someone please direct me to a tutorial relating to downloading files from an aspx Page. Thanks ViRiPuFF

Web Development asp.net
Member Avatar for ViRiPuFF
0
85
Member Avatar for KushMishra

Hi guys, I've recently developed a gridview with edit,delete and update panel..... All is working fine except the Update button.....the error shown is...... [CODE] [B]Object reference not set to an instance of an object.[/B] Source Error: Line 48: GridView1.EditIndex = -1; Line 49: conn.Open(); Line 50: SqlCommand cmd = new …

Member Avatar for showet
0
232
Member Avatar for mrjimoy_05

Hello guys! How to load content into the ckeditor? Pls look [url]http://ckeditor.com/demo[/url] for example. My code is below: [CODE] <textarea class="ckeditor" name="pagecontent" cols="100" rows="20" id="pagecontent"></textarea> <?php include_once "../Misc/ckeditor/ckeditor.php"; $CKEditor = new CKEditor(); $CKEditor->basePath = '../Misc/ckeditor/'; $CKEditor->replace("pagecontent"); ?> [/CODE] I want the content automatically loaded from MySQL database to the CKEditor …

Web Development php
Member Avatar for mrjimoy_05
0
195
Member Avatar for wilko1995

Hi, How would i make something like on google maps where you type in an address/location and it will show you how to get there, and give you directions. I dont need a full code butwould like to knw what something like that is call/how to start off with it. …

Web Development google php
Member Avatar for wilko1995
0
105
Member Avatar for jrotunda85

So I've developed some code to pull the latest 8 images from my flickr feed; however, I'm having trouble with figuring out how to do what I'm trying to do. Essentially, I need each 4th image to have a different <div> class (this helps with margins and what not). Any …

Web Development php
Member Avatar for jrotunda85
0
149
Member Avatar for geekme

I created a test.php file in the required /var/www folder but how do I edit the file ?It says it's only a read only file.Using chmod +rwx <filename> says 'no such file'...Please help .

Web Development file-system php
Member Avatar for geekme
0
137
Member Avatar for phoenx

[CODE] <html> <head> <style type="text/css"> .all_display { border-left:8px solid lightgray; border-top:8px solid darkgray; border-right:8px solid #505050; border-bottom:8px solid #505050; background-color:white; width:60%; margin-left:20%; } .inner_tablecell { font-size: 14px; font-weight: bold; text-align: center; width: 12px; } .fake_link { color: blue; font-weight: bold; text-decoration: underline; cursor: hand; cursor: pointer; } .img1 { background-image: …

Web Development html-css javascript
Member Avatar for IIM
0
268
Member Avatar for apanimesh061

[CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> [/CODE] [CODE] <html xmlns="http://www.w3.org/1999/xhtml" > [/CODE] What is the meaning of the above code snippets ?? Why are there web urls in them ?? What is the use ? Please help !!!

Web Development asp.net
Member Avatar for jfarrugia
0
121
Member Avatar for jacob21

I have 4 checkbox. 1)name 2)phone 3)address 4)dob 5)all What i am trying to do suppose name,address,& dob is checked by user,then query is: Select name,address,dob from table; Similarly if phone,address select phone,address from table; & for all Select * from table; I am getting value of checkboxes. Need suggestions

Web Development php
Member Avatar for karthik_ppts
0
144
Member Avatar for naru vaishnaw

i want to show friend request without pressing submit query button. please anyone help me .change the code without form Table structure for table `friend_requests`-- CREATE TABLE IF NOT EXISTS `friend_requests` ( `id` int(11) NOT NULL auto_increment, `sender` int(11) NOT NULL, `recipient` int(11) NOT NULL, PRIMARY KEY (`id`)) ENGINE=MyISAM DEFAULT …

Web Development php
Member Avatar for naru vaishnaw
0
145
Member Avatar for bob on whidbey

The web site is on online library where the user finds a book and sends an email to the owner of the book. My PHP creates a table of results based upon a query. One of the cells in the table includes an email link to the owner of the …

Web Development email html-css php
Member Avatar for diafol
0
684
Member Avatar for iau

i got the problem of accessing variable outside iframe. [CODE] //a.php <?php $a="text"; ?> <iframe src="b.php"></iframe> //b.php <input type="text" value="<?php //i want $a to be put here ?>" /> [/CODE] Is it possible to access $a from b.php?

Web Development php
Member Avatar for ko ko
0
168
Member Avatar for peterpa

well this one is the my first post in the daniweb , and i belive that i will get solved my problem . well i trying to create a MLM project in which i m trying to creating binary tree by using this code which i have attached in this …

Member Avatar for peterpa
0
247
Member Avatar for phoenx

[CODE] <html> <HEAD> <style type="text/css"> body { background-color: black; color: black } a { font-weight: bold } a:link { background-color: black; color: blue } a:visited { background-color: black; color: blue } a:active { background-color: black; color: blue } a:hover { background-color: white; color: maroon} input { font-family: monospace; font-size: 24px; …

0
69
Member Avatar for phoenx

[CODE] <HTML> <HEAD> <TITLE>Number Blocks</TITLE> <!-------------------- Design --------------------> <STYLE> .bigcell { BORDER-RIGHT: #6699ff 5px solid; BORDER-TOP: #6699ff 5px solid; BORDER-LEFT: #6699ff 5px solid; BORDER-BOTTOM: #6699ff 5px solid; BACKGROUND-COLOR: #6699ff; TEXT-ALIGN: center } .cell { BORDER-RIGHT: #6699ff 2px solid; BORDER-TOP: #6699ff 2px solid; FONT-WEIGHT: bold; FONT-SIZE: 10pt; BORDER-LEFT: #6699ff 2px solid; …

Web Development javascript
0
79
Member Avatar for dhruv_arora

Hey, I started learning PHP programming. I wrote this script to update a user's password from the mySQL database, but it's isn't doing so The script is :- [CODE]<?php include("header.html"); include("nav.html"); include("sidebars.html"); ?> <div id="content"> <?php $errors=array(); if(empty($_POST['uname'])) { $errors[]="You forgot to enter your username"; } else { $uname=$_POST['uname']; } …

Web Development mysql php
Member Avatar for dhruv_arora
0
138
Member Avatar for cwarn23

Hi, I'm trying to add a condition to my htaccess file but it seems to only match if I use [ICODE]%{REQUEST_URI} !^/?.+$[/ICODE]. If however I add [ICODE]%{REQUEST_URI} !^/?B.+$[/ICODE] it will never match. Also the full code showing what I am trying to achieve is as follows: [CODE][B]RewriteEngine On[/B] [B]RewriteRule[/B] ^$ …

Web Development apache php
Member Avatar for kingkong111411
0
217
Member Avatar for foxwizzy

I want to update my users last log in in the database : [CODE]<input name="login" type="submit" id="login" onclick="<?php mysql_select_db($database_web, $web) or die("Error : " . mysql_error()); mysql_query("UPDATE users SET timp='NOW()' WHERE username='$user'")or die("Error : " . mysql_error());?>" value="LogIn" />[/CODE] this is my code but it doesent update the table :| …

Web Development php
Member Avatar for cereal
0
290
Member Avatar for Tellalca

Hey; I am learning some javascript. I tried to write a trivial code to validate email but my code does not seem to work it should. It should turn the background color of text box green when mail contains both '@' and '.' characters and red otherwise. However what the …

Web Development email javascript
Member Avatar for Airshow
0
107
Member Avatar for ElliottDuke

Hello all, I am building an online Logbook service and have come to a dead end with my script. I am trying to make it so that when members are logged in, they can add records to a database (which I have done), then it automatically assigns that members id …

Web Development php
Member Avatar for ElliottDuke
0
114
Member Avatar for ElliottDuke

Hello all, I have searched this forum to find the answer to my question however none of the answers seem relevant so here we go: I am building a member service however when coding the login.php script, I keep coming across this error: [QUOTE]Warning: mysql_num_rows() expects parameter 1 to be …

Web Development mysql php
Member Avatar for ElliottDuke
0
282
Member Avatar for joban.ali

I want to display a multiple records from the database, 1 of the field needs to be displayed in a list format. i have managed to achieve this, the problem is that the list is duplicating and incrementing into the next record. Displays like this: Record 1: a, b Record …

Web Development php
Member Avatar for joban.ali
0
99
Member Avatar for Lemorlenny

Hi all, this my first post. I'm newbie in C# and ASP.NET so be patient with me, I have a problem when declare object in the try clause working in VS2010 Express: ex. [CODE] protected void Names() { string strQuery; OleDbDataReader myReader; strQuery = "SELECT TOP 1 Name FROM Names"; …

Web Development asp.net open-source session
Member Avatar for Lemorlenny
0
99
Member Avatar for vizz

how to hide some content on webpage from unregistered user ? I am using PHP Login Script from about.com [URL="http://php.about.com/od/finishedphp1/ss/php_login_code.htm"]http://php.about.com/od/finishedphp1/ss/php_login_code.htm[/URL]

Web Development php
Member Avatar for IIM
0
101
Member Avatar for naru vaishnaw

i want to show friend request without pressing submit query button. please anyone help me .change the code without form <?php session_start(); mysql_connect("localhost", "root", ""); mysql_select_db("aa"); //START OF LOGIN if(!isset($_SESSION["logged"])) { if(isset($_POST["username"])) { $query = mysql_query("SELECT id FROM members WHERE username = '" . $_POST["username"] . "'"); if(mysql_num_rows($query) > 0) …

Web Development php
Member Avatar for diafol
0
126
Member Avatar for jacob21

Hi, I am fetching data from the database & trying to print the data & export in to excel sheet.but don't know how to do. Please suggest.

Web Development php
Member Avatar for karthik_ppts
0
332
Member Avatar for Stefano Mtangoo

Friends, I'm rushing towards deadline and I think that makes me do childish mistakes. Here I have validation that requires regex and each time I input valid expression preg_match returns false. It is long now I'm trying to spot error but I cannot! I have googled and AFAICS, things seems …

Web Development php regex
Member Avatar for Stefano Mtangoo
0
163
Member Avatar for heshanm

Hi all, The 2 tables are as follows. [B] account_details[/B] (account_number, nic, full_name, name_with_initials, phone_number, address, gender, date_of_birth) [B]account[/B] (account_number, account_type, fd_period, account_balance, account_interest) In my accounts opening form there are 9 fields. NIC, Full name, Name with initials, Phone number, Address, Gender, DOB, Account Type, FD period I want …

Web Development php
Member Avatar for heshanm
0
192
Member Avatar for heshanm

Hi all, I just know whether it will allow in php to store data in a sigle form into 2 tables, because i want to use these data in some other tasks. In my form there are 7 fields. They are [B]nic, full name, name with initials, phone number, address, …

Web Development php
Member Avatar for heshanm
0
157
Member Avatar for didi00

Hi, everyone. I have a button that links to another page, but it doesn't work. Here is the code: [code] <div class="pageNumbers"> <ul> <li><a href="shops1.html" class="pageNumber">1</a></li> //button 1 <li><a class="pageNumber" href="shops2.html">2</a></li> //button 2 </ul> </div> [/code] Do you know what is wrong with it?

Web Development php
Member Avatar for didi00
0
121
Member Avatar for vbx_wx

I am not used to php but i need to use a script now, but it always give me a windwos error. This is my script: [code] $PHP_PATH = "c:\Program Files (x86)\PHP\\"; $PHP_PATH = addcslashes($PHP_PATH, ' '); $VR_PATH = dirname(__FILE__)."\VRClient.php"; $VR_SERVER = "http://localhost:8080/vrmobile/VRServer"; $handle = popen("C:\WINDOWS\system32\cmd /C start ".$PHP_PATH." -f …

Web Development php
Member Avatar for vbx_wx
0
116
Member Avatar for vizz

can anyone help me to create jquery, javascript one page template exactly or looklike below [URL="http://www.istockphoto.com/stock-flash-3103298-curtain.php?st=236fbf5"]http://www.istockphoto.com/stock-flash-3103298-curtain.php?st=236fbf5[/URL]

Member Avatar for matricol
0
94
Member Avatar for rotten69

Hi people, I am so interested in learning PHP as it is a powerful language in the web. I know a little bit of PHP so you can say that I've got an intro to PHP at this stage. What I am really struggling the logic of PHP. What would …

Web Development php
Member Avatar for rotten69
0
517
Member Avatar for prabhjitsw

Hi again,Guys.Here's my problrm. In [B]Appointments.php[/B] ,In the [B]Sector Drop down list[/B] when i select a sector,through AJAX i have selected the list of hospitals for the sector using [B]fun1()[/B] and displayed it back here in [B]appointsment.php[/B].Now that's ok. But when i try to acess the hospital select lists value …

Web Development html-css javascript php
Member Avatar for ko ko
0
157
Member Avatar for Ignatius88

[CODE]<script type="text/javascript"> function insertPreference() { var row = document.getElementById('voteTable').rows[0]; var cell = row.cells; var id = cell[0].innerHTML; var title = cell[1].innerHTML; alert(id); alert(title); } </script> <table id="voteTable" border="1"> <tr> <td id="id">3</td> <td id="title">This is an example of storing the table value into a database.</td> <td id="vote"> <input type="radio" name="yesorno" value="true" …

Web Development html-css javascript
Member Avatar for twiss
0
2K
Member Avatar for stan_l

I am trying my first PHP CLI using cURL, and simply want to complete a login to an HTTPS site. The site HTML is simple: [CODE]<body> <div class='plain-header'> <img src='/images/logo.jpg' /> </div> <div class='login-form'> <form method='post'> <table> <tr> <td class='fieldname'>Username:</td> <td> <input name='login' type='text' /> </td> </tr> <tr> <td class='fieldname'>Password:</td> …

Web Development php
Member Avatar for pritaeas
0
159
Member Avatar for ariffin246

Hi I am php coder and new to asp. I am trying to build a simple login page using asp and the db connection works fine. When the user submit the form and at the sql query section i am getting the following error "Microsoft OLE DB Provider for ODBC …

Member Avatar for jfarrugia
0
351
Member Avatar for manu555

[CODE] <html> <form> <table> <tr> <td width="172" class="label" >&nbsp;</td> <td class="content" colspan="3" > Grwt <input name="grWeight" type="text" class="box" id="grWeight" size="20" maxlength="255" /> ntwt <input name="netWeight" type="text" class="box" id="netWeight" size="20" maxlength="255" /> crwt <input name="crWeight" type="text" class="box" id="crWeight" size="20" maxlength="255" /></td> </tr> </table> </form> </html> [/CODE] In above code i want …

Web Development php
Member Avatar for manu555
0
1K
Member Avatar for apanimesh061

This is javaScript based ASP.net web application. [CODE] <%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script language="javascript" type="text/javascript"> function oddEve(){ var rand = Math.random(); rand = Math.ceil(6*rand); if(rand % 2 == 0){ document.write("Odd number: "); } else{ document.write("Even number: "); } document.write(rand); } </script> <html …

Web Development asp asp.net javascript
Member Avatar for AnujaCool
0
516
Member Avatar for PixelatedKarma

Hello everybody, So this might seem like a really simple thing to some of you more advanced people but it has me extremely stumped, currently I am trying to create a menu. What I have is a mySQL database with a row called page_name I have written the following code: …

Web Development php
Member Avatar for urtrivedi
0
110
Member Avatar for gonidelux

Order Confirmation Thank you for your order! 84,46,62,84 Your Credit Card informations: Credit Card type: 0 Credit Card number: 2147483647 Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\wamp\www\baby\checkout.php on line 16 Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\wamp\www\baby\checkout.php …

Web Development php session
Member Avatar for IIM
0
540
Member Avatar for xanawa

i have a register page which contains validation error checking (error providers) now i have a cancel button that leads to the home page. I need that this button is not stopped by the error messages. How can i remove the error messages on button click?

Web Development asp
Member Avatar for matricol
0
88
Member Avatar for Nybuler

hi, thank you for helping in advanced i faced some punctuation problem during i using ajax I used ajax with Get Method to pass some value from textarea to update the database.My problem is: example: "Hi, I'm Jane~" database updated : "Hi, I'm Jane~" but the response.text of ajax give …

Web Development javascript
Member Avatar for matricol
0
290
Member Avatar for Sahilsahni

hi, am working on a php site, i need a functionality where titles of last four posts would show up, i know how to get last four titles. but dont know how to make them blink one by one on same place,like i have four titles name A B C …

Web Development javascript
Member Avatar for matricol
0
139

The End.