- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 18
- Posts with Upvotes
- 16
- Upvoting Members
- 18
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Solution Architect
Re: Hi, I am not sure what is stored in your database, I am assuming only image name is stored there. I have tested this any worked fine for me, <?php //Retrieves data from MySQL mysql_connect("localhost", "root", "", "dawat") or die ("Could not save image name Error: " . mysql_error()); mysql_select_db("dawat") … | |
Re: Hi, you can create function like this. <?php ob_start(); session_start(); include "connection.php"; function loginFunc($username, $password){ $result = mysql_query("SELECT * FROM new WHERE Email='" . $username . "' and Password = '" . $password . "'"); $row = mysql_fetch_array($result); if(is_array($row)){ $_SESSION["ID"] = $row['ID']; $_SESSION["Email"] = $row['Email']; $_SESSION["Title"] = $row['Title']; } else … | |
Re: Hi there, Try This Code this May Help you ;) [B]CSS:[/B] [CODE]<style type="text/css"> .links { font-family:Verdana, Arial, Helvetica, sans-serif; display:block; /*This Cover Full TD */ background:url(link.png) center top no-repeat; /*This Will Set the Link background */ height:25px; /*This Will Make Fixes Size Link (Use Image height)*/ width:100px; /*This Will Make … | |
Re: To edit an existing HTML page, add the WMODE parameters to the HTML code. 1. Add the following parameter to the OBJECT tag: <param name="wmode" value="transparent"> 2. Add the following parameter to the EMBED tag: wmode="transparent" :cool: ;) This Will Work With All Browsers :idea: Rahul [URL=http://www.katarey.com]http://www.katarey.com[/URL] | |
Re: Hi there, first i am agree with tgreer, well but you can use JavaScript to do this functionality, [B]here the is Code:[/B] [B]page.html :[/B] [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Random Css Using Javascript</title> <script language="JavaScript" type="text/javascript" src="randomCss.js"></script> </head> … | |
Re: Hi, I hope this code may help you to get the solution you want [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Calc</title> <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script> <script type="text/javascript"> <!-- $(document).ready(function() { $('#calculateTotal').click(function() { var shirtsPrice = 10.50, perColorPrice = 5.99; var … | |
Re: [QUOTE=unamoo;268553]Hi there, I was wondering if anyone could help me. I need to build a website which will display a streaming window when a link is clicked and stream video files saved in a different location. I am a little clueless about multimedia and web development so any help or … | |
Re: Hi There, well there is not any specific way to remove the client side history, but you can use this function, use this function body onload Write in <head> [code] <script language="JavaScript"><!-- function DisablingBackFunctionality() { var URL; var i ; var QryStrValue; URL=window.location.href ; i=URL.indexOf("?"); QryStrValue=URL.substring(i+1); if (QryStrValue!='X') { window.location=URL … | |
Re: Hi, download this file and place with html page [QUOTE][url]http://www.xs4all.nl/~peterned/htc/csshover3.htc[/url][/QUOTE] and add this style in css [code=css] body { behavior: url("csshover3.htc"); } [/code] you menu will work in IE and FireFox hope this will help you Rahul Dev Katarey | |
Re: you can use "onfocus" [code]<script language="javascript"> <!-- function clearinputText() { document.frm.name.value= ""; } //--> </script>[/code] [HTML]<input type="text" name="name" value="Click here to clear text" onfocus="clearinputText();">[/HTML] but this will clear the text every time when you get focus on this field, Its a simple example only best regards Rahul | |
Hello Friends, I have developed a windows application using C#, its installed on [code]C:/program files/application folder/application.exe[/code] I have not used Data base so i have used files (CSV/TXT) for storing data, there is many types of files generated by application and some application setting variables are also stored in a … | |
Re: Hi, you may use JFileHelpers [url]http://www.jfilehelpers.com[/url] this might useful Thanks Rahul Dev Katarey | |
Re: Hi there, I hope this code will help you! [code] <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% database = Server.MapPath("/files.mdb") set conn=Server.CreateObject("ADODB.Connection") conn.Provider="Microsoft.Jet.OLEDB.4.0" conn.Open database SQL = "SELECT * FROM Files WHERE FileID = 3" Set Rs = conn.Execute(SQL) Response.BinaryWrite Rs("BinaryData").GetChunk(Rs("BinaryData").ActualSize) %> [/code] Best regards, Rahul Dev | |
Hi, I have developed a web application using PHP + MySQL on Apache 2.2.17 what should be the recommended server specification application if +10000 users access at same time. I am looking for recommendation on these points Server specifications: Software: • Server Type: Apache/2.0.52 (Red Hat) • Apache 2.2.x • … | |
Re: [quote]picture i need it in the circle area how can i get it there and what do i need to do?[/quote] Please clearify what is the quetion is :?: | |
Re: Hi ejr74, I tried to run the code and its working here no window is opening. what actually the problem is? Rahul | |
Re: what is the Code in your file? These Articles may help you [url]http://support.microsoft.com/kb/251254[/url] [url]http://tutorials.aspfaq.com/8000xxxxx-errors/80004005-errors.html[/url] [url]http://www.fullrevolution.com/kb.asp?action=viewarticle&categoryID=14&articleID=43[/url] | |
Re: [QUOTE=eihd;238101]I want my drop down menu to display over a flash. It's something like [URL="http://www.sothink.com/campaigns/winselect.php3"]this[/URL] . What methods do you use to solve this problem? Any help will be appreciated much.[/QUOTE] [url]http://www.daniweb.com/techtalkforums/thread15188.html[/url] hi To edit an existing HTML page, add the WMODE parameters to the HTML code. 1. Add the … | |
Re: Hi there, Well I am not a good tutorial writer but I am trying to explain how to make the connection with database (Ms Access) using asp, [B]Assumptions: [/B] Running IIS 6 First here the directory plans: [B]Folders:[/B] Websiteroot Includes Database Websiteroot: - this folder will contain the full website … | |
Re: [QUOTE=zafs;269731]Can anybody pls help.. I need the script to upload image in ASP... Thanks in advance...[/QUOTE] you can try this [url]http://www.asp101.com/articles/jacob/scriptupload.asp[/url] or Search on google, there is some free scripts on web, or find a pro. to do this ;) Regards, Rahul | |
Re: Graphix is right! and you can use something like jQuery, which makes JS programming easier. Something like: [code] $(document).ready(function(){ // Your code here }); [/code] | |
Re: try this JavaScript [CODE] <script type="text/javascript"> function sendform(){ //verification script. // if ((document.getElementById('variable1').value=="") || (document.getElementById('variable2').value=="") || (document.getElementById('variable3').value=="")) { //Update the sending status. document.getElementById('statusindicator').value='Please fill in all forms.'; alert("Please fill in all forms. Thanks."); return false; } else { //Update the sending status. document.getElementById('statusindicator').value='Sending...Please Wait.'; document.getElementById('frm').submit(); } } </script> [/CODE] HTML … | |
Re: see this it may help you [url]http://msdn.microsoft.com/en-us/library/cc793139%28SQL.90%29.aspx[/url] | |
Re: I am not sure what actually you wanna do but hope fully this may help, 1st problem: localhost is not in "" (quots) that should be like this mysql_connect("localhost",$username,$password); 2nd: <input name = "date" value="<? echo $row['date']; ?>" type="text" /> is out side of loop so that $row have no … | |
Re: you can use QueryString | |
Re: Yes display:block; will solve your problem you may use this code :) [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Navigation</title> <style> <!-- body{ background:#000; } div#Navigation{ width:150px; } div#Navigation ul{ list-style:none; margin:5px 0; padding:0; } div#Navigation ul li{ display:block; border-style: … | |
Re: Hi, Just Add [CODE]multiple="multiple" [/CODE] in Select tag and you can select multiple selections in it and for make more easy to select more options add [CODE] size="4" [/CODE] now your code should look like this [CODE]<form name="form1" method="post" action=""> <label> <select name="service" id="service" multiple="multiple" size="4"> <option value="service1">service 1</option> <option … | |
Re: [B]Paging Recordsets with ASP JavaScript[/B] Hi there, Here the code for Paging RecordSets with ASP JavaScript, I Hope this will be useful for you and others :) [CODE]<%@LANGUAGE="JAVASCRIPT" CODEPAGE="1252"%> <!--#include file="adojavas.inc" --> <% var thisPage = new String(Request.QueryString("thisPage")) var isthisPage = (thisPage != "" && String(Request.QueryString("thisPage")) != "undefined"); if (isthisPage … | |
Re: I don't know its useful for you or not but you can find here, [url]http://www.dynamicdrive.com/dynamicindex4/preloadimage.htm[/url] [url]http://javascript.internet.com/page-details/percentage-progress-bar.html[/url] Regards, Rahul | |
Re: Hi there, you have made mistake here [CODE] document.getElementById('contentbox a').style.color= "#d05048"[/CODE] that should look like [CODE] document.getElementById('contentbox').style.color= "#d05048"[/CODE] Example: CSS: [CODE] <style type="text/css"> #contentbox, #contentbox a{ font-weight: bold; color: #c8a468; cursor: pointer; } </style> [/CODE] JavaScript: [CODE] <script type="text/javascript"> function changeColor(){ var divID = document.getElementById('contentbox'); divID.style.color= "#d05048"; } </script> [/CODE] … |