17,029 Solved Topics
Remove Filter ![]() | |
Good evening everyone. I am new here and also new to JavaScript. I have a small assignment that I think I have just about done, but the False part of my conditional expression is not calculating properly. My program keeps 'spitting out' the same calculation of rate times hours if … Web Development javascript | |
I'm fairly new to ASP, and need some help figuring out this error. The 'ThingsNeeded.asp' page holds 4 buttons and passes the required 'ID' value, keeping the user to just update their record. I have two pages done, but keep getting [icode]Incorrect syntax near the keyword 'WHERE'. /PPmanual/AFLocations.asp, line 23 … Web Development asp | |
Hi everyone, I want to retrieve data from database in jsp page based on the particular m_emp_no .I am finding it very difficult so please can you all help me out with the problem. Here is the structure of my database and i am using ms.access [ICODE]m_emp_no m_leavetype m_bal 1004 … Web Development data-structure java-jsp | |
I am using the following refresh script. It works great in IE but not in FF. Does anyone know how I can make this work in FF? Is it a setting in the browser or the actual code? Thanks DS [code] <script> <!-- /* Auto Refresh Page with Time script … Web Development javascript | |
Hi everyone, I am trying to make a login form for my site. I am using the About.com code as a template of sorts. You can find that here: [URL="http://php.about.com/od/finishedphp1/ss/php_login_code_4.htm"]http://php.about.com/od/finishedphp1/ss/php_login_code_4.htm[/URL] I have since changed this code to make it easier for my clients to log in. I want them to … Web Development php | |
Hello Friends... Tell me how to store my product information in xml file using php ... Is this is a replacement of my database... Please tell me any information on this... Thanks in Advance.. Shanti | |
Hi, I am a webdesigner and don know much about php coz, my main stream is html and css. I used to use asp feedback forms for my websites. But my new website server is unix based. I think asp feedback forms are not supported in unix. Please tell me … | |
Hey guys hopefully this is just a quick question. I've a form that is sending data to a PHP script. The form has the following textbox: [CODE] <input id="quantity1" name="quantity1" type="text" value="" /> [/CODE] Whenever it is posted I do the following: [CODE] function isInteger($val) { if (is_int($val)) { return … Web Development php | |
I am pulling dates from my database using this code: [code] <% Set rs = Server.CreateObject("adodb.recordset") cmdTemp.CommandText = "SELECT First, Last, Anniversary, Ext FROM Directory " _ & " WHERE Month(Anniversary) = " & showMonth _ & " ORDER BY Anniversary" rs.Open cmdTemp, , AdOpenStatic Do Until RS.EOF AnnName = … Web Development asp | |
Hi I have my existing code [code=php]<?php $query = sprintf("select venue,count(venue) as frequency from matches group by venue ORDER BY `frequency` DESC limit 300"); $result = mysql_query($query); ?> [/code] and it outputs a table [code=php]<?php $result = mysql_query($query); while ($row = mysql_fetch_assoc($result)) { $text = "".$row['venue'] . ""; $url = … | |
I am facing problem while retrieving values from the jsp page. my database structure is as follows: ----------------------------------------------------------------------- m_emp_no|from_date|to_date|approver|status| ________________________________________ 1002 | 22/9/2008 | 23/9/2008|1003 |pending 1004 | 29/9/2008 | 30/9/2008|1003 |pending 2044 | 15/9/2008 | 16/9/2008|3076 |pending -------------------------------------------------------------------------- I am retrieving values from database properly using the following sql … | |
I have this chronic problem with my php file, though I have made a lot research about the submit buttons and isset and $_POST part of the problem still persist. For you to understand and probably point out my mistakes, i have enclosed the script below: [code=php]<?php $m = (!$m) … Web Development php | |
Please i need someone who can help me Display Date from Mysql which is in format YYYY/MM/DD to DD/MM/YYYY the code below sends data to mysql but when i`m displaying date it comes in YYYY/MM/DD. [code] <?php include"config.php"; $comment=$_POST['comment']; $news_id=$_POST['news_id']; $name=$_POST['name']; //$rece_user=$_POST['rece_user']; $query="INSERT INTO newscomment (name,news_id,time,comment,date) VALUES('$name','$news_id',CURTIME(),'$comment',CURDATE())"; $result=mysql_query($query); if($result){ //echo"<i><b><font … | |
Hi all and thanks for reading. I came accross a function on the internet for creating a <select> box out of an array. I understand all of the code except for a few things: [CODE] <?php function dropdown($name, array $options, $selected=null) { // Begin the select tag. $dropdown = "<select … Web Development php | |
[B]This is the verification code i put in my webpage [/B] [ICODE]<?php if ($use_verification_image): ?> <label for="commentform_verification">Image verification:</label><br /> <input name="verification" type="text" id="commentform_verification" class="comment_form_text_box"/> <br /> <img src="<?php echo $commentsystemfolder; ?>comments_verificationimage.php?r=<?php echo md5(uniqid(time())); ?>" alt="image verification" name="commentform_verificationimage" width="70" height="10" id="commentform_verificationimage"/><br /><br /> <?php endif; ?>[/ICODE] [B] the above code is … | |
Hi, I created a multiple select box wich i would like to have one variable with all the results selected on the multiple select box such as variable_name = "result1|result2|result3" This is what i have so far: [code] oSelect = document.getElementById ('s1'); var iNumSelected = 0; for (var iCount=0; oSelect.options[iCount]; … Web Development javascript | |
Not sure the title I gave this was appropriate, but I will try to describe my problem as best as possible. Basically, I'm trying to find the correct url reference for the mkdir() function. Let me type up a FTP Structure diagram to help: [code]{ROOT} -inventory -FF -<I am here>[/code] … Web Development php | |
echo "<meta http-equiv=Refresh content=0;url=login.php?nflag=".$nflag.">"; Here i pass PHP variable nflag. Can any body tell me where this variable(nflag) is store. So when i use the statement ; $nflag=$_GET['nflag']; and get that value. Where the value of 'nflag is stored', ans from where _GET[] array is formed. What are the default … Web Development php | |
In php file I write ; echo "<meta http-equiv=Refresh content=0;url=login.html>"; Here i load a login.html file. Along this i want to pass a php variable(suppose $nflag) content to login.html file, so that i can use it in javascript within login.html file. Please Help me. | |
I want to make an image as link, such that when I click on the image a javascript function is called. The whole code is written in javascript. I try this byt it files: aaa=document.createElement('a'); aaa.href="#"; aaa.innerHTML="<img src="downArrow.gif">"; aaa.onclick=function() { moreInfo(this); } here I want when I click "doenArrow.gif" image … Web Development image javascript | |
I have a form where I am using an image as the submit button. When I click on the button the form submits however when I press 'enter' the page simply refreshes. In my PHP code I use the submitok_x value to check the x co-ordinate value - if it … Web Development javascript php session | |
any recommendation for a good reciprocal link exchang script? should be able to organize links into categories, search engine friendly web pages, etc.... Pls. advise. Web Development | |
I want to design a progress bar when a file from data base in loading. Any body can help me. Web Development javascript | |
hello, I don't know whether should I post my problem in this forum or some else. However, is there any method to auto select css tab with corresponding link. I mean to say when ever you open any link from web site its corresponding css tab automatically shows selection(highlighted). I … | |
I`m displaying a certain number of result from mysql database. My problem come when i need to display for example 4 result in first row,the other 4 in the second row and so on. the code below displays all the results but each in its own row [code] <?php include"config.php"; … Web Development php | |
In my Database(mysql) i have 100 members registered,Now there is page i want to display only ten members, but after each page refresh i want other ten members to display at the very same place Meaning replacing the current shown members. Any one with the idea on how i can … | |
I have a jsp page to take input from user and want to store values in database with the confirmation message on the same jsp page . But I already have stored an array list in session during processing of other pages of other modules of my project . Now … | |
Hi, I have a problem here and i need some help. I like to know how to link php code to other pages. The following is the entire code : [code] <td bgcolor="#FFFFFF"><? echo $rows['topic'];?></td> [/code] This echo out the topic, but i want this topic to be a hyperlink … Web Development php | |
Hey there, I've got a little question. I writing a homepage for a pizza delivery service and i have got a little problem which i am not able to solve. If i open the page from the computer i have written it on, everything works just fine but if you … Web Development php | |
First I want to apologize if this has been asked before. I have spent hours trying to figure this out and can never find a straightforward answer. It has turned out to be a FAR more difficult problem then I originally thought. Basically, I need to write a client side … | |
Hi, I am looking for a script that will allow people to be able to download one of my web templates, directly after they have payed. At the moment the customer has to pay and then wait for me to actually send an email to them with the template as … Web Development | |
i currently working on web based ftp system where this system will upload and retrieve file from ftp server in red hat linux 9.0. here is the php cording for the upload file:- 1.upload.html [code=php] <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <form action="upload.php" method="post" enctype="multipart/form-data" name="form1" … Web Development file-stream file-system php web-server | |
new to this php.. i have a login page. <form name="form" id="form" action="aa.php" method="post"> ... <input name="txtusername" id="txtusername" type="text" width="70px" class="style23"/> <input name="txtpass" type="password" width="70px" class="style23"/> ...... button here... </form> after login i am getting login name of user form `URl ->[url]http://localhost/MIS/PS/add/add_ps2.php?[/url][B]name=champawat.[/B]` in second page i hva three `combobox(unit,achivements,crop)`. the … Web Development php | |
I have an input form that requests a date from the user and have a pop-up window with a calendar in it. Problem is the window shows for less than a second and then goes behind the main page. I have used this exact code in several other places with … Web Development asp.net javascript | |
I hate to bother you guys but I have a problem that has me stumped. When I test it on my local server it works fine, but then I uploaded the files to the web server and it doesn't work and I get the following errors: Warning: fwrite(): supplied argument … Web Development file-stream php web-server xml | |
I have code that successfully displays results, but throws an error in Fx 3 and IE 6. A sample of the XML file: [code] <?xml version="1.0" encoding="ISO-8859-1"?> <mycds> <cd> <title>Wolf City</title> <artist>Amon Duul II</artist> <artist_id>1</artist_id> <track_id>1</track_id> <sequence>1</sequence> <track_name> Surrounded By The Stars</track_name> <track_id>2</track_id> <sequence>2</sequence> <track_name> Green Bubble Raincoated Man</track_name> <track_id>3</track_id> … Web Development javascript xml | |
I have a problem with my project. The project search through the database and displays the results. The problem is that I get question marks instead of GREEK letters (i do not mean rubbish, i mean Greek). Suppose that the problem is not about encoding. I have to find the … | |
Hi all, I am currently doing on this project and i am struck at this section - which is deleting multiple rows from mysql with checkbox. The code i am using is [CODE]<?php $host="localhost"; // Host name $username="root"; // Mysql username $password="root"; // Mysql password $db_name="advert"; // Database name $tbl_name="test_mysql"; … | |
Hi I have a site that I am struggling to get it to do what I need it to! I have managed to add how many photos appear but I cannot add A HREF links around these thumbnails to get a larger picture to appear in browser window. Code is … | |
Hi, I m new in this field. Actually I face a problem, I call a php file from a html file using javascript. I declare a variable in php file,I want to use this variable in the same html file after execution of php file.Please help. Web Development file-system javascript php | |
window.location.href = "updateReg.php?idValue=" + idValue; in the above code, I pass just one value "idValue", can i Pass more than one value like this? Web Development php | |
Okay. I'm a php newbie. I have a form where the user enters their name. I then on the next form I want it to access the database and add 1 to the row named 'number' that matches the persons name that they previously entered. If the name does not … Web Development php | |
take a look on image this is image u can find in every daniweb member's profile now i want the code to create this image can anybody have. thank in advance | |
hi 2 all.... i have a problem with my databind.it always view the wrong data. e.g. := webform1 --view customer details-- when i want to view customer details no1, all my text boxes always shows the other customer details..why is that??plzzzzz help... Web Development asp.net | |
Hello experts!! I have this challenge. I need to display a popup window with some controls on the clicking of a button on a page. Thereafter the contents of these controls (textboxes) on the popup window are to be transfered into a gridview on the parent form. Current status: I … Web Development asp.net javascript | |
Hi all I'm trying to get a jquery progress bar working. What I'd like to know is if there is a specific command I need to include in my php or something I need to add to my php.ini file in order to report back to the progress bar. The … Web Development php | |
i am learning jsp so i wanted to know any body offer free jsp web hosting? thanks Web Development java-jsp | |
I am accessing a 3rd part API for an integration script I'm developing. It has a 3 step process in creating a userid (1. get a token 2. login as admin 3. do admin stuff) I've scripted it via server side script that is triggered on a new user being … | |
i downloaded a js code and it works with its own html index file. However, if i paste the <script>............everything </script> to my index, it doens't work. I tried to put it inside <head> </head> and i also tried inside <body> </body> ... they both don't work. Any suggestion? i … Web Development html-css javascript |
The End.