52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for werks

Hi experts this is an urgent question. how do you import and export database online? I have 2 equal database. I uploaded my FrontEnd(OPAC) and Database online. I have also a same database in my BackEnd(VB6) located in my computer. My problem is how do i update both database in …

Web Development asp
Member Avatar for sbv
0
131
Member Avatar for u4umang2001

Hi i want to bind a drop down list on the other drop down list selected index change event. i m using the following code--- ddlid.Attributes.Add("onchange","javascript:callfunction(this);") function is written in a seperate js file. this works in IE but not in Mozilla... plz give me the solution so that it …

Web Development asp.net javascript
Member Avatar for balajipdv
0
316
Member Avatar for vashishth_kec

hi, i m having a problem on on uploading this site it is giving unexpected object error plz help me </head> <body onload="afterload()"> <img src="images/ICB Blue_top arc.gif" id="toparc"/> <div class="content"> <img id="logoimg" src="images/ICB Blue_logo.gif"/> <div id="registerDiv"> <FORM name="drop_list" action="mobisyregister_.php" method="POST" onSubmit="return ValidateSelect(this)"> <table cellspacing="0" cellpadding="5" border="0" width="100%"> <tr> <td valign …

Web Development javascript video
Member Avatar for MidiMagic
0
99
Member Avatar for vedmack

Hi i have a form which holds several Inputs of type text, now when im clicking on a check box it run a js script which gets each Input text element and colors its background with a color something like this [code=javascript] var filed=document.getElementById("one"); filed.style.backgroundColor='red'; filed=document.getElementById("two"); filed.style.backgroundColor='red'; ... .. . …

Web Development javascript
Member Avatar for MidiMagic
0
2K
Member Avatar for web_lock

I'm facing a problem with Firefox. I've got a page with a input text box element within a form . On the Click of Submit , I would like to open a new window with width =1200 and height=900 . I've used the following code [code] <form name='form' action="login_check.php" method="POST" …

Web Development javascript
Member Avatar for MidiMagic
0
117
Member Avatar for muddpigeon

i have a problem with this page and neither me or my lecutrer can spot it. all i want it to do is display the details of the person who has just logged in. can any one help?? [CODE]<cfquery name="GetStudent" datasource="2ndHandBooks"> SELECT * FROM students WHERE matno = #Form.MatNo# AND …

Web Development coldfusion session
Member Avatar for hinde
0
132
Member Avatar for hwa

Example: I have a table name A and have three column name OVER_DUE_DATE_TIME(date/time), DUE_DATE_TIME(date/time) and DURATION(Integer, in hours). I need to do this validation: DUE_DATE_TIME + DURATION <= OVER_DUE_DATE_TIME If the validation is wrong then should prompt the user error message. May I have this solution in C# !! Thanks …

Web Development asp.net c#
Member Avatar for hwa
0
173
Member Avatar for tie372

I am making a website and I do not want it to have any URL extensions on it. For instance, when all links are clicked on instead of going to blah.com/bleh, the page goes to blah.com. How would I achieve this using php? With hidden forms? I will post an …

Web Development php
Member Avatar for MattEvans
0
93
Member Avatar for rickarro

Does anyone know if its possible to update an item on a web page by using a form. Lets say I have a web page that has several different headings with a paragraph of text under each heading. I would like the owner of each heading to be able to …

Web Development php
Member Avatar for rickarro
0
126
Member Avatar for nikk

In my website, i want to accept photos from users(through HTML page) and save them to database(MS SQL) Can you please tell me, how can i do so? Also tell me how to retrieve those photos back from database to HTML page or JSP. Thank you.

Web Development java-jsp sql
Member Avatar for ~s.o.s~
0
254
Member Avatar for drlego

I am total newb here, so bare with me. In the code below I would like to make the output of the 'url' an actual link. <td><?php echo $row_thisone['url']; ?></td> Can someone please tell me the proper syntax. I have tried many things with no luck. Thanks in advance! Here …

Web Development php
Member Avatar for somedude3488
0
2K
Member Avatar for cmhampton

I'm having trouble with finding a checkbox control on a page. I have a repeater that creates a list of items with checkboxes (so I can activate/deactivate them). The checkboxes are named as follows in the html source: ctl00$ContentPlaceHolder1$ActivateLevelZero$rptItems$ct100$chkIsActive ctl00$ContentPlaceHolder1$ActivateLevelZero$rptItems$ct101$chkIsActive ctl00$ContentPlaceHolder1$ActivateLevelZero$rptItems$ct102$chkIsActive etc... When I try to access them in the …

Web Development asp.net
Member Avatar for cmhampton
0
158
Member Avatar for zanzo

hello, i learned recently how to use hidden variables, and its features. but i have some problems when i use more than 3 values :S this is a portion of the code: [code="PHP"] <?php $hidden = $_POST['action']; if ($hidden==0) //present the form, note the value of hidden { ?> <form …

Web Development php
Member Avatar for zanzo
0
3K
Member Avatar for lordx78

[code=php] <?php session_start(); session_unset('YourVisitID'); session_destroy(); header("location:index.php"); ?> [/code] I've use the code above to destroy my session after login, but instead of destroying it, It creates another session called 'PHPSESID'. I'm using XAMPP localhost. Please advise.* * page redirection works fine

Web Development php session
Member Avatar for nav33n
0
1K
Member Avatar for Jihad

How can i send more than one parameter from one page to another? its like NewPage.aspx?para1=value1 para2=value2 How can i combine the 2 parameters thanks for the help in advance

Web Development asp.net
Member Avatar for SheSaidImaPregy
0
87
Member Avatar for patrickmcdonogh

Hi everyone, I was wondering if someone could help me do something i would like to do. I want to create draggable boxes with content in them like standard html, etc. These boxes can be dragged around closed and there content hidden. The type of boxes i am trying to …

Web Development javascript
Member Avatar for tulsafork
0
80
Member Avatar for kings

how to hide textarea in html............................

Web Development php
Member Avatar for nav33n
0
164
Member Avatar for Suetan

This is just something that I'm working on for my own website. Could someone please check this over real quick to see if I have any major errors in it? [CODE=PHP]<?php /* index.php created by Suetan Start Date: Wednesday January 9, 2008 Project: RPGCMS Version: 0.0.1a */ define('IN_RPGCMS', true); $root …

Web Development html-css javascript php
Member Avatar for Suetan
0
205
Member Avatar for dami06

Hi Guys, I'm trying to create a webpage where it's meant to get some information which i put in the database and then show in the webpage but it's not getting the information. Could you please take a look at my code and tell me if there is a problem …

Web Development php
Member Avatar for dami06
0
180
Member Avatar for Elchanan

Hi everyone, I began reading about the various options in Fantastico for bloggers (b2evolution, Nucleus, WordPress) and I noticed that out in the world, these are sometimes referenced as CMS tools. Previously, my conception of CMS has included Joomla!, Mambo, and the like, but not these. Would someone be willing …

Web Development cms wordpress
Member Avatar for Shackbase
0
100
Member Avatar for JeniF

Hello all, I have a form that contains checkboxes to update a database with either "Yes" or "No" based on the user selection. The check boxes are in an array with the values set to a "LinkID" example: [code=php] <?php //find the user's assigned links $rowlink=$row_rsUpdate['LinkID']; mysql_select_db($database_mambo, $mambo); $query_rsAssignedLinks = …

Web Development php
Member Avatar for JeniF
0
320
Member Avatar for lordx78

[code=php] <?php // connection to MySQL server mysql_connect('localhost','root',''); mysql_select_db('administration'); if (isset($_POST['submit'])) { $loginUsername=$_POST['username']; $loginPassword=$_POST['password']; $MM_redirectLoginSuccess = "validated.php"; $MM_redirectLoginFailed = "admin.php"; $MM_redirecttoReferrer = true; mysql_select_db('administration'); if(empty($_POST['username']) && empty($_POST['password'])) { die('<div class="error_up">Both field was blank</div> <br><br><div class="footer_padding"> &copy; Copyright Cycle Tracks <span>®</span></div> '); } if(empty($_POST['username'])) { die('<div class="error_up">Username field was blank</div> <br><br><div …

Web Development html-css javascript php xml
Member Avatar for nav33n
0
88
Member Avatar for googletired

Good day, I have problem that i'm just not 100% to go about it or if it will even work they way in which i wish it to. My current site (article content based) has the option of the user being able to select the article he/she likes and have …

Web Development asp xml
Member Avatar for SheSaidImaPregy
0
104
Member Avatar for tgreer

I've posted a new article on my site, dealing with how to integrate JavaScript and ASP.NET. It's a "beginner level" article. [url]http://www.tgreer.com/aspnet_html_03.html[/url]

Web Development asp asp.net javascript
Member Avatar for SheSaidImaPregy
0
215
Member Avatar for rinkul

using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.SqlClient; using System.Data.SqlTypes; public partial class Login : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Login1_Authenticate1(object sender, AuthenticateEventArgs e) { bool Authenticated = false; Authenticated = SiteLevelCustomAuthenticationMethod(Login1.UserName, Login1.Password); e.Authenticated = …

Web Development asp.net web-server
Member Avatar for SheSaidImaPregy
0
89
Member Avatar for Agreaves

Can anybody help me with info on creating a system 5 star voting system in coldfusion or javascript.

Web Development coldfusion javascript
Member Avatar for Agreaves
0
90
Member Avatar for Scottmandoo

Im quite new to php and mysql but ive figured out how to upload and display content from my database, but im still facing quite a lot of problems. - First how do you display an image uploaded in the database? - Second how do you make the content only …

Member Avatar for Scottmandoo
0
163
Member Avatar for zoid777

Hello Friends I ran into a syntax error updating a form, I have added a comment to the line below, Please could anyone tell me what I did wrong!!!! [code]<cfquery name="update student" datasource="#Request.super#"> UPDATE student SET studentfirstname='#Trim(Form.studentfirstname)#',. studentlastname='#Trim(Form.studentlastname)#',. address='#Trim(Form.address)#',. city='#Trim(Form.city)#',. state='#Trim(Form.state)#',. studentage='#Trim(Form.studentage)#',. studentclass='#Trim(Form.studentclass)#',. studentstartdate='#Trim(Form.studentstartdate)#',. studentgraduationdate='#Trim(Form.studentgraduationdate)#',. comments= <cfif Len(Trim(Form.comments)) GT 0> …

Web Development coldfusion
Member Avatar for zoid777
0
134
Member Avatar for majestic0110

Hi, I have a DetailsView on my page that connects to a SQL server D/B and shows its data.However, It is not visible on my page when I launch my browser. Any ideas or past experience with this? Thanks for reading.

Web Development asp.net
Member Avatar for majestic0110
0
701
Member Avatar for nova706

I am having trouble with a piece of javascript code that expands blocks of text. For example, when you click the title, the text under it will expand. I am fairly new to javascript but it looks like the code bassically re-writes the link in the html so that when …

Web Development javascript
Member Avatar for peter_budo
0
166
Member Avatar for carobee

hi is it possible to adjust the page width according to the output of the page so that the user doesn't have to scroll to see the end of the page?

Web Development php
Member Avatar for Suetan
0
151
Member Avatar for jino

Dear all,, I have a problem with searching and pagination... For searching i use SQL_CALC_FOUND_ROWS and Inner Join .. the problem is that when i use the $limit variable in the end of the search query.. it is not working properly... $limit='LIMIT'.($pageno-1)*$rows_per_page.','.$rows_per_page; I am giving the query below.. $query_data=" SELECT …

Web Development php
Member Avatar for somedude3488
0
93
Member Avatar for grii_19

i have installled IIS . but when i try to open up [url]http://localhost[/url] ... it says page cannot be displayed ..... what i have to do .... i even tried with my computer name .. same error page cannot be displayed using xp pro sp2 ? what do i have …

Web Development asp
Member Avatar for grii_19
0
604
Member Avatar for scorpionz

Hi this is Scorpionz Can any have an idea... How to Upload image,file in PHP and store it in Database.... and How to call it to view on Front End means to my Html Page Web page.... and How to Specify Space that Uploading File size Any Help will be …

Web Development image php
Member Avatar for somedude3488
0
347
Member Avatar for sbv

Hi i am developing a voting system. i want to show the result as in image. plz help me. [ATTACH]5243[/ATTACH] i am blanck. Can't think how to achive this...

Web Development asp
Member Avatar for sbv
0
93
Member Avatar for Vai

Here are the tables in my database. [code] music ( id int(11) NOT NULL auto_increment, catid int(11) default NULL, song_title varchar(255) default NULL, artist varchar(75) default NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1; [/code] Category [code] category ( catid int(11) NOT NULL auto_increment, name varchar(30) default NULL, PRIMARY …

Web Development php
Member Avatar for Vai
0
154
Member Avatar for abhi287

Hi i m trying to get the values from database and put it into the select options.. i m using code- [code] <?php $con = mysql_connect("localhost","cdccpl","d123"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("cdccpl_aus", $con); $result = mysql_query("SELECT * FROM bak_bill_cust"); while( $row = mysql_fetch_array( $result ) …

Web Development php
Member Avatar for somedude3488
0
118
Member Avatar for lordx78

[COLOR="Green"]admin.php[/COLOR] [code=php] <?php // connection to MySQL server mysql_connect('localhost','root',''); mysql_select_db('administration'); if (isset($_POST['username'])) { $loginUsername=$_POST['username']; $loginPassword=$_POST['password']; $MM_redirectLoginSuccess = "validated.php"; $MM_redirectLoginFailed = "admin.php"; $MM_redirecttoReferrer = true; $errors = array(); if(empty($_POST['username'])) { $errors[] = 'You think whom going to fill up the USERNAME for you?'; } if(empty($_POST['password'])) { $errors[] = 'You think whom …

Web Development javascript php session
Member Avatar for lordx78
0
516
Member Avatar for namsSoftee

Hi Frndz, My code is like this: Protected Sub LinkButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles LinkButton1.Click sql = "select LS from Tests_Attended where Emp_ID = " & Session("EmpID") cmd = New OleDbCommand(sql, con) ds = cmd.ExecuteReader If ds.HasRows = True Then ds.Read() If ds.Item("LS") = True Then …

Web Development asp.net session
Member Avatar for namsSoftee
0
154
Member Avatar for kishou

ok i'm trying to know what function where you can see if it contains something. like ex. does anyone know of a function like this? [CODE]if (func_contains('a') { //action } else[/CODE]

Web Development php
Member Avatar for somedude3488
0
107
Member Avatar for Geek-Master

I've searched every where for any code examples for a manual sorting routine, but the only ones I can find are in C#. I've been able to convert it into its VB counterpart, however I'm having trouble with the data casting. The original C# code came from this address [URL="http://forums.asp.net/t/956540.aspx"]http://forums.asp.net/t/956540.aspx[/URL] …

Web Development asp.net
Member Avatar for SheSaidImaPregy
0
332
Member Avatar for myth3_16

Hi all, I was wondering if anyone could help with this one. I've devloped an upload form where my customers can upload their own pictures to use in my personalised gifts business, you could call it 'Create Your Own' Range of products. I want to be able to store the …

Web Development php
Member Avatar for myth3_16
0
735
Member Avatar for john_aa

Hey guys wondering, if you are using Adobe CS3 and do you think, if there are other alternatives to CS3. Would you recommend CS3 or wait for something else.

Web Development adobe php
Member Avatar for sagedavis
0
125
Member Avatar for JeniF

Good day all! I have been working on a project that requires me to to the following: Select a user from a list, on submit go to next page. The next page contains the session variable $id of the selected user. On this page, I am assigning menu permissions. I …

Web Development html-amp php session
Member Avatar for nav33n
0
215
Member Avatar for s1986

i have a login page with a login button and reset button.now when the user enter its id and password and then press enter both the user id and password textbox becomes blank.i checked the tabbed index of the two button thinking it may be due to the reset button …

Web Development asp.net
Member Avatar for SheSaidImaPregy
0
84
Member Avatar for ultratut

<?php function extract_url($main_url){ $cek_url = parse_url($main_url); $prefix_url = $cek_url['scheme'].'://'.$cek_url['host']; $f = fopen($main_url,"r"); $inputStream = fread($f,65535); fclose($f); if (preg_match_all("/<img.*? src=\"(.*?)\".*?>/i",$inputStream,$matches)) { foreach($matches[1] as $link){ if(!eregi('mailto:|javascript:|ymsgr:',$link)){ if(eregi("http://",$link)){ $url = $link; } else{ $url = $prefix_url.'/'.$link; } if(eregi('PHPSESSID',$url)){ $url = explode("PHPSESSID",$url); $url = substr($url[0],0,-1); } $output[] = $url; } } } return $output; …

Web Development javascript php
Member Avatar for nav33n
0
274
Member Avatar for Chris147

Hi All, I'm a complete novice when it comes to ASP, so please bear with me. I have a GridView bound to an Access Table that has no sorting on it (which is as it should be) and a Combo Box bound to the same table that is sorted on …

Web Development asp
Member Avatar for Chris147
0
102
Member Avatar for werks

Hello Every time i input the character [B]'[/B] and [B]%[/B] in the textfield it generate an error in my query. [B]The error:[/B] Syntax error in query expression 'Title LIKE '%' %%';'. [B]My code:[/B] [CODE=asp]adoList.Open "SELECT * FROM qryOPAC WHERE Title LIKE '%" & varExp & "%';",CoNN,3,3[/CODE] tnx in advance..

Web Development asp
Member Avatar for werks
0
134
Member Avatar for serkan sendur

I dont clean the unnecessary namespaces that .net automatically generates. Is there any problem with that?

Web Development asp.net
Member Avatar for SheSaidImaPregy
0
108
Member Avatar for s1986

how do i disable the BACK button of IE.can it be done using session.if so can anyone please explain me how it works and give me a bit of information about this session thing as i have no idea about it and when i searched the web it left me …

Web Development asp.net session
Member Avatar for SheSaidImaPregy
0
116

The End.