52,566 Archived Topics
Remove Filter ![]() | |
Hi, Using dreamweaver / webassist extension / Apache 2.0.59, MySQL 5.0.41, PHP 5.2.6 on a mac: After selecting my criteria on my search page I go to a result page where I display several information from my database. I have 10 results per page and each result has field displaying … | |
hi I have a table in my database that look like this: id - name - orderno the table has data in the fields of id and name but orderno is empty. I made a html form based on the data of this field, in front of each name field … | |
Hi, i'm trying to use the divviewer image viewer as found here - [url]http://www.javascriptkit.com/script/script2/divviewer.shtml[/url] but i cant seem to get it to work properly, as seen here - [url]www.ryanscarry.com/port_digiart/photo_retouch/models/rebecca_burgess/Copy_of_portfolio_photo_rebeccaburgess.htm[/url] any ideas please? Thanks Web Development image javascript | |
hi everyone, I have found one warning in my php code. How it can be removed. pls help me . It is very urgent. warning is like this on a php page......... Warning: session_start() [function.session-start]: open(/tmp/php-ses/sess_7dbaf8a556cd076ed8409da8908ea802, O_RDWR) failed: No such file or directory (2) in /home/vg002web01/12/46/1014612/web/login/user.main.php on line 2 Warning: … | |
Hi all, I have a good one here and i am hoping there is an answer for this. I have a form which displays a profile. Each profile has multiple rows of data, each row consists of a sort order, an operation name and a delete flag, which when saved … Web Development coldfusion | |
HI, I am creating a CMS site in asp.net with flash animation. I want to write editable text (fields) on a white sheet that opens in an animated form. The text has to be in asp.net as there is a small query form, and some text (that can be edited … | |
I have this gallery that loops through images in a folder. But you have to set what images. Is there a way that I can make it loop though as many images that are in this folder maybe using a for loop or something. [code] var mygallery = new simpleGallery({ … Web Development javascript | |
Heyy, need some help here. ok, I've got my script here right. [CODE]<html> <head><title>Display Records</title> <style type="text/css"> td {font-family: tahoma, arial, verdana; font-size: 10pt } </style> </head> <body> <?php $db="aseco121"; $link = mysql_connect('127.0.0.1: 3306', 'root', '******'); if (! $link) die(mysql_error()); mysql_select_db($db , $link) or die("Couldn't open $db: ".mysql_error()); $result = … | |
Hi all, I need to do a query like this: [CODE]SELECT * FROM table1 WHERE ( SELECT COUNT(*) FROM table2 WHERE fbid = *current primaryKey*) > 150[/CODE] How do I get the *current primaryKey* in order to do the second section of the query? Max. Web Development php | |
I am using the login control in ASP.NET. When I run the program an error msg "Incorrect syntax near the keyword 'User' " appeared in the debugging mode. I have no idea what is the problem. Anyone know what is wrong with my code? [CODE] Protected Sub Login1_Authenticate(ByVal sender As … Web Development asp.net | |
Hi I explain what I have: user will visit the site to change booking detail using their client and booking ID, once thy typed their ID they will be directed to another page where they will be welcomed and they will be presented with a form to enter the booking … Web Development php | |
[code] <html> <head> <title> database connectivity </title> </head> <body> <H1> DATABASE CONNECTIVITY </H1> <% dim constr constr= "provider=sqloledb;data source=1.234.5.678,1234;initial catalog = abcd; User Id=abcd; password=abcd" set conobj = server.createobject("ADODB.Connection") conobj.connectionstring = constr conobj.open set comobj = Server.CreateObject("ADODB.Command") comobj.CommandText = "test2" [COLOR="Red"]comobj.CommandType = adCmdTable[/COLOR] set rs1 = comobj.Execute %> </body> </html> … Web Development asp open-source | |
Hello all, I know this is not a question related to some asp.net error but posting it in here because of the hope that people who are working in asp.net might be able to answer my problem. I attended a technical phone interview few weeks back and today got a … Web Development asp.net | |
i want to provide an option to user to preview the form input before form submission, it runs well, but it does the same action on pressing submission or preview button html [ICODE] <form> <tr> <td width="26%" height="30" align="right"><font face="Calibri">Category:</font></td> <input type="text" name="category" size="30"></td> <td width="26%" height="30" align="right"><font face="Calibri">City:</font></td> <input … Web Development php | |
hi, there... im having problem with this codings. these codings are meant for login purpose. i dont knw where ive gone wrong. are these the only codes, or are there any other codes that ive not included... please help [code=asp.net]<%@ Page Language="VB" %> <script language="VB" runat="server"> Sub btnLogin_OnClick(Src As Object, … | |
hi all i have problem with save zero before number in the var example [CODE] $num=0024; echo $num;// show 24 [/CODE] Web Development php | |
Hei, Im using ASP.NET as Front end and SQL Server as Backend. the codings are.. [code=asp.net]imports system imports system.data imports system.data.sqlclient [/code] After inherits...... some connectin codingd are there [code=asp.net]dim con as SqlConnection dim adp as SqlDataAdapter dim com as SqlCommand dim data as Dataset[/code] after the connection codings in … | |
Hi, I'm trying to set a simple send an email script as I found it on the internet. Here is the code: [CODE=php]<html> <head> <title>PHP Mail Array Loop</title> </head> <body> <?php $to = "mymail@anydomain.com"; $subject = "Test mail"; $message = "Hello! This is a simple email message."; $from = "anybody@somedomain.com"; … | |
Im trying to build a site that gets info, lets say product prices, [B]from different xml sources that have a different structure[/B]. Then it displays all the prices sorted.. My first guess is to import all the data from the different XMLs to a mysql db after the sorting of … Web Development data-structure php xml | |
Ok so what i'd like to know is how to have two where statements in a mysql delete query. I get an error if i do this: [ICODE]mysql_query("DELETE FROM user_notifications WHERE username='$acc' AND WHERE notification='$note2'") or die(mysql_error()); [/ICODE] Any help would be much appreciated, I know this is a silly … | |
Hi I have made a page thats makes an AJAX call to the server gets the time and displays it. In the OPEN method i have set req.open("GET","/timerProg.cgi?param1="+new date(),false); I have set the last parameter as false as i am expecting a synchronous request so that time displayed should be … Web Development caching javascript | |
HI I want to submit csv file data into mysql pls tell me how 2 do if any one has any program made to insert csv file into mysql pls give me the code i really need it pls help me bye | |
I have this code which display random images from any folder on a webserver. You just have to give each picture the same name but with a number at the end of it (make foo.bar foo1.bar footype.bar foo2.bar). Does anybody have any idea how to make this work accept not … Web Development php | |
[CODE]using System.Configuration; string s = ConfigurationSettings.AppSettings["con"];[/CODE] the code above gets the value from the app.config file where the following markup exists [CODE]<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="con" value="foo"/> </appSettings> </configuration>[/CODE] | |
you can access repeater's row data using the code below in the ItemDataBound event handler [CODE]protected void rpt_ItemDataBound(object sender, RepeaterItemEventArgs e) { object value = DataBinder.Eval(e.Item.DataItem, "columnName"); }[/CODE] Web Development asp.net | |
[CODE]System.Timers.Timer time; protected void Page_Load( object sender, EventArgs e) { time = new System.Timers.Timer (); time.Enabled = true ; time.Interval = 2000; time.Elapsed += new System.Timers. ElapsedEventHandler(time_Elapsed); } private void send() { MailMessage mm = new MailMessage (); mm.IsBodyHtml = true ; mm.Body = "foo" ; mm.To.Add(new MailAddress ( foo@foo.com … | |
it is pretty easy with one line of code : add System.Diagnostics namespace then [CODE]Process.Start("C:\\foo.exe");[/CODE] | |
Hi, I trying to creat code to upload images .in my code i can upload files but i cant upload images can any one tell me what is the problem in my code this is my code [code=php]<?php $command=$_POST["command"]; If($command == "") { ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 … Web Development php | |
Hi to all I have the following problem: I have a main page(html) and an iframe in it. [code] <html> <body> <iframe src="myIframe.html" /> </body> </html> [/code] In the iframe I have DIV element with a picture/or another element in it. I need to center the DIV element in the … Web Development javascript | |
This code was working originally. Then I had made some modifications and things weren't going right so I went back to how it was originally, and now it's not working! What this does is add a file text box when you click a button & then remove it when you … Web Development javascript | |
I trying to parse HTML Table tags and get all the values in a Array. How can I get values from that array One-by-One. I have tried many array sample but when I try to print this array it only returns series of value "Array" not the value. see this … Web Development php | |
Hello, this is hopefully a very easy one for you guys, but as a beginner I'm not sure how to do this correctly: I have a form [icode]<form method="post" name="boxsearchform" action="search.php"><input name="title" id= "title" type="text" value="" /><input type="image" name="search" src="go.gif" /></form>[/icode] that passes the variable of "title" to search.php. On … Web Development php | |
Hi all, I have just created a template for my website and then have put in my GOOGLE Adsense script in it. When i open it with Internet Explorer. The page gets displayed nicely. But when i open it with Mozialla Firefox it doesnt display any Adsense ads. Secodnly the … Web Development google-adsense javascript | |
I have a series of 5 checkboxes installed in a web form. I have the code to get the checkboxes to echo back onto a confirmation page for the site visitor to see. However I can't get the info to come back to me in the email. I don't know … | |
Hi, I'm new to jsp I'm writing a java code of simple chat application that consists of an applet on client side and a java server page on server side. My applet is fine but the jsp code shows unusual errors and in most of the cases the browser simply … Web Development client-server java-jsp | |
[code] <html> <head> <title> database ado </title> </head> <body> <%constr = "provider= sqloledb; data source = 6.123.3.183,1234; initial catalog=dbase;User id=scot; password=pwd1"%> <%set conpubs= server.createobject("ADODB.Connection") conpubs.connectionstring= constr conpubs.open%> <%Dim rstest Set rstest = Server.CreateObject("ADODB.Recordset") rstest.Open "test", constr, adOpenDynamic, adLockOptimistic, adCommandTableDirect rstest.addnew.fields("name")="three" rstest.update%> <%while not rstest.EOF Response.Write rstest("name") & "<br>" rstest.movenext Wend%> … Web Development asp open-source | |
how to download table data from mysql table using php other than files | |
I'm trying to create a 6 digit number from a string of letters before a # sign. For instance I'd like to take "seaweed#" and take the 6 last letters before the "#" sign and convert them to numbers based on each letters position in the alphabet assuming a=1, b=2, … Web Development php | |
Hi, I have a question about Java. I'm really new to Java so this is not something I'm familiar with.. My question is, how do I get the values of pos.offsetTop and pos.offsetLeft to show up in my input box?? Here is the java code: [code=JavaScript] function getPosition(element) { var … Web Development javascript | |
I want to use $_GET['error'] to fetch error messages from an array. Heres my array: [code=php] $errormessages = array( 'nosearch' => 'Your search returned no results - <a href="guide?t=search">Click Here For Search Tips</a>', 'captcha' => 'The captcha you entered was incorrect, please try again.',); [/code] So if I did [ICODE]echo … Web Development php | |
Hi. I got a page on which on the left side there is a Tree with branches, on the right side of the page i got an <EMBED> tag that shows a pdf file, User can click on tree branches to expand them and can click on the leafs to … Web Development javascript pdf | |
Really new in PHP So don't know what to do now?? I have a form which have one select button have different catalog. And i want to do when i choose one catalog, my page will show what's that related. here is my form code: [CODE]<form action="index.php" method=GET name=chcat > … Web Development php | |
On my MySQL search what I want to do is redirect a user to another page and show an error message if the search returned no results. But for some reason the user never gets redirected. Can you spot my problem? :| [code=php] $sql = "SELECT * FROM `list` WHERE … Web Development php | |
I am working on a site that must drag and drop items, I use scriptaculous 1.8.2, effects, dragdrop.js. See the picture of the website: [url]http://http://www.freeimagehosting.net/uploads/a5e185062a.jpg[/url] or [url]http://img11.imageshack.us/img11/4913/myplansite.jpg[/url] [I](each number 1..8 is an drag and a dropable)[/I] But now I am lost, I kan drag, i can drop and invoke the … Web Development javascript | |
my OS is Windows XP, i have installed apache server (2.0 X) .. i am writing a script to send an email via php mail function. [code=syntax] <?php $to = "myAddress@hotmail.com"; echo "1"; $subject = "Hi!"; echo "2"; $body = "Hi,\n\nHow are you?"; echo "3"; if (mail($to, $subject, $body)) { … Web Development apache os-x php windows-server | |
Hi Friends, Does anybody know How to Export data from a GridView to MS Access using C #. Any help would b greatly appreciated. Regards Robins Web Development asp.net | |
Hi There :) I purchased and downloaded this flash gallery from Mmfiles.com <- Good site. Now, of course I'm looking to insert this versatile resizable flash gallery, into my website that was designed in Dream-weaver cs3. [B]Are there any good tutorials you might know to help me do this ?[/B] … Web Development flash javascript | |
hi, i'm creating the admin section for a multi-level category search/navigation system. i mean like, when a visitor comes to the site and they are looking for data, first a list of categories appears. for example ..... states....departments......etc. so when a user clicks on states, he gets another list of … Web Development php | |
Hi, all i have one project about doing pizza ordering system using PHP+XML So about the design website part i already have bunch of ideas. The part make me stuck is the XML part. The following is what required: [LIST] [*]. [/LIST]Spend some time thinking about how best to represent … | |
My html/javascript code will not run and I am frustrated so I am not going to be able to understand why the code is not running. We were introduced to functions and here is my attempt. When I run the code in Firefox/Mozilla I receive an error stating that Grades … Web Development javascript |
The End.