52,566 Archived Topics
Remove Filter ![]() | |
for some reason i am getting an error with my query statements here is my code [CODE]if ($_GET['mode'] == 'edit') { $c=$_GET['coursecode']; echo"$c"; // editing an existing entity // check for value of id if (!$_GET['coursecode']) { echo "error: no coursecode specified, <a href=\"{$_SERVER['PHP_SELF']}\">click here to continue</a>"; exit; } if … Web Development php | |
hi guys, just wanna ask is there a good software which can help me plot data or draw a line graph in php? these data are dynamic, and will come from the database..just a simple line graph will do. thanks thanks. | |
Is web.config file is must to execute any asp.net application if we are maintaining connection strings on the page itself. Web Development asp.net | |
Hello, I'm trying to let users know how many times there personal page is viewed. Here is some code. [CODE] $colname_Recordset1 = "-1"; if (isset($_GET['user_name'])) { $colname_Recordset1 = $_GET['user_name']; } mysql_query("UPDATE content SET counter = counter + 1 WHERE user_name = $colname_Recordset1");[/CODE] It works if I remove the WHERE clause … Web Development php | |
Hi, I am trying to create a website where the visitor can choose one of two languages when first arriving at the website. Then I want that choice to be saved throughout the whole visit without the visitor having to log in. I've always felt that cookies are a lame … Web Development javascript session | |
Hi anybody has scripts for detecting users' country based on ip? | |
hi all, I wonder if anyone can help me, first of all im new to asp.net and am trying to learn it. Right, i have developed a website locally which works fine, but when uploading it to my host i am receiving a runtime error on the pages that interact … Web Development asp.net web-server | |
Is the form below a valid method of changing the id of an XHTML element, specifically the one actually being referenced? It does not seem to work for me. [CODE]document.getElementById("Original_Name").setAttribute("id", "New_name");[/CODE] Web Development javascript | |
This is how my session reads: [CODE] Array ( [pstloggedin] => blah [userID] => blah [email] => blah [fname] => blah [lname] => blah [phone] => blah [cart] => Array ( [0] => Array ( [team] => 2137 [tournament] => 24577 [gatefee] => yes [cost] => 800 [sdate] => 2010-06-03 … | |
Hi! I am testing how to make an easy chat engine [URL="http://erlendhl.ueuo.com/c/ExternalChat.html"]here[/URL]. First I used[ICODE]xmlhttp.open("GET",url+"?F="+FILE,[B]false[/B]);[/ICODE], but I noticed that it was very bad to use false, because then, every 2 seconds, the page stops working. (like you can't do anything for like 0.5 sec) So I tried to use [B]true[/B], … Web Development javascript | |
Can I access a web service via software? I'm writing a client – server application and I wish to upload the server part as a web a service so I could access it from any computer while the application is stored on some server, how can I do it? Web Development asp client-server web-server | |
Hello Friends Can anyone tell me where to find php.ini in my cpanel? Thanks | |
Shall i know if there is implementation of gridview in php as it is in .net please help me Web Development php ![]() | |
i am trying to programatically change the page culture and uiculture ( c# ), my webpage needs to have 2 languages and i have prepaired the right resource files ( .resx) and they are functional since when i try writing in the web.config culture="ar-LB" it works fine now i understand … Web Development asp.net | |
[CODE][/CODE]Can someone plese have a look at this for me and tell me why @userid is giving me a scaler error.... [code] Protected Sub recordcount_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles recordcount.Click Dim con As New Data.SqlClient.SqlConnection() con.ConnectionString = ConfigurationManager.ConnectionStrings()("ConnectionString").ConnectionString Dim cmd As New Data.SqlClient.SqlCommand() cmd.CommandText = "select … Web Development asp.net | |
Hi, I'm trying to get my program to write the content of textbox1 into a textfile specified at a particular location. However I get an error when trying to do so. My code: [code] protected void btnSave_Click(object sender, EventArgs e) { //Write to fileupload location System.IO.StreamWriter StreamWriter1 = new System.IO.StreamWriter(FileUpload1.PostedFile.FileName); … Web Development asp.net | |
In php mail() function, how can I send attachments? I didn't find parameter to do this. any help will be appreciated. Web Development php | |
hi all i just have this error when i import my backup database : You attempted to load file with unsupported compression (application/zip). Either support for it is not implemented or disabled by your configuration. one week later i export my database as zip file by phpMyadmin but when i … Web Development php | |
hi,im having a problem with my code.im trying to edit data that im retrieving from my database tables.but im unable to submit the data after editing it.my code is shown below [code=php] <?php require_once "../inc/functions.php"; require_once "../inc/vars.inc.php"; sessionCheck(); session_start(); $old_sessionid = session_id(); //i've added these lines session_regenerate_id(); //i've added these … Web Development php | |
Hi All, Im having some trouble with creating PDF's. I have researched and found a boat load of scripts, but non work as I dont have a library installed. That is my question.... How do you install a pdf library? I have tried PDFLib but when i run a script … | |
Hi guys, I have created a php file, which will takes a filename as input parameter, It will just check the extension of that filename and displays the file to the browser using phpscript. for this I used [code=php] header('Content-Disposition: inline; filename='.$filename); [/code] Everything working fine for me, but I … | |
Hi everyone, I am using the Struts 1 framework to develop a web application for my FYP. So far I have been able to access the properties file from all jsp in my application with example such as the following code. [CODE]<bean:message key="welcome.title"/>[/CODE] I want to have the entire web … Web Development file-system java java-jsp | |
help me to set value in drop down .I want to fetch two ids 1.$row[0]. 2.$row[3] from a view and selected is not set. [CODE]<td colspan='2'><b>Select a Publication and Year</b><br> <select name="publication_name" id="publication_name" onchange="show_year(this.value);"> <?php $get_publn_name=mysql_query("SELECT anPublicationId,sPublicationName,sPublicationShortName,anYearId,nPublicationYear FROM view_publication_year order by nPublicationYear"); ?> <option value=0>-- Select Publication --</option> <?php while($row=mysql_fetch_row($get_publn_name)) … Web Development php | |
[COLOR="grey"]Hi all, I've been trying to solve this problem for like 3 hours, but couldn't solve it, so any help would be appreciated.[/COLOR] I want to perform 2 actions on 1 form and on 1 submit. address1 - i only have to send datas address2 - i have to send … Web Development javascript | |
[CODE=AJAX] function update(value1) { doAjax("behind_scan.php" , "id="+value1); } function doAjax(url , str ) { xmlhttp=GetXmlHttpObject(); if (xmlhttp==null) { alert ("Browser does not support HTTP Request"); return; } url=url+"?"+str; xmlhttp.onreadystatechange=stateChanged; xmlhttp.open("GET",url,true); xmlhttp.send(null); } function stateChanged() { if (xmlhttp.readyState==4) { //document.getElementById("txtHint").innerHTML=xmlhttp.responseText; //alert(xmlhttp.responseText) document.forms.myform.scanner.value = ""; document.forms.myform.scanner.focus(); } } function GetXmlHttpObject() { if … Web Development javascript | |
Hi all, bellow i m writing the code snippet which gives the error as Microsoft JScript runtime error: Object doesn't support this property or method, what to do.I m trying for jqgrid in asp.net with MVC without creating Helper. [code] <script type="text/javascript"> jQuery(document).ready(function() { jQuery("#list").jqGrid({ url:'/jqGrid/GridData/', datatype: 'json', mtype: 'GET', … Web Development asp asp.net javascript-jquery json | |
hi,i thought i'd fixed this prb,but i have'nt.i have a edit form with a drop down.i want the drop down to show the value that is saved in the databse along with the other values.ie,when i click the edit form,the value in the drop down that is visible should be … Web Development php | |
hello all, i am using script functions for tooltip. [code=JavaScript]function showTip(js_element) { var str_selectedElement=""; var str_tipElement=document.getElementById(js_element); var str_comboElement=document.all('cmd_combo'); for(var i=0;i<str_comboElement.length;i++) { if(str_comboElement[i].selected) { str_selectedElement=str_comboElement[i].text; break; } } str_tipElement.innerHTML=str_selectedElement; }[/code] This function is giving me tooltip on clicking/selecting items from dropdown list.i want tooltip according to my mouse movement over the … Web Development javascript | |
Hell everyone, I have a problem with joomla urls which i am trying to make user friendly. so far with mod rewrite i have managed to come up with a url like this; [url]http://www.edulinksuganda.com/component/option,com_artband/task,details/id,59184/Itemid,75/idd,19/[/url]. but i want it to be something like: [url]http://www.edulinksuganda.com/componentname/schools/schoolname[/url]. Please help me rectify this problem. i … Web Development php | |
Hi all, I use gridview to display the data in Item table. The edit and delete button works fine in the gridview initially. When I search for particular records and display in the grid the edit and delete button does not work. [CODE] <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource2" AutoGenerateDeleteButton="True" AutoGenerateEditButton="True" … Web Development asp.net | |
hello everyone i m inserting data from text file into database. .......but the data into the text file is not inserted into database only blank record display in the database.......... my text file is like this: james flower 22 may be i m not giving space delimiter correct... plz help … Web Development file-system php | |
Hi Guys , I m developing one website for my LAN and working on Linux. I m getting Following Errors after loading or refreshing my page:: [B][Tue Feb 23 16:58:51 2010] [error] [client 192.168.2.147] PHP Notice: Undefined index: parent_url in /var/www/html/pastebin/layout.php on line 320, referer: [url]http://pastebin.geodesic.net/2[/url] [Tue Feb 23 16:58:51 … Web Development advertising html-css php ruby web-browser xml | |
Hi all,I am trying for validation using regular expression for Indian mobile number. Simply i have tried for"^[8,9]{1}[0-9]{9}$" and some others also but it is not working. I want regular expression for: 10 digit mobile number starts with 8 or 9 Web Development javascript | |
Hello Everyone, I would like to ask about AJAX. I am a new web developer with quite good knowledge of html, ASP and basic of ASP.NET. But i don't have any knowledge about ajax .i saw many ajax driven websites Can i please know what would be a normal word … Web Development asp.net javascript | |
My JSP web page has many checkboxes. What is web page source code look like when clicking one checkbox will submit only one checkbox value (not the whole form) immediately? i.e. toggling one checkbox will send the info that only that checkbox is toggled. This does not work because clicking … Web Development javascript | |
hi, i m asha bhatt. plz look at this my code i have declare this first :- [code] CheckBox chkList1; protected void Page_Load(object sender, EventArgs e) { } protected void NextQuestionButton_Click(object sender, EventArgs e) { createcheckbox(); } public void createcheckbox() { Response.Write("asha"); chkList1 = new CheckBox(); chkList1.Text = "strCheckboxText"; chkList1.ID … | |
hi, I'm working on an admin page for a department in my school. I have a database of reservations for rooms in which each event has a distinct ID called "confID" Each event or confID often has multiple dates (dateOf). I need to list out the reservations for the admin … Web Development coldfusion | |
Every page in the system is grabbed into index.php. For each page i'd like the title to change according to the page it's on, this can be set manually within each page we want to send. My question is what would be the most effective method of updating the title … Web Development php | |
i am having some problems using the get function. i aim using it in a href location. while the information is displayed in the url i am just having some problems extracting the required information. here is my code below this is the code for my href location [CODE]echo"<tr><td>$row[0]</td><td>$row[1]</td><td><a href='myform.php?,mode=edit;coursecode=$row[0]'>edit</a></td</tr>";[/CODE] … Web Development php | |
Hi i am just wandering if anyone knows how to put a trail login to a php mysql driven website. for example when you find a website usually providing a service, it requires payment to sign up to use. How would you allow users to sign up for say 30days. … Web Development php ![]() | |
Hey, I've come to a bit of a problem - I'm updating a website for users to upload their own games, animations ("toons") and artwork. The trouble is, I've made separate tables for each one, each with very similar structure What I want to do is show, say, the first … Web Development data-structure mysql php | |
I have been aroundsites a while and I have learnt that ajax isn't that dynamic. I tried to use iframes but got caught with cross frame AJAX and PHP with parent page. [URL="http://www.daniweb.com/forums/thread262323.html"]http://www.daniweb.com/forums/thread262323.html[/URL] Which no one answered on, so I went to AJAX. I call a php form for users … Web Development javascript | |
I'm relatively new to session variables, and have been trying to use them in the following way: [CODE]session_start(); $daddr1=$_SESSION["daddr1"]; $daddr2=$_SESSION["daddr2"]; $daddr3=$_SESSION["daddr3"]; $daddr4=$_SESSION["daddr4"]; $daddr5=$_SESSION["daddr5"]; $iaddr1=$_SESSION["iaddr1"]; $iaddr2=$_SESSION["iaddr2"]; $iaddr3=$_SESSION["iaddr3"]; $iaddr4=$_SESSION["iaddr4"]; $iaddr5=$_SESSION["iaddr5"]; $notes=$_SESSION["notes"]; $purch=$_SESSION["purch"]; echo "<form name='form1' action='view_order.php' method='get'>"; echo "<table border='0' width='100%'>"; echo "<tr align='center'>"; echo "<td width='16%'> </td>"; echo "<td width='16%'>Your purchase … | |
i want to create static website for my project using wordpress anybody guide me plz or give me nice web site to learn | |
Does anyone know why these event codes run twice? E.g. I am using a cookie to keep track of [Ctrl] + [Shift] + [F] by incrementing a variable once everytime it is used. However the code for it runs twice and thus the variable is never odd as it always … Web Development javascript session | |
hello Sir, I can not able to store file content into byte variable. I have do below code. aspx.cs page: [CODE] [B]code on button click[/B] DirectoryInfo dInfo; FileInfo[] FilesList; byte[] bytecontent; dInfo = new DirectoryInfo(Server.MapPath("upload")); FilesList = dInfo.GetFiles(); if (FilesList.Length>0) { files = new string[FilesList.Length]; foreach (FileInfo fi in FilesList) … Web Development asp.net | |
Hi All, I'm trying to implement MVC pattern (Note: not by using ASP.net MVC framework). I'm not able to do view selection based on http request processing.I have added custom tag in web.config for URL mapping like this: [code] <controller.mapping> <entries> <entry key="/view/ActualPage1.aspx" url="ActualPage1.aspx" /> <entry key="/view/ActualPage2.aspx" url="ActualPage2.aspx" /> </entries> … Web Development asp.net | |
Hi, I'm trying to use the asp.net Input (file) with my program - i've placed it ont my program and I can click browse and it locates the file I want. Eg: "C:\Users\Name\Desktop\test.rtf" However, I then want to have it so that when I click a 'Submit' button it reads … | |
Hello all, I have a set of IF ELSE validation code ECHOING onto a php web page through a SWITCH staement. Everything works fine all error messages show up correctly. The problem is, after going through 3 conditons it starts to allow entry into my DB(mysql) all other entries goes … | |
Hi Folks, How we can check the current date is in between the first week of the current month and last week of the last month Web Development asp.net |
The End.