17,029 Solved Topics
Remove Filter ![]() | |
Need help to make a little php code anyone willing to help than please reply to this post and than we will start Web Development php | |
Can someone please tell me what I am doing wrong. I continue getting an undefined variable notice when "bar" is define in my page. Also the Previous and Next (page) is not working because bar is undefined. Previous and Next is only shown as text and nothing else Notice: Undefined … Web Development php | |
Dear All. I want to show and hide a DIV tag in each row by clicking on check box. my code is here: [CODE]$myCont="container_".$s; $e .='<input onclick="showHide('.$myCont.');" type="checkbox" />[/CODE] and in another file I create DIV with none static id: [CODE]$e .='<div id="container_'.$s.'" style="display:none;">';[/CODE] it is not work in showHide … Web Development javascript | |
Hello guys I normally write java...but heres my question [CODE] int propId = Integer.parseInt(request.getParameter("property")); <script type="text/javascript"> function doReport1() { document.forms[0].target = "_blank"; document.forms[0].action = 'http://<%=accountName%>/JAABA/jsp/cpanel/homeSellerReport1.jsp?propId=<%=propId%>'; document.forms[0].submit(); } <div class="marginTopBump5 marginBottomBump9"> <div class="left paddingRight2 paddingTop21">Dear</div> <input type="text" name="custName" maxlength="100" size="40" value="" class="fullBox left" /> <div class="left"> ,</div> [/CODE] as you can see … Web Development cpanel java-jsp javascript | |
![]() | This loop is suppose to re-color every button that's on top and to the right of the clicked button. I can have it work on one column or one row, but when I try to get it to work on more than one row and/or column, this exception is thrown … Web Development asp.net |
![]() | Hello, I'm not sure if the title makes any sense, but this is what I'm trying to do. I have multiple buttons and it's connected to this single event handler. The ID for each button is btnXX, XX being the row and column. [CODE]protected void btn_Click(object sender, EventArgs e) { … Web Development asp.net ![]() |
Please see my Booking Form here [url]http://www.n-v-m.co.uk/Booking.html[/url] The form is very nearly finished but I have no experience with JavaScript at all so I am hoping somebody can tell me how to do the finishing touches. All I require is: 1- On clicking the 'Submit order' button I would like … Web Development html-css javascript | |
Hi to you all. I am working on an application that accepts various source files from the users and stores them on the server with the appropriate extension e.g (.cpp, .py). This has been working fine as php allows a programmer to check the type of the uploaded file type … Web Development file-stream file-system php | |
hi i wants the code cor calulating multiplication operation,values taken from two text boxes and the resultant is stored in another text box.......... here iam using asp.net with vb.net..... please help me.......... | |
Hi all, I got this code and try to add a +1 to the .$order_details_arr[0]['Order']['id']) | <a href="<?php echo $html->url('/admin/order_products/view_details/'.$order_details_arr[0]['Order']['id']); ?>">Next</a> Basically I want to be able to show a URL that will be the .$order_details_arr[0]['Order']['id']) result + 1 so the link will link to the next order id in … Web Development php | |
Hi, I'm not good at all at JavaScript but I'm trying, so bear with me. What I want to do is that when I click on a <input type="text" /> tag the checkbox next to it should become checked. I've tried with the help of internet for a couple of … Web Development javascript | |
Hi I have designed a simple login area on a website that creates a few session variables to use to query a database of products which works fine: [CODE]<?php session_start(); // dBase file include "dbConfig.php"; if (!$_POST['username'] || !$_POST['password']) { die("You need to provide a username and password.<p>Click <a href='main_login.html'>here</a> … | |
Below is a Random Quote generator script I found on the net, its a great script, but I want the quote to be in bold, how is that done please? [code=html]<center> <font color="#71025F" size="2" face="Verdana,Arial"> <script language="JavaScript"> // ============================================== var Quotation=new Array() // do not change this! // Set up … Web Development javascript | |
Hello. I am constructing feedback form - SMTP - ADO - Captcha OK. Everything works fine to me. Except one important thing. After smtp and sql injection and Reset(), user can hit back in browser and after that resend message. that's not good. How to make the data in form … Web Development asp.net | |
hi i want to get height of a div with[B] document.gtElementById('divid').offsetHeight [/B]in javascript. it works well in firefox but in IE it returns 0. what is the solution? i guess maybe the offsetHeight doesn't work in IE ,but [B]document.body.offsewtHeight[/B] return a number bigger than 0 ! altought it is different … Web Development javascript | |
I had a problem at work which I solved, but that raised me another question. I wanted to export a page to excel, so I used this: [CODE] response.setContentType("application/vnd.ms-excel;charset=iso-8859-7"); [/CODE] It worked but while I was searching for an answer I found 3 possible content types for the excel: > … Web Development java-jsp microsoft-office | |
why this code is not working........ here iam givin two radio buttons. if first one is selected one text box is displayed. if second is selected one text box is displayed . here my coding is given below please correct it........ [CODE] If yes.Checked Then nicstaff = "Y" ElseIf no.Checked … Web Development asp.net | |
Hi guys. i am having problem regarding of passing session data from one page to another. In start.php i have this session initialization & assignment. [code=php] session_start(); $_SESSION['course']=$_POST['course']; [/code] where the method of the form that this course menu has is set to POST and the action is set to … | |
Hi Dear All Is it possible to compare two PDF Image Files and if Name of Person is same in both documents only then we can save it to server and save the path to the Database. actually its about confirmation. But Problem is Both PDF are Images and name … | |
I want my cookie not to be reset when i close the browser. The way i have it right now it expires whenever i close the browser... I REALLY REALLY need a solution to this so please if someone could give me some time id REALLY appriciate it!! I dont … Web Development iphone php web-browser | |
Hi i m trying to create two drop down list boxes where the second drop downl list box is populated based on the selection of the first one.I have searching the net for days and even the scripts i downloaded don't seem to be working..Can anyone help me plz.....Its urgent...I … Web Development php | |
Hi, I am trying to validate email address's on my registration form. Everything works great except for checkdnsrr function. I was wondering can anyone help with this. I never used checkdnsrr before. Here is the code I'm using: //set flag that sais pwd is OK $pwdOK = true; //trim whitespace … Web Development php | |
I am going start a project that will create a pop-up window with a list of part numbers, prices , etc form another site. The listings will be selectable and then stored in our site database. I have never done anything like this before, so I would like to know … Web Development php | |
hii every one, i have an application containing data list. datalist contains radio button as item template.i want only one radio button to be checked ie when the user clicks on one checkbox the other checkboxes should be unchecked.i have used groupname ,but no use .can any one give the … Web Development asp.net | |
Hi and I have been working on an image uploader but need to be able to convert tiff files using php. From my understanding there is the gd library which doesn't support tiff files and the [URL="http://au.php.net/manual/en/function.exif-thumbnail.php"]exif library[/URL]. Does anybody know how I can convert a tiff file to a … Web Development php | |
Hello, I am trying to have all my body text for a news website I am building, inside a MySQL DB, and when I echo it out in PHP, it shows symbols like � instead of ". Can anyone help me? Thank you, EpicAsian P.S. I've tried the ASCII, ARMSCII8, … Web Development php | |
Hello... i have problem with UTF-8 encoding... My database and table collation are utf8_general_ci, and when I add new insert query in the database is ok, but when I'm trying to print i got -> ???? The results are: In the database -> Дамјан Крстевски In the browsers -> ?????? … | |
hey all, just starting with php, and was wondering if i could create a new web page by using a variable from a php script in a php script. For example, the user enters a word, and then a web page is created that is called that word. so user … Web Development php | |
I have a php code that forms a dropdown using a mysql table. I am using the dropdown to search and filter results in a page. The problem that I have is that it only shows the values from the table, I also need an option where I can leave … Web Development php | |
OK, I have a JS which validates the correct format for postcodes (or zip) on an html form - works fine. But what I want to do is to use a JS to see if a website visitor is eligible for a particular service on their postcode / zip - … Web Development javascript | |
hi guys, im using linux opensuse as my web server, now i installed php there accdg to the manual, moreover, i also installed php to another computer having windows as its platform, now i compared the phpinfo() of the both pcs, ive noticed that there are some modules available on … Web Development php web-server | |
I have file 123.php which produces dynamic information upon excecution and need 123.php to copy it's output to file "abc.txt" How would I go about this in a unix environment? Thanks in Advance! | |
hi iam getting date as like '1/01/2010' from a dateofarrival(name of text box id) ....... i want to replace the ' from '1/01'2010'., iam interested to show as like 1/01/2010......... plsa help me,,,,,,,,,, here iam using asp.net with vb.net ........ here my coding is..... [code] Response.Redirect("check availability.aspx?ardate='" & dateofarrival.Text & … | |
Hello, I was working on a small project to make me think, and I ran across a problem when I was running a page. Instead of any error coming up, the page just produced the following, which was part of my code: [code]0 && $user_health > 0) { $monster_health = … Web Development php | |
Hi can anyone explain what exactly this function does [CODE] tabs(array())[/CODE] for eg. [CODE]<?php tabs(array("grid.php"));?>[/CODE] Web Development php | |
Hi all, I am trying to rotate adds that are from tradedoubler !! I have created a mysql db as follows id,add,link,title and i can succesfully connect via a php include and rotate my query to show a different add each time the page loads [code] $sql = mysql_query("SELECT * … Web Development javascript mysql | |
Hi ppl, In a drop down box in PHP i want a distinct value of Date from a column in mysql table. [CODE=text]W_Id FinishedDate Username 1 2010-01-25 me 2 2010-01-25 you 3 2010-01-25 she 4 2010-01-26 me 5 2010-01-26 you 6 2010-01-26 she[/CODE] In the dropdown box i want 2010-01-25 … Web Development php | |
![]() | Hi, I have pasted my code below, please paste it into a JSP and tell me why it gives the error "Unterminated String Constant" [CODE] <html> <head> <title>Debugging</title> <script language="javascript"> function changeOn(object, objectId) { alert('in function'); if (object == 'bookingsButton') { alert('first if'); document.getElementById(objectId).src = 'Images/BookingsOn.png'; } else if (object … Web Development java-jsp javascript ![]() |
hi, I have a varible which i want to pass it to an AKAX function as a parameter... HOW DO I DO IT???? Here is my code: [CODE] <?php $Username=$_GET['Username']; blah blah blah echo "<select name=WD value=' ' onChange=showDetails(this.value, '$Username')>Date</option>"; /* The onchange function is as follows*/ function showDetails(FinishedDate, Username) … Web Development php | |
I want to have this kind of look [url]http://kleankanteen.com/faqs/faqs.html[/url] when i click the (+) button, the solution/answer will appear and when i click the (-) button, the solution/answer will disappear here is the sample that i want please help.. i dont know if this is javascrip, ajax or something... Web Development javascript | |
I want to query my database and get two things, store them in an array and retrieve them later. Let's say the fields are zone_id and zone_name. currently i am trying this to store them in array like this $zone_array = array('zone1index' => zone1name, 'zone2index' => zone2name, 'zone3index' => zone3name); … Web Development php | |
this is the full code of uploading image using php.. [CODE]<?php // Connect to database $errmsg = ""; if (! @mysql_connect("localhost","root")) { $errmsg = "Cannot connect to database"; } @mysql_select_db("records"); // First run ONLY - need to create table by uncommenting this // Or with silent @ we can let … | |
hi......... my php code for deleting records from database is working succesfully but while deleting records from database using checkbox is that only records deleted when deleting button click on two time.... means clicking delete button twice delete the record...... plz chk my code nd tell whr is mistake?????????????? plz … Web Development php | |
Hello, When I add a simple <c:set var="foo" value="bar"/> line to my jsp I get the following error: javax.servlet.ServletException: javax/el/ELException org.apache.jasper.servlet.JspServlet.service(JspServlet.java:273) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) root cause java.lang.NoClassDefFoundError: javax/el/ELException java.lang.Class.getDeclaredMethods0(Native Method) java.lang.Class.privateGetDeclaredMethods(Unknown Source) java.lang.Class.getDeclaredMethods(Unknown Source) java.beans.Introspector$1.run(Unknown Source) java.security.AccessController.doPrivileged(Native Method) java.beans.Introspector.getPublicDeclaredMethods(Unknown Source) java.beans.Introspector.getTargetMethodInfo(Unknown Source) java.beans.Introspector.getBeanInfo(Unknown Source) java.beans.Introspector.getBeanInfo(Unknown Source) java.beans.Introspector.getBeanInfo(Unknown Source) java.beans.Introspector.<init>(Unknown Source) java.beans.Introspector.getBeanInfo(Unknown Source) … | |
Hi, This is my 1st post... I am using a checkbox in a Datalist. I am trying to display 2nd Checkbox if the 1st checkbox is checked. How do I do it in the code behind to check the "Checkbox1.Checked==True . Please find the aspx page of the file below: … Web Development asp.net | |
hi,i want to insert booking_no as combination of year and sno(year/sno) into database here iam giving the code as follows,,,,,,,,, here sno(serial number is automatically generated when page is loaded) started from 1......... [CODE] Dim conn As New SqlConnection(ConfigurationManager.ConnectionStrings("guest1").ConnectionString()) Dim booking_no, sno As String If Len(sno) = 1 Then sno … Web Development asp.net | |
Hello Everyone, I am developing a new website which shall provide a user interface of multiple languages; starting with English, Persian and Arabic (We are considering Russian and Hebrew in addition to other languages in the 2nd phase). What I have done is to store a language code with the … Web Development html-css php session user-interface | |
Good day people! May i know how to assign value to a textarea the data from a database. I tried the following codes but they didn't work. [CODE] <?php echo "<textarea name='aaa' rows='4' cols='70' value='$abc'></textarea>" ?>[/CODE] [CODE]<textarea name="question" rows="4" cols="70" value="<?php echo $question2; ?>"></textarea>[/CODE] please help me! Web Development php | |
Hi again, Okay now I have a Coldfusion question, I have written a user defined function in coldfusion: [code=coldfusion] <cfscript> function isSqlInjection(str) { .... } </cfscript> [/code] Now I am a complete newbie to coldfusion and don't want to have to include this function in every page when I have … Web Development coldfusion | |
hi guys, just wanna ask, is there a list view in php like in vb6??? i know, i can display the output using a table, however, what i want to happen is that whenever a user clicks on a row, that whole row will be selected and all the values … Web Development php ![]() |
The End.