52,566 Archived Topics
Remove Filter ![]() | |
how can i autofill a username and password into a websiteB username nd password fields when i click a link present in websiteA. The username and password vl b stord in a database. and when i click on the link referring to websiteB, present in websiteA , i shuld get … Web Development php ![]() | |
hi forum i was trying to fetch records from database against id but it gives error Warning: mysql_result() [function.mysql-result]: Unable to jump to row 1 on MySQL result index 3 in C:\xampp\htdocs\regadmin.php on line 52 [code] <?php $dbhandle = mysql_connect('localhost', 'root', ''); if ($dbhandle == false) { die ("Unable to … Web Development php | |
Hi, I'm having a small problem with JS drop down menu. The problem occurs only in IE6 and IE7 (surprisingly in IE8 everything works fine). The problem isn't big though. when you put pointer over drop down in IE, the drop down part loads 2/3 of drop down and in … Web Development javascript | |
hi pals, i want to hide one select box to the web page background color.. i can set the backcolor color for select but it cant hide the dropdown triangle at the end. need help. thanks my code is [code]<script language="javascript"> function Turnover(sel){ sel.style.backgroundColor=sel.options[sel.selectedIndex].value=='yes'?'green':'' } </script> <select onchange="Turnover(this)"> <option value="yes">yes</option> … Web Development php | |
Hello, I wanted to know as to how to pass an object of a class with a number of member variables across aspx pages. Web Development asp.net | |
so i have this code on 3 different pages... and i'm kinda a newb... can u please help. the script is suppose to let someone select a $manufacturer... then from there select a $model... and then finally see the $notes for that model. The script works until it gets to … | |
I am new to javascript, my skills are very limited, so I use the great scripts I see posted on the net by experianced javascript users. I have this script that picks lottery numbers, the numbers it generates are in a little box, but the problem is the box has … Web Development javascript | |
hello friends have a look on my attechments.. the rows are dynamically genrated from database..!! In column Amount user fills values....!!! when user click on add ledger.. a new popup window will open with a form... after adding ledger and closing the popup window...!! the parent page will refresh.. so … Web Development javascript | |
hi, i have developed a shopping cart using php mysql, it has around 50 products in home page its taking too much time to load can anyone suggest how to optimise my database so that it takes less time Web Development php | |
hi guys, im creating this contact form code, apparently its having error as below [Parse error: parse error, unexpected '"' in E:\wwwusr\vhosts\ceriategas-premium.com\httpdocs\test3\send_contact.php on line 6] ive checked the line 6, but i cnt find the errors... do help me please... [code] <?php if (isset($_POST['submit'])) { // Collect variables $subject="$name"; $message1="$coname"; … Web Development php | |
Hi frnds... here i am getting some error...plz check this one... these are the two files regarding my code...[B] thumbnail.php[/B] [CODE]<?php class thumbnail { var $img; function thumbnail($imgfile) { //detect image format $this->img["format"]=ereg_replace(".*\.(.*)$","\\1",$imgfile); $this->img["format"]=strtoupper($this->img["format"]); if (strtoupper($this->img["format"])=="JPG" || strtoupper($this->img["format"])=="JPEG") { //JPEG $this->img["format"]="JPEG"; $this->img["src"] = imagecreatefromjpeg($imgfile); } elseif ($this->img["format"]=="PNG") { //PNG $this->img["format"]="PNG"; … | |
Does anyone have a clue as to how you would impliment lets say : onclick="MM_goToURL('parent','index.htm');return document.MM_returnValue" inside lets say this: <script type="text/javascript" language="JavaScript1.2"> <!-- stm_bm(["tubtehr",430,"","blank.gif",0,"","",0,0,0,0,0,1,0,0,"","",0],this); stm_bp("p0",[0,4,0,0,3,2,0,0,100,"",-2,"",-2,90,0,0,"#000000","#000000","",3,0,0,"#ffffff"]); stm_ai("p0i0",[0," Products ","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#666666",0,"","",3,3,0,0,"#ffffff","#ffffff","#ffffff","#ffffff","8pt Arial","8pt Arial",0,0]); stm_bp("p1",[1,4,0,0,0,3,0,0,100,"progid:DXImageTransform.Microsoft.Zigzag(GridSizeX=16,GridSizeY=16,enabled=0,Duration=0.10)",-2,"",-2,100,2,3,"#000000","#ffffff","",3,1,5,"#666666"]); stm_aix("p1i0","p0i0",[0,"Order Catalog of Courses","","",-1,-1,0,"#","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#000000"]); stm_ai("p1i1",[6,1,"#666666","",0,0,0]); stm_aix("p1i2","p1i0",[0,"AUDIO CDs - coming soon"]); stm_aix("p1i3","p1i1",[]); stm_aix("p1i4","p1i0",[0,"DVDs - coming soon"]); stm_aix("p1i5","p1i1",[]); stm_aix("p1i6","p1i0",[0,"VHS TAPES … Web Development audio javascript microsoft session | |
Hello, I'm struggling with the following issue, and need help with it.. I'm using ASP.NET, and trying to create a primitive webshop. You "buy" services, not products, and you only need to buy them once, so I'd like to filter the cart to add an element only once, no matter … Web Development asp.net | |
I am creating a code in php to read the content of a file and save it in a php array. this is my code: [CODE] <?php $myFile = "isbn.txt"; $fh = fopen($myFile, 'r'); $i=0; $ans=array(); while(!feof($fh)) { $theData = fgets($fh); $url='https://isbndb.com/api/books.xml?access_key=RPGYD5PC&index1=isbn&value1='; $url1=$url.$theData; //echo $url1; $ans[$i]=$url1; $i++; } ?> [/CODE] … Web Development api javascript php xml | |
Hi frnds... here i am confusing a lot..lot...from last 4 days i am struggling here...plz solve this problem aeap with patience.... This is my code for uploading images to my folder and db table...now, all images are blur at my user side...so, i need to create THUMBNAIL images for every … Web Development php | |
Hi! I have a server-side button_Click event handler that generates an Excel file and downloads it to client with Response.AddHeader(...); Response.TransmitFile(); I want to refresh a page after the download is complete, but i don't know how to do it - things like ClientScript.RegisterScriptBlock(..., "alert('hi');"...) don't write anything to the … Web Development asp.net client-server | |
Hi all, im starting to use paypal in my custom cart, i want to use express checkout in my cart. Can anyone tell me how to retrieve paypal token with php script ?? or just give me a simple brief about it, ill try to read paypal tutorial, but its … Web Development php | |
Hi guys I would like some help with this page that I have been working on. I would like to know how I could add comments on page and view the existing ones Here attached is the page and its accompanying pages... Any help is welcome Thank you!!! Web Development php | |
hi, Am a newbie in php, Its been a quite a long time am trying for countdown timer in php , i have 5 different php pages with 5 questions each , when the user starts with the Q.No 1 the timer should start at each and every pages.Can any … Web Development php | |
I am trying to write a page that requires a Pass/Fail for conditions that are done everyday and then posting them to a database. The problem I'm having is the validation of the checkboxes. Find the code below: [code=html]<!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 … | |
Hi there folks! Please could anyone tell me how I can disable the underline of a hyperlink button server control of datagrid and similar controls ? I had used the following css code on the ItemStyle-CssClass which works for traditional hyperlinks to no avail. Thanks for the help:) [CODE] .tablecellhyperlinks … | |
Hi, I have a Button inside of a GridView, inside of another GridView. The higher gv is filled with a dataset, and in the RowCreated event I fill the second gv, and finally, in the RowCreated event (handler added in the RowCreated event of the first gv) of the second … | |
Hi.. gud day.. i'm a beginner in php programming, i just started today and i want to ask a question about the use of the "isset()" function. the code in the .php file comes like this: [code=php]<?php if(isset($_POST["RegisterButton"])) { mysql_connect("localhost","root","") or die (mysql_error()); echo "Connected to mysql"; mysql_select_db("myDatabase") or die … Web Development php | |
Hey all, I had posted this issue previously regarding my Ajax site navigation module not loading correctly. It would load on certain parts of the site and not others. After some research I have discovered that I need to redirect from "www.mydomain.com" and make a call to "mydomain.com" instead. I … Web Development javascript | |
I want to get the contents of a particular file on a the web server, and then echo the contents into a text box on a web page. What should I use. I was thinking file_get_contents would probably be the best bet. Web Development php web-server | |
I need a comments box where users can use a name textbox to input their name and a comments textbox where they can input what they thought about the site or something they need and then a fixed area of text being displayed on the site. An example (Request Layouts): … Web Development asp.net | |
Please help me, i tried to pass information from detailed view and to another detailed view in another page. I put this code in the first page [code=asp.net] protected void ViewRemuneration_Click(object sender, EventArgs e) { //Button ViewRemuneration = (Button)sender; //string sendID = ViewRemuneration.ID; Response.Redirect("Remuneration.aspx?employeeId=" + DetailsView1.SelectedValue); } [/code] and to … | |
Hi , I am using codeigniter for my project.On admin side i am using spaw editor to add content.On user side i have used a code so that for large content to have read more and close link.For normal text no problem what so ever.But suppose in a content we … Web Development php | |
I have a form which allows for the user to pick ZERO or MANY items. I was hoping when I SUBMIT the form, all the values would update in the field. Here is the form code: [code=html]<tr> <td><div align="right">Instruments:</div></td> <td width="116" align="center" valign="middle"> <div align="left"> <select name="Instrument" size="5" multiple="multiple" id="Instrument"> … | |
Hi there I have programming background, but I am very much new to the world of PHP. Can anybody tell Which software(s) I should use to write and compile code in PHP. Give me some basic knowledge to start practically with PHP. Web Development php | |
Hey all, Got a tricky little problem here: I wrote a bookmarklet and a php script to email the current url of the page I am on to myself. The bookmarklet looks like this: [code]javascript: var url = window.location.href; var user = 'myemail@email.com';window.open(myserver.com/mailurl.php?url=" + url + "&user="+ user);[/code] The php … Web Development php | |
![]() | what do i need to know/use to authenticate users on my login page based upon their gmail/yahoo/hotmail/msn etc. username and password. i.e if they have a valid gmail username and password, they can acess my site..... Web Development php |
I need to show a message as a label whenever user selecct To year less than from year. I have created a label "lblYrChk" --doesn't work . what i am doing wrong. Pl. help. [code=asp.net] <asp:ObjectDataSource ID="Srcfmyr" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="HITS.App_code.stateTableAdapters.SOURCE_YEAR_VWTableAdapter"> <SelectParameters> <asp:ControlParameter ControlID="RBl1" Name="myType" PropertyName="SelectedValue" Type="String" DefaultValue="G" /> </SelectParameters> … Web Development asp.net | |
Hello In my asp page I successfully extracted records from my database. The records are written in Hebrew. I used <% @ codepage=65001 %> and <% Response.Charset= "utf-8" and the display worked ok inside HTML. Inside my asp code i joined all the values to one string using "x = … Web Development display javascript | |
There is this text file with around 80,000 words, all in lower case, in alphabetical order. How do I read these words into associated arrays? I mean, words starting with 'a' go into $words['a'], those with 'b' into $words['b'] and so on.. The array should become something like [I]$words['a'][0], $words['a'][1], … Web Development php | |
On [URL="http://www.oxonacf.org.uk/test.aspx"]this test page[/URL] I intend that if you press the Enter key with focus in TextBox1, Button1_Click will fire, whereas in TextBox2, Button2_Click will fire. This is not working in IE8 or FF3.5. Any ideas? [code]<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" … | |
So I'd like to get rid of the insecure warning I get in IE6-8 whenever I'm on an HTTPS page like this one: [url]https://checkout.netsuite.com/s.nl/c.659197/n.2/sc.37/.f?login=T&reset=T[/url] I can't tell what's not loading, but I'm assuming the two errors I got in Companion.JS v0.5 in IE7 are clues: 1) 'jQuery' is undefined (line … Web Development javascript javascript-jquery | |
Helo everyone, Image a website on server 'A' using windows authentication. A user 'Bart' has access to the website and also full access (read, write, delete, execute) on a folder located on server 'B' (\\B\data for example). Will Bart be able to upload files to that folder thru the website … Web Development asp.net windows-server | |
Hello I have a script which uses CURL to create a database using CPANEL. But it is giving the following error message: [code] Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/aquarius/public_html/createdb/includes/ecurl.class.php on line 35 [/code] It is not an issue with … | |
[code=html]<html> <body> <script type="text/javascript"> var str = "r'i`t\"291134837u"; var invalidChar = new RegExp("[',\",\`]","gi"); document.write(str.match(invalidChar)); </script> </body> </html>[/code] I just want my regular expression to match a backslash. Thats all. Tried giving [\\]. Aint working. Tried[\x5c] not working. But this hexadecimal character match is working for all the other characters. Its … Web Development javascript | |
I have a wizard control with two steps: Summary and Details. Within Summary, I have a gridview. When I click on the gridview column's header to sort the data, for some reason I am redirected to the next, Details wizard step. Could anybody please tell me why it happens and … Web Development asp.net | |
this thing is being seen on many websites...! while page is loading.. user see a page loading Icon until the page loads..!!! i dont knw wht exactly it is called.?? i hope u understand what i mean..!! kindly provide some links or script so that i can us e it … Web Development javascript | |
Hi, this is my problem: 1. There are two div elements in my page. [COLOR="Red"]2. When the page loads only one is supposed to be visible.(This is where i'm getting stuck[/COLOR]) 3. There are a series of checkboxes. 4. On clicking on one particular checkbox the first div element must … Web Development javascript | |
Hi All, My requirement is to develop an editor which should support XML,PHP,Python,DAT and normal file formats. I am trying to get information like: is there any free editor developed in PHP or some other langauage is available which can be customized or any idea to go ahead Regards, -Manoranjan | |
Could some one please help me with the understanding how to pass the values to a drop downlist? What i am tring to do is pass a parameter (@Likethis) from a selected item in a list box or a dropdown to a dropdown or a list box. I am assuming … Web Development asp.net | |
Good Day All After Binding my Grid with 3 Columns , i found out that it Duplicates the Columns Twice. like this [code] Activity || Staff Member || Cycles || Activity || Staff Member || Cycles || Activity || Staff Member || Cycles =============================================================================== C[1] || DR Vuyiswa || Year … Web Development asp.net | |
hi every body i am using three dropdownlist for search criteria , the problem is when dropdown idex is selected the dropdown itself will disappear,because the page is getting refereshed every time when i select dropdown thwe index value will be 1. pls help me out. i attached the code … | |
I have a query that retrieves records from a table: [CODE] <?php $query = "select * FROM Ev_AvVolunteers where id_Event='$id_Event' ORDER BY Name"; $results = mysql_query($query) or die("Error performing query"); ?> [/CODE] It is sorting by Name now BUT I want a different sort. There is another field called "Instrument" … Web Development php | |
Hello. Im getting this error on a product page on my website Quote [QUOTE] 'Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/supremew/public_html/catalog/osc/products_new.php on line 89'[/QUOTE] [code] ?> <tr> <td width="<?php echo SMALL_IMAGE_WIDTH + 10; ?>" valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) … | |
Hi all i have checkboxlist populated from a table in database.now how can i store only checked items to database. |
The End.