52,566 Archived Topics
Remove Filter ![]() | |
Hello everyone, I have a small problem for using a regex in PHP. The problem is that I get a text output from another website. I want to get some informations by using a regex but I'm not sure in advance how the informations will be display. Here the example: … | |
I have a PHP page on my site that (almost) continuously loops and sleep()s. While this page is looping and sleep()ing I cannot load another page from my site until the looping page has finished and returned a result for me. Is there a way to get around this? Is … Web Development client-server php web-browser web-server | |
Hi, I have a gridview that displays all the users from the ASPDOTNET database and I have some buttons that I can display other details and also edit and delete a user. The show button seems to only work on every other row. The fail message is the following: [CODE]Object … Web Development asp.net web-server | |
Hi everybody, i have a web site without login system, and i want to integrate a good login system into it. Plz, suggest me a good tutorial about it? Web Development php | |
Well, I just got finished spending a couple hours looking for a solution to an issue concerning the background image. Originally, I was not able to get it even close to the manner I wanted it to work. However I have made it to a decent point. The original idea … Web Development html-css image javascript xml | |
hi how can i add controls to a gridview at runtime? anyone knows? Web Development asp.net | |
Hi There, For some reason I need my form to be submitted twice (in one go). Is there any way to do that instead of submitting once go back and submit again? My form based on PHP and Javascript... Thanks! Web Development php | |
Hi, I am trying to insert two columns each from a different table into a single table and give that a value and i can only find insert INTO different table examples, and none for FROM different tables? I have attached the table im trying to insert into: the samples, … Web Development php | |
The font size is 28px. How do i change the font size to 12px onfocus? i tried below but it isn't working. [code] <textarea name='content' style='font-size:28px;' id='content' onfocus='font-size:12px;'>test</textarea>[/code] Web Development javascript | |
Hi i'm doing some php i make login page where i check if user put right information i redirect him/her to index.php where session starts and other things occur.But when i put right username and password it not going to index.php else it coming back to login.php again. Here is … | |
Hi all, My problem is i've got this form that submits fine but when i try to redirect it i keep getting an error. I want to redirect to another page so the user can't refresh the page and submit the form multiple of times. I've been using 'header' to … Web Development html-css javascript | |
Hi, I transferred a folder from server A which consists web scripts (php) to another server i.e server B. After creating the database just like in the server A, I managed to have the log in page ready. Then I exported the sql data from server A and imported it … Web Development php web-server | |
hello everyone, i need your help i want to create a php age that work the same as the mobile application"to do !ist" so i want to create to do liat with php and mysql but i really dont know how to start and how it is supposed to work … Web Development php | |
So I've just been getting into jquery, been reading some tutorials and I've found myself very confused to do with event delegation/rebinding Basically: User clicks "Show Users" result is retrieved using jquery and is a HTML forms and placed into <div id="listusers"></div> Then when they click the submit button jquerys … Web Development javascript javascript-jquery | |
HI, I am currently working on a project to develop a webpage using jsp. I need to include some css properties in the jsp file. But it doesnt work even though I am not getting any errors. My jsp code is [CODE] <% String captcha = (String) session.getAttribute("captcha"); String code … | |
[CODE] FileInputStream fs = new FileInputStream("/opt/Abhishek/software/tomcat/webapps/AMS/listpass"); DataInputStream in1 = new DataInputStream(fs); while (in1.available() !=0) { String str1=in1.readLine(); StringTokenizer st1 = new StringTokenizer(str1); String node=st1.nextToken(); if (node.equals(sports[i])) { String pass=st1.nextToken(); out.println ("<b>"+sports[i]+" <b>"); out.println("**Your Required Password**"); out.println(pass); out.println("<br></br>"); [/CODE] Hi , I have a text file (named listpass in the above … Web Development java-jsp | |
Hi, I just installed Tomcat 5.5 and could see the default index page (with images missing) Upon running the sample JSPs, I get the following- HTTP Status 404 - Servlet default is not available In the logs, I can see a Root Cause saying something like- "java.lang.NoClassDefFoundError: org/apache/naming/resources/Resource" Basically, I … | |
Hi im looking to echo a result of a query code i have at the moment is connections + [code=php] <?php $result = mysql_query("SELECT SUM(tablefield) FROM table") or die(mysql_error()); [/code] got no idea if this is right, i seem to have got really mixed up with this. Can anybody help … Web Development php | |
Hi, I am getting the following error when I try to submit registration on my website. Am not able to figure out the issue. Any help is greatly appreciated. Parse error: syntax error, unexpected T_STRING in /home/content/t/h/i/thinkvirtual/html/includes/registration_mail.php on line 3 The code on registration_mail.php is <?php $message="<body> <div align=Â¥"centerÂ¥"> <table … Web Development php | |
Hi, I need help. Im an new to this one. I have been into web designing for a long time. Just the designing part... I'm new to JavaScripts and PHP.. cant hey go together to create a web site that can work with the dynamics of both server sided and … Web Development client-server javascript php web-server | |
I have a form in file.php , when i submit that form it redirected to another page.There i display all the values that i got in the form.Now there is a button called Ms word when i click that the current page has to exported to a word file and … Web Development php | |
Hi, I set up an upload page and a script to view files uploaded into a mySQL database. I'm using phpmyadmin and everything looks fine for the database, it's showing content in the BLOB field. My problem is that my download script isn't working. It should be bringing up a … | |
[CODE]<?php require('./configs/reg_conf.php'); function doesUsernameExist($name){ $exit = FALSE; $result = @mssql_query("SELECT * FROM ACCOUNT_TBL WHERE account='$name'"); if (mssql_num_rows($result) != 0){ $exit = TRUE; } return $exit; } if(isset($_POST['submit'])){ $user = preg_replace ("[^A-Za-z0-9]", "", $_POST['username']); $pass = preg_replace ("[^A-Za-z0-9]", "", $_POST['password']); if($_POST['username'] == ""){ echo '<font color="red">Enter a user.</font><br /><br />'; } … Web Development php | |
Hi, In my ASP.NET page I have a TreeView where ShowCheckBoxes="Leaf". I want to mark as checked/unchecked all the visible checkboxes by clicking in a button. My code for selecting all/none nodes is like this: [CODE=javascript]function selectAllNone(tvID, value) { var tvNodes = document.getElementById(tvID); var chBoxes = tvNodes.getElementByTagName("input"); for (var i … Web Development asp.net javascript | |
Hi, I have a list of postcodes in the UK and their co-ordinates... I've also written a nice function that measures the distance between two postcodes. When my user logs in their postcode will be stored in a cookie, when they do a search for events I want to show … Web Development php | |
hi, this is prob really simple but what is the best way for me to add time to call on a form? i have created a column in my tesk table called timetocall with type = TIME what is best way to allow the user to key on the time? … Web Development php | |
I have a WebUserControl(having a form tag ) in which am using <asp:Image> tag And i used this WebUserControl in my master page but when i use a index.aspx page(having a form tag) with this master page the error occurs "multiple form tag on a page". What should i do … | |
Hi, i want to display several record from database with data type "date"..but when display, the record displayed in datetime format (default)..what should i do to change the format date..i have tried many thing but it does not work.. now, this is mt coding [CODE] <asp:TemplateColumn HeaderText="Expiry date" HeaderStyle-Width="10%" SortExpression="CmpExpDate" … Web Development asp.net | |
[CODE]<cfquery name="Booking_Link" datasource="HotelBookingSystem" username="HBSuser" password="HBSpass"> SELECT * FROM Bookings WHERE BookingDateIN AND BookingDateOUT NOT BETWEEN <cfqueryparam value="#FORM.SelDateIN#" cfsqltype="cf_sql_date"> AND <cfqueryparam value="#FORM.SelDateOUT#" cfsqltype="cf_sql_date"> </cfquery>[/CODE] This works .... But if my booking date(UK - dd/mm/yyyy) has a range of 05/02/2010 to 09/02/2010 And my search value is 04/02/2010 to 05/02/2010 ... this … Web Development coldfusion sql | |
Hi, I have a list of divs with IDs which are just incrementing numeric values. I want to select a subset of those divs with IDs between say 7 and 12, like this: $('.myDivs[ID between 7,12]').doSomething(); Anyone know how to do this? I can't find anything in the jQuery docs … Web Development javascript javascript-jquery | |
I am trying to set up a sort of instant messaging system on a site I am creating. Users submit their messages which are then stored in a database. Other users looking at the page should then be able to see this message as soon as possible. The only way … Web Development javascript | |
How do i perform search from php within the search result that was just returned? In oder to perform a search on the result set again i need to have the result set stored some where. either in session/cookie or temporary table in the mysql server. i tried the mysql … | |
i'm trying to load an page into my site using [CODE]href="javascript:ajaxpage('page.html', 'containerdiv');[/CODE] while the external page is loading is it possible to show some loading animation in tht div [COLOR="Red"]Please help me!!![/COLOR] Web Development javascript | |
I have a drop down list that displays all the titles from my table in the database. This works fine, however, i want it to display the title of whichever person the query has searched for. For example, the list has all the titles in, i have clicked on my … Web Development asp.net | |
hello guys i am facing a problem in accessing form elements and returing them.. can u please help me.. ? Here the problem goes: <script language="javascript" type="text/javascript"> function pop() { newwindow2=window.open('','name','height=500,width=500'); var tmp = newwindow2.document; tmp.write('<html><head><title>popup</title>'); tmp.write('<body><form action ="hello.html" value="somthing" method="post">'); tmp.write('<b>Date</b>') tmp.write('<input type="text" name="date"><br>'); tmp.write('<b>Event Title</b>') tmp.write('<input type="text" name="title"><br>'); … Web Development javascript | |
I'm newbie in MSSQL, I would like to ask what web server should i use? Should i install IIS in my PC? I appreciate your suggestions... Thanks.. Mar.... Web Development client-server mssql php | |
hello anyone can tell me how to blur image using javascript. Web Development image javascript | |
Hi, I am trying to print different messages based on what is selected. The selections are stored in a database as $perm, and the options are low, intermediate and high. I am using switch, however i only get the first case printed: [CODE] $low = "Low"; $int = "Intermediate"; $high … Web Development php | |
My gridview is being generated at runtime by a dataset. My first column is a template field with checkbox, how to delete a selected row? C# please. | |
Hi I have some homework that I need to get done here. Our instructions are to manipulate an array and add, replace, sort, and change an array as asked. I have gotten pretty much everything done up the the point where my teacher wants me to ADD a Finch to … Web Development php | |
Hello I am new to JavaScript and need some assistance. I am trying to create a page/form where the user enters first and last name and select their title (Mr, Miss or Mrs). There is also the ability to select 1 of 2 options by clicking a link. After the … Web Development javascript | |
Hey Guys, I just wanted some help on how I can use Javascript's onClick function to allow my visitors to be able to navigate to different paragraphs. So, for example: [CODE]<html> <head> <title>Test</title> </head> <body> <p> <a href="#" onClick="?">Click here to go to Paragraph 1</a> <a href="#" onClick="?">Click here to … Web Development javascript | |
I've been looking at this too long and just cannot figure out what's wrong here :( [code] <?php $config['name'] = 'admin'; $config['password'] = 'xxxxxxxx'; $config['email'] = 'admin@rltz.com'; $config['db_user'] = 'ephrils'; $config['db_pass'] = 'xxxxxxxx'; $config['db_data'] = 'addv2'; $config['db_host'] = 'addv22.rltz.com'; $con = mysql_connect('addv22.rltz.com','ephrils','xxxxxxxx'); if (!$con) { die('Could not connect: ' . … Web Development php | |
Hey y'all. I hope someone can shed some light on what I am needing to do. Just a little guidance should be good... What I have is an app where an employee slides their id badge and a form captures the long string of data from the magnetic strip on … Web Development php | |
<?php echo "<table>"<table cellpadding='4' cellspacing='3' border='1'>; $query = mysql_query("SELECT orderID, entrytime, advertiser, contactname, contactemail, billingadress, billingcity, billingstate, billingzip, accountexecutive, aeemail, aextphone, accountnumber, contactphone, contactfax, nrirep, nriemail, clientwebsite, clickthroughurl, adelements, campaignreports, additionalinfo, assignedto, workpath, status, submittedby, rev, lastupdate, approved FROM Mickeymouse"); while(list($orderID, $entrytime, $advertiser, $contactname, $contactemail, $billingadress, $billingcity, $billingstate, $billingzip, $accountexecutive, … Web Development php ![]() | |
any one with an idea of how to embed a player such as VLC on my page. or else how can people play music that is within my server..any resources such as sites or books on how to do this will be highly appreciated.. Web Development php | |
Hey guys, Just wondered if someone could tell me how to make this echoed DIV dissapear. Here's my code with an explination: [CODE] <?php session_start(); if (isset($_GET['beginCount'])) { $_SESSION['countView'] = true; } if ($_SESSION['countView']) { $_SESSION['count']++; } if (($_SESSION['count'] % 5 == 0) && ($_SESSION['countView'])) { echo '<a href="http://google.com" title="x" … Web Development php | |
hi frndz ........ i want to create a media player in web application which supports all the video and audio formats . if u know any website url to view the design and components . plz reply me...... Web Development asp.net audio video web-design | |
Hello I am trying to learn php, I have been looking up information on google, I understand a few things but i need help, I want to get input form an html form and save it to a text file here a snippet of some code I have tried: [code=php]<!DOCTYPE … Web Development php | |
Hi any help would be great... I am moving one site from one host to another and on the current host not getting any errors:...on the new host constantly getting....in_array(): Wrong datatype for second argument in here is the code that is coming up with an error and the full … Web Development php |
The End.