52,566 Archived Topics
Remove Filter ![]() | |
Hi, I use [inlinecode]header("Cache-Control: private");[/inlinecode] to prevent page expiry problem. It is to make browser’s “Back” button work otherwise; page expires if user hits “Back” button to go back and see previous pages. I have 3 steps buying process. 1. Delivery address selection from radio boxes 2. Creadit card details … Web Development php | |
Hi all I'm used to programming in Java, which does support method overloading. So when starting to use PHP, I quickly found that this was not supported in PHP. But why and how is this supported with "system methods" (I don't know if that name is correct) like, for example, … Web Development php | |
Dear All,, I have a search query for searching 40 fields that are belonging to 5 different tables.. I have used INNER JOIN for this purpose... I have stored the search conditions into a $string variable and the result is getting correctly.. Here comes the problem.... I want to paginate … Web Development microsoft-office php windows-server | |
Hello Guys, i am currently using my localserver dont have a hosting where i can test it, so i would like to know if this basic idea will work or not. Here is the code do you think if i enter the ID it will get the email and then … | |
Hello, I have this application that would let a user register (I used an ASP.NET control for that one), and then log in (I do not use ASP.NET control for the login, I am making it myself). When an user register, I am sending their data to an Oracle database, … | |
I'm trying to create an image gallery/menu with text info. I used CSS to create a gallery so that when you roll over one of the thumbnails, a larger image and new text displays above (basically by changing the content from 1px wide and high, so it's 'invisible', to 479px … Web Development image javascript | |
hi guys i have seen this new line of code and surprised! mysql_connect('localhost','root','') or testFun(); i know that this is used in db connections i want to know all the applications of 'or' guys plz help me Web Development php | |
Hi, I'm new at javascript. I'm looking for help with the code below. I am trying to create a nav bar with opening and closing divs (vertical tab menu). However I'd like to have the ability for the user not to have to close the div in order to select … Web Development javascript | |
okay guys ive got this page in which i want to verify the key that the user inputs with the key in my sql database, and then it updates a row called user_okay when i click on the enter button. [code] <?php session_start(); include ('dbc.php'); //if ($_POST['Submit']=='Enter') // { $keys … Web Development php | |
From what I can gather on the internet this is a fairly easy piece of PHP script but success is eluding me. Maybe im missing something really small like punctuation or an uppercase letter or maybe its something else. Im wondering would it be possible that theres conflict between java … | |
Hi all i need some help with my code. i have a page where i want to update a row 'key' in my table users with a new value that i have generated. dbc.php [code] <?php $dbname = 'phplogin'; $link = mysql_connect("localhost","root","") or die("Couldn't make connection."); $db = mysql_select_db($dbname, $link) … | |
Hi, We have developed a website, viz., [url]http://www.plussizebeauties.com[/url] for plus size women. This website is viewed best in Mozilla Firefox. But when you view this in IE, the top alignment is not coming accurately. Could anyone suggest reasons for this, so that I could correct my website. Thanks in advance … Web Development php | |
I have little experience with php & javascript hybrid pages. A friend has a webform php page that has the html form code at the bottom. The form works well but I want to take the first input text field and have it displayed in a <div> on the page … Web Development javascript | |
[CODE] <?php include 'dbc.php'; $query = "SELECT * FROM em.tutor"; $result = mysql_query($query); while($row = mysql_fetch_array($result, MYSQL_NUM)) { echo "Name :{$row[0]} <br>" . "Subject : {$row[1]} <br>" . "Message : {$row[2]} <br><br>". "Message1 : {$row[3]} <br><br>". "Message2 : {$row[4]} <br><br>". "Message3 : {$row[5]} <br><br>". "Message : {$row[6]} <br><br>". "Message : … | |
hello frnds,I want to prevent the page from refreshing...I want that only some portion of page is refreshed..not full page,,Is it possible?? Which control i use for dat..I want just the hints..not the code... Web Development asp.net | |
test_imagedb_create.php [CODE] <? $dbserver = "localhost"; $dbuser = "root"; $dbpass = ""; $dbname = "em"; $dbconn = @mysql_connect($dbserver,$dbuser,$dbpass) or exit("SERVER Unavailable"); @mysql_select_db($dbname,$dbconn) or exit("DB Unavailable"); $sql = "SELECT image_type,image FROM em.testblob WHERE id =". $_GET["id"]; $result = @mysql_query($sql,$dbconn) or exit("QUERY FAILED!"); $contenttype = @mysql_result($result,0,"imgtype"); $image = @mysql_result($result,0,"imgdata"); header("Content-type: $contenttype"); echo … | |
hi i need a little help pls. im trying to write a Black Jack game with JS(home assignement) can someone pls tell me why when i click on the img, the number 4000 doesnt change? here is the code [code] <html> <head> <title>Black Jack</title> <Script Language="JavaScript"> function hit(f) { var … Web Development javascript | |
here i am again.. i have to create a map that will show our city.. the viewer can search all the school in our city.. what is the best software or programming i will use.. or what is the best thing to do this.. in flash.. it will be more … Web Development api asp.net flash google-api | |
I m a freshman about JSP.Now I have a quesstion about sql. first I made a class.Code is [code]public class DataBase { protected String url = "jdbc:mysql://localhost:3306/lab?user=root&password=root&" + "useUnicode=true&characterEncoding=utf-8"; public Connection conn = null; public DataBase() { try { Class.forName("com.mysql.jdbc.Driver"); } catch (java.lang.ClassNotFoundException e) { System.out.println(e.getMessage()); } try { conn … | |
I created a login and registration page with the following code, but it seems to have a syntax error at the command prompt "die ()", and I'm not sure as to how to fix it? Name the table "dbUsers." It will need 4 fields: Name Type Addition id int(10) Primary … | |
I'm trying to use a local HTML file as a SOAP client. I'm new to this, but I believe that leaves JavaScript or a normal POST form as options. I've gotten some responses from simple web services using [URL="http://www.ibm.com/developerworks/webservices/library/ws-wsajax/"]some code from IBM[/URL], but I keep getting errors when trying to … Web Development html-css javascript xml | |
Hi guys, Pretty new to all this. Not really my field of expertise but i am trying to download data from a website in XML using SOAP. I know the msg that i need to send to request the data but not sure how or where to send this from. … Web Development visual-basic xml | |
hi i m just start my final project and i made web portal which is just like yahoo and i dont know abt web services and how implement it in c# and asp.net | |
I want to sort the result of a while loop alphabetically, here is the code. I am new at this and I tried everything I can think of, but I am still clueless. Thanks for anyone who could help. [code=php] <?php while (loop_collections()): ?> <div class="collection"> <h2><?php echo link_to_collection(); ?></h2> … Web Development php | |
i have created a simple form (well with the help of a book ). i am able to process the data and display it . But i am[B]not able to send the same message to my mail ID[/B]. i am using WAMP server. i am running the script from my … | |
Hi all, I am working on an application.In which i am using calendar. In this page i am using calendar for Travel date and other for Return Date. But i want that if i will select past date from calendar then is should give alert that we can select past … Web Development javascript | |
im working on my thesis right now... i need to create a map locator.. just like this one [url]http://www.map.wisc.edu/[/url] any idea how to do this? i read that it can be done in asp.net look alike program thanks for the help.. | |
I am completely new to PHP and am doing online tutorials to learn. In this code: [CODE]<?php $cars_on_lot = 10; print "We have $cars_on_lot cars.\n "; print "We got another new car.\n "; $cars_on_lot++; print "Now we have $cars_on_lot cars!\n<p>"; print '<b>$cars_on_lot++</b> is the same to PHP as <b>$cars_on_lot + … Web Development php | |
Hello, I have a series of variables ending with a number and am trying (unsuccesfuly) to put them in a table using For Next loop. the code looks like this: [CODE] <% v1 = "text_1" v2 = "text_2" v3 = "text_3" %> <table border="1"> <% For x = 1 To … Web Development asp | |
Hello all, The following captcha script works fine, but only with $name, $email and $message. As you can see I have added $bname, $add, $postcode etc. My Question is, how/where do I amend the script to include those new variables in the email that has sent? I have played about … Web Development php | |
I've written a form in html(uses Java) that creates a mail (html) via a php file. For me everyting works fine, but when [B]certain users[/B] click the send button, the form blinks and [B]empty all fields[/B]. But other users get a confirmation mail. How is this possible? In a way … Web Development php | |
Hi all I'm having a problem with netbeans when I try to make af form. It gives an error when it's not supposed to. At least, as far as I know it's not. An image can say a thousand words: check the attachment. Any help? I know this is not … | |
Hi, friends i have a datagrid bound a hypercolumn [CODE=ASPNET] <asp:DataGrid ID="menu" AutoGenerateColumns="False" Runat="server"> <Columns> <asp:HyperLinkColumn DataTextField="OPT_DESC" DataNavigateUrlField="OPT_LINK" DataNavigateUrlFormatString="{0}"/> </Columns> </asp:DataGrid> [/CODE] basically what i want to do is, that i want to insert into the database the users that click some links. so how can i make a clickevent … | |
I'm validating two records entity type and name using ajax but my problem now is that it works well all other browsers except firefox. var basiccounter ; function ServerSideValidation(contact_counter,detailed_counter,f,selection,o_name) { basiccounter = 0; //sending entity type to the server var urlEntity = "entity_type.php"; urlEntity = urlEntity+"?type="+document.getElementBYId(selection).value; urlEntity = urlEntity+"&sid="+Math.random(); checkName(urlEntity,"GET", … Web Development javascript | |
hi, i am redirecting user to previous page after adding the data. user has come from the url [CODE] http://localhost/goaweb/admin/viewimage/54400 [/CODE] where [B]add data [/B] button is placed to [CODE] http://localhost/goaweb/admin/addpic/NTQ0MDA= [/CODE] for adding the data (add data page) now i am rediirecting the browser to preview URL from where … Web Development php | |
i have one Gridview (Gridview1) i want to make this Grid editable. For this i have set : RowEditing = TRUE RowUpdating = TRUE After this i have got Edit/Delete button on the extreme Left of the Gridview followed by my Autogenerated columns from the database(Column0 , Column1 ,Column2). I … Web Development asp.net | |
Hello everyone, I'm having one annoying problem with a script I didn't even write. First of all, let me just point out the issue; If you goto this address (site is in french): [B][URL="http://axa.seomena.com/fr/calculez-vos-primes/calculez-vos-primes-assurances-medicales"]LINK[/URL][/B] You'll notice that it's a dynamic calculator, if you choose "individual" and click next, it'll show … Web Development php | |
Hi everyone, I have a registration form for the book, which has two many to many relationships with Author and Category, So I don't know what is the best way to implement and to be user friendly. If there is an example, please let me know and also share your … Web Development php | |
Dear All, I am very happy to be here. I have got alots help from this forum. I don't know how to show my search result on the same page. My Code index.php [ICODE] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script language="javascript" type="text/javascript" src="jquery-1.3.2.min.js"></script> <script language="javascript" … Web Development audio javascript-jquery php | |
Hi. Suppose I have a list box, which is filled out from mysql, and I have a text box and a submit button. I want to add the text box data into list box and at the same time I want to have the text box data into mysql as … Web Development javascript-jquery mysql php | |
Hello, I have copied this code but I do not really understand what this code is about. . :?: When I put this into my code to expand certain terms, it shows result but it just shows the last record in my table..not taking the variable I posted. Can anyone … Web Development javascript | |
Hi, I have a problem. I am storing projectid (varchar) as a field in this format :- DD-NNN where DD is the last two digits of the year and NNN is the next project number within that year (i.e. 09-500 is the 500th project in year 2009). The user has … | |
Hi friends, I am able to create a row dynamically with 3 cells(i.e column). In my 3rd cell i need to add another row. Is it possible to acheive it. I am using Java script for it. This is the table structure: [code=html]<table align="center" id="msgfield" width="100%" cellpadding="1" cellspacing="0" border="1" bordercolorlight="#999999" … Web Development javascript | |
Hi, there, i have come up with a dropdownlist that takes data from database. A gridview with checkbox to select and a button to submit the selected rows in gridview and selected data in dropdownlist. i am getting errors. I don't know what is the cause. The dropdownlist will have … Web Development asp.net web-server | |
I would like to syndicate content from one website to sections withing many other websites. So far I've been using iframe but the problem is that the content presented on these websites is not indexed hence does not improve SEO. [B] I was wondering if you have a solution for … Web Development javascript seo | |
I have a gridview on my "second" page with a SqlDataSource. The data source is configured to take the qurry string "arg" from the url and run a stored procedure with it. On the "first" page i have a gridview and one collumn is links. Click on this link and … Web Development asp.net open-source | |
ok what i am trying to do is see if multiple values are all yes. idk if what i think is right, actually is right. [CODE] $1 = "yes"; $2 = "yes"; $3 = "no"; if ( ($1 && $2 && $3) == "yes" ) { $thing = "you"; } … Web Development php | |
hi all, I am new in php. I want to show every row one by one during processing with check icon in the right side from row 1 up to row n? table row 1 √ row 2 √ . . . . . row n √ Web Development javascript | |
In a nutshell: I have a module that is using the php ftp commands for download and upload. The download works fine and the upload worked fine for a small text file. As I started using larger files, the upload completed without error but it only copied a small part … Web Development php | |
Hows it going. Im brand spanking new to PHP and just lost my virginity to it today. The experience has been also similar, Awkward, and just going the wrong way about it, not to mention premature emotional ejacutlation after the installation and finding out that it wasnt satisfied with the … Web Development php ![]() |
The End.