52,566 Archived Topics
Remove Filter ![]() | |
hi friends, i am doin a project named online compiler. the basic idea is to compile a program online. i am well acquinted with core java but not with web technologies. i know the basics of jsp n planning to do the project in jsp. i know how to compile … Web Development java-jsp | |
hi. i am senthilmurugan. i am learning to php language. one error occur. i try to connect to database. [B]Can't connect to MySQL server on 'localhost' (10061)[/B]. how to correct the error . please reply the answer... | |
I'm using simplexml_load_string to extract a node from an xml filen xml file. It works most of the time, but not all, and when it fails, it gives the error: "call to a member function xpath() on a non-object" I suspect it's because the $menuXML isn't fully loaded? It is … | |
I am currently working on a client management system for my Computing Coursework and I've come to the "Client Details" section, which allows staff and admin to view personal information about each client. I've successfully coded the query and everything else around it, I'm just a but stuck on how … | |
hi all, Is this is there any way in asp.net to create object of a web form in any other web form to access its member function ?? | |
hi , please can any body help me. i am making a website so i am using the combination of mysql and php.there is a error in fetching the field from url.i have made a hypertext as C LANGUAGE and behind this url is <a href="indexblank.php?course=C LANGUAGE">C language</a> now on … Web Development php | |
OK here is a piece of code I've been working on that actually logs you in and returns what ever Curl sees except i have no idea how to make Curl function correctly with websites that require cookie authentication correctly, can anyone help? =/ Web Development php | |
theres nothing happen everytime i click delete. here's my code admin.php [CODE]<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("reservation", $con); $result = mysql_query("SELECT * FROM guest order by code asc"); mysql_close($con); <script> del=function(code){ m = confirm("Are you sure you want to delete this … Web Development php | |
Hi all, My code lists items based on the logged in users id. when listed these items have an edit function. When the use clicks edit, the url holds the id for that item. My problem is that its possible to change the url to show details of something thats … | |
Hi coders, I want to find the network ipaddress of a person who visits my site. How can i do this. any idea?? I tot of using javascripts. storing the ip in a variable and save it in the db. I have not created the site yet. I know a … Web Development javascript | |
![]() | function updatesum() { document.form1.totalfat.value = (document.form1.satfat.value -0) + (document.form1.monofat.value -0) + (document.form1.polyfat.value -0); } <body onload="updatesum()"> <form name="form1" method="post" action="./submitFood"> <table width="520" border="0"> <% int count=0; if(request.getAttribute("foodList")!=null) { ArrayList al = (ArrayList)request.getAttribute("foodList"); Iterator itr = al.iterator(); while(itr.hasNext()) { if((count%2)==0) { } else { } count++; ArrayList foodList = (ArrayList)itr.next(); %> … Web Development javascript |
Hi, I have a gridview to which I'm adding template fields programmatically. Each of the template fields have a textbox. I would like to make this text box have 2-way binding to a database column. Please see below code. [CODE]public class CustomEditItemTemplate : ITemplate { private DataControlRowType templateType; private string … Web Development asp.net | |
i have multiple entries with starting with the letter 'a' .. but the query below only displays one result. [CODE]<?php mysql_connect("localhost", "Master", "pword"); mysql_select_db("db"); $letter = htmlentities($_GET['search']); $user = mysql_query("SELECT DISTINCT keywords FROM Stacks WHERE keywords LIKE '$letter%' ORDER BY keywords")or die (mysql_error()); while($rowz = mysql_fetch_array($user)){ $keyword = $rowz['keywords']; $name … Web Development php | |
Hello Everyone i am here to get help from you to make a php website where people can post videos which are hosted on different video hosting websites and also earn revenue from their sharing.... The website will look like [CODE]http://www.e-soft24.com/scripts/video-embed/[/CODE] And Form Will Look Like This One I Found … Web Development php ![]() | |
In Firefox, the JavaScript code an interact with the document object to affect HTML structure and CSS style rules as well as define behaviors for given events. Can the JavaScript code also modify elements of the window object, like menus, not just enable or disable them in a new window? … Web Development html-css javascript | |
Hi All, How you can help me with something. when a user logs in and is successful, i want the value of the user "type" to be stored in a session, which is then passed to the "login successful" page where i intend to use a switch statement to determine … | |
Dear Friends, I have created a file upload utility which will read the .csv files. My database structure is-- 1)id 2)mobile_no 3)address The administrator will do bulk upload for the above. If the id and mobile_no are already present in the database...then it will update the existing data. If doesnot … Web Development data-structure java java-jsp | |
Need writing a java script that will list prime numbers from 1 - 999 in a 10 Row table...I think I have the prime number logic part down but I cant figure out how to get JS to start a new column after it lists 10 numbers? I would obviously … Web Development javascript | |
Hi everyone, I've spent the better part of 3 days searching the web and trying multiple rotating image scripts to no avail.... every time I try one, it seems to break my page, or just not work. I am not skilled at Java, and am not even sure if that … Web Development image javascript web-browser | |
Hey, I'm having an issue getting the height and width of DIV elements that have resized themselves to fit their content. Note: I do not have a problem getting the height and width of DIV elements that I have set using Javascript. The probel is that this value appears to … Web Development javascript | |
Hi everyone I'm doing a very simple click count funktion with Ajax where I put some data in a mySQL database when some links are clicked: [CODE]onClick="UpdateSQL('1', '190', 'divname', 'message');"[/CODE] [CODE]function UpdateSQL(KundeID, IP, sideElement, kaldMessage) { document.getElementById(sideElement).innerHTML = kaldMessage; try { req = new XMLHttpRequest(); /* f.eks. Firefox */ } … Web Development javascript | |
Hi all, i'm working on a php script and i got a little javascript. i'm trying to get information from some hidden fields but i keep getting an error, udefined. here are the codes: [CODE] var counter = 5; var avail = document.getElementById['available_array[counter][0]'].value; [/CODE] here is the original [CODE] tmp=document.order.elements['available_array[counter][\"+document.order.elements['BRANCHC[ … Web Development javascript | |
hello when i run this code, i get this error : Parse error: syntax error, unexpected T_PRINT in /home/a9017639/public_html/mzrt.php on line 19 [CODE=php]<html> <head> <link type="text/css" rel="stylesheet" href="xxxx.css"> <Title>xxxxxxxx</Title> </head> <body> <P> <h1 style="text-align:center;font-size:60px">xxxxxxt</h1> <BR CLEAR=ALL> <HR> <div class="tres"> <?PHP $zacc=0; if(isset($_POST['submit'])) { $animal=$_POST['animals']; } ?> <h3> Selected Animal:<? PHP … ![]() | |
[b]Split from - [url]http://www.daniweb.com/forums/thread95019.html[/url] [/b] I am also facing the same problem. I have developed an asp.net project in 3.5 version and it looks different in Mozilla and IE. also when the ie window is in restore mode (means in small size) all the content get mixed. Help me out … Web Development asp.net web-browser | |
Hi I want to make form dynamically by just passing array of stuffs. I have tried but cannot may be due to my limitation in PHP. Here is what I have so far. Please help me! [CODE=php] class MyForm{ private $formArray; //pass array to build a form in form of … Web Development php | |
Hey all, I'm rather new to PHP but learning fast over the last several weeks, (so please pardon my ignorance) I've created SQL db, a number of php pages & scripts which interact with it, and have created an html mainpage. The main page is going to act as a … | |
Hi All, I am trying to the following for an appointments system. So far i am able to add to my Sql table 'bookings' values i select from a drop down stored as $day, $month, $year and $time. I want to be able to do a check nefore a write … Web Development php | |
Hello All, Can anybody plz guide me how to write a new method in servlet. I am using netbeans 6.8 A code snippet will be highly appreciated. Also I will be calling these method of servlet B from servlet A. In Servlet A there are 2 hyper links, which should … Web Development java-jsp | |
I'm sure I'm missing something that is fairly easy, but I can't get it to work. I have a SQL Update Stored Proc. In this SP, the Primary Key can be modified. So, First I check if the PK is changing, then if it is, I check to see in … Web Development asp.net | |
![]() | Hi guys. I'm trying to pick 2 dates from a calendar on my webpage. I've got 2 textboxes (date1 and date2) and the calendar image next to each of them which opens a separate window with the calendar. It's all working fine, except for the fact that I can not … Web Development javascript php ![]() |
i have a page [QUOTE]edit.php[/QUOTE] and i wanted to be like this edit.php?at=profile edit.php?at=upgrade edit.php?at=im edit.php?at=delete and if there is no at='something' to include default theme(html) [CODE]<?php include "../app.php"; include $basepath . "inc/PasswordHash.php"; include $basepath . "inc/functions.php"; include $basepath . "inc/adodb5/adodb.inc.php"; // Session Start $adodbsessionstart = new UADODB; $adodbsessionstart->adodbSessionStart(); $db … | |
hi here i wants to show the room numbers by using the following code but it is not working. here iam giving the code plese give the proper coding [CODE] Dim conn As New SqlConnection(ConfigurationManager.ConnectionStrings("guest1").ConnectionString()) conn.Open() Dim da As New SqlCommand("select room_no from guesthouse where room_no not in(select room_no from … Web Development asp.net | |
Ok, so l am new to php ... sort of, now l have managed to throw this together: [CODE]<?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("test_database", $con); if(isset($_POST['Login'])) { if($_POST['username']!='' && $_POST['password']!='') { //Use the input username and password and check against 'users' … Web Development php | |
I have this code, it s a wordpress MU code. The result is a string list of blogs subdomains, on a MU domain. [CODE]$blogs = get_last_updated(); echo 'Most active mommies:<ul>'; foreach ($blogs AS $blog) { echo '<li>'.$blog['domain'].'</li>'; } echo '</ul>';[/CODE] I want that instead of the unclickable subdomains, to get … | |
Hi Friends, I have used this mail function it works properly. mail has sent when i submit the enquiry form. i need the "Enquiry posted sucessfully" message will be displayed in enquiry form. please tell the solution for my problem. usermail.php [code] <?php if( isset($_POST['name']) && isset($_POST['companyname']) && isset($_POST['address'])&& isset($_POST['country'])&& … Web Development php | |
im new to java script. I am trying to make a time/date function update automatically. when i view the page i get the right time, but i have to refresh the browser in order to update it. How can i do it to automatically update itself. i want the clients … Web Development javascript | |
Hey Guys, I have an If statement in one of my php files. I want to send an email to my client anytime it IsApproved. So how do I make it send an email to the client when it is approved? Here is some of the code, the first if($response->IsApproved … Web Development php | |
So I have a bit of a problem... A la I am posting on this forum. If you will bare with me for a short narrative I can explain the situation. Currently a department in my school is involved in a Weather data collection project which they have asked me … Web Development php sql web-server | |
Hi all, How to retrieve client's ip address, mac address, and others hardware address ? Also, how to detect user end device (whether computer, notebook, pda, ...) ? Is that all possible ? Thanks, :) Web Development mac-hardware php | |
Hello Everyone i need your help in making this code kindly help <img src="http://i45.expamle.com/35i4o5t.gif"> i want this image to load in a page by calling it like http://www.example.com/tp.php?code=35i4o5t.gif but the problem making area is that the server information changes on every image can someone make it for me ...... <img … Web Development php | |
I've had a hard time getting dynamic rows inputs to multiply 'onchange' of the value in the input in each row. It works in the first row inserted no matter what rowindex that row is moved to. All following rows only accept the initial input value and never change the … Web Development javascript | |
No one has an answer to a problem I thought would be easy. I guess it is too complex. That sucks. If you think you can solve it I posted it here on dani web and the link to the thread is below: [url]http://www.daniweb.com/forums/thread258226.html[/url] or [url]http://www.daniweb.com/forums/thread258197.html[/url] Web Development php | |
I have this contact form that emails inquiries from a web site. From time to time a email like this comes through. [QUOTE] From: gbvxits Email: [email]vauuol@wehwmw.com[/email] Inquiry: 9a8Lje gojaxfuklmfu, [url=http://cpjnzhrwlhwq.com/]cpjnzhrwlhwq[/url], [link=http://vshgvcdvxjea.com/]vshgvcdvxjea[/link], [url]http://sfiipmxeqijr.com/[/url][/QUOTE] What is the point of this? Why would they put the gibberish and URL stuff in there? Web Development php ![]() | |
Hi people, I would like to send automatic email reminder to people, by calendar preset dates...The peoples email address are taken from 2 diffrent tables.. How do get the email add from the different tables and send automatic email reminders on system date... I think its somethink lik retreive all … | |
![]() | Something odd going on with str_replace. When I replace a set of double characters with another set (double characters), I get a text length increase of 1. [CODE]$gw = array("ll","ch"); $gw2 = array("lž","cž"); $cw = array("â","`"); $cw2 = array("â","à"); $s = str_replace($cw,$cw2,$s); $s = preg_replace('~[^\\pL\d]+~u', '-', $s); $s = trim($s); … Web Development php ![]() |
Hey guys, I have a problem, my process_transaction.php page was working fine before I added some code to it....but I need that code to work. I added an if statement that should send an email to my client's once my process_transaction.php has determined whether or not the payment has been … Web Development php | |
Hi guys, I am having difficulties to purchase a HONEST and DECENT Linux hosting for my PHP + MySQL website. I am asking you to suggest me one or two based on your experiences because most of hosting companies offer very exciting stuff but most of them are hustlers (I … | |
hi all, I have a php script that saves what the user types in into a text file using fwrite, and displays it on another page using file_get_contents. When putting in a pound sign (£), it saves the following to the text file: £ Any idea how I can stop … Web Development php | |
Hi, i have started to learn javascript. To run javascript.. browser window and notepad is enough or i need to load java s/w also, i'm not getting output for this coding..can any one help me pls??? <!DOcTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>first java script … Web Development javascript |
The End.