52,566 Archived Topics
Remove Filter ![]() | |
Hi there. I have a page that lists the records of a table. On this page I want to be able to edit/update two attributes of these records by using checkboxes - e.g., being able to update multiple records at once. I thought the smartest way to achieve this would … Web Development first-post php | |
Hi , hope you can help i have this code [code=php] <?php mysql_connect("localhost","x","x"); mysql_select_db("x"); $result = mysql_query("SELECT * FROM x") or die(mysql_error()); echo "<table class = feature >"; echo "<tr> <th></th> <th></th> <th></th> </tr>"; while($row = mysql_fetch_array( $result )) { echo "<tr><td>"; echo $row['Date']; echo "</td><td>"; echo $row['Title']; echo "</td><td>"; … Web Development php | |
hi, i get this error on one of my pages, however if i move the session start code to check if user is logged in down a few lines below some query code for searching the site it works fine. why would moving the session start down a bit on … | |
Hi, i'm new about PHP, and i try to insert the PHP Upload script in the php mail, but somehow i don't get it to work! :) [B]this actually goes to header:[/B] [CODE]<?php if(isset($_POST['submit'])) { $errors = array(); $allowed_filetypes = array('.pdf','.zip','.rar'); $max_filesize = 52428800; $upload_path = './uploads_SS/'; $filename = $_FILES['userfile']['name']; … Web Development email file-system php | |
Hello everybody, I worked long hours this evening trying to unthread the whole thing and still not working... I don't know why. The page display the results using normal code in JSP (no jstl tags). When using jstl tags the page results in blank screen, no posts. Here is the … Web Development java-jsp software-architecture | |
i have a simple system,when i logout the system logout but the problem is, when i click back, it turn to main page. please guys help Web Development php | |
Hi, guys. badly need your help. still a newbie in programming. seems like i cannot display some data on the browser from the database. i was able to create a login page. but when i tried adding another servlet and tried calling its jsp, error message appears: HTTP STATUS 500 … | |
Hi Everyone!:) Searched net up'n down and also related threads but can't figure this one. I have this: RewriteRule ^(\w+)$ index.php?pageid=$1[icode] for the purpose of pretty urls. Now, as long as pageid is a single word, everything's nice, but if there are dashes (kinda-like-this) it simply doesn't work, that is, … | |
i have 5 dropdown list and i want the gridview to get refined with each selection.this is what i used but its not working: a button click event that that gets a dataview to filter records then bind these records to the gridview.this routine then checks each dropdown list to … Web Development asp.net | |
Hi all, I have a table curs_period where inserting some data to send them via email, this table contains data for 1st email [CODE] Id = Auto increment Name = Madrid Period = 01/11 to 01/12 [/CODE] Then I have another data for 2nd email [CODE] Id = Auto increment … Web Development php | |
Hi there guys, I got this assignment where I need to set a session attribute. Although I'm having problems since I cant set attribute that is of type double? I got these hints but since I've worked with doubleValue() or downcasting, the hints didn't help me much.. Hints: -Recall that … | |
Hi everyone, I am trying to populate a gridview. this is my table structure: Modules - M_ID, M_title (this is where the module info is stored) Module_course_link - MC_ID, M_ID, C_ID (this table links the Modules and Courses table) Courses - C_ID, C_title (this is where the course info is … Web Development asp.net | |
Which is the smarter way to do things.. Should I create a thumbnail script that resizes and crops the images so they are uniform when I create and upload a gallery? Or Should I run a script when the page loads that resizes and crops the images so they are … Web Development php | |
hi, i am a teacher. i have a list of students in my MySQL table. How to retrieve their names one by one, and while doing that there will be a text box to put their marks in. | |
Hi All, I have specific requirement in web development. I am Programmer Analyst in .Net, would like to know the difference between Firefox and IE6.0. Some of the Javascript will not execute in Firefox !! Does any one have better idea about this !!. Thanks and with regards, Madhusudhan.H.K. Web Development javascript | |
I have a table with content fetched from a html table. I have a modify and delete column. In the modify column I have submit forms which send as hidden input the id of the column. In the delete column I want to have checkboxes that will be linked to … Web Development php | |
I have found the following code and wish to have it do a POST instead of the GET can someone tell me what needs changing so this does a POST ajax.php [code] <?php if (is_numeric($_GET['client_id'])) { include("database.php"); $query="SELECT * FROM `client_addresses` WHERE `client_id` = '". db_input($_GET['client_id']) ."'"; $result=mysql_query($query); ?><select name="client_address"> … Web Development javascript | |
If I would have a simple function like this: [CODE]jQuery.fn.example = function(){ this.remove(); }[/CODE] and call it with an empty selector: [CODE]$().example();[/CODE] What element would then [B]this[/B] be pointing to? Or is there a way to make a function able to be executed through both [B]$.example()[/B], without a selector, and … Web Development javascript javascript-jquery | |
heyy... i need to knw how to update many values from one submit. problem is i have 10 fields and every text field has same table field value.assume that my 10 fields have 10 quantity values. i need to update quantity field by all 10 fields. like this ; 10 … Web Development php | |
Hi, I have a parent and child form, with the child form connected to the parent form by the parent_id. The forms are on different pages, and i am trying to pass the id of the parent form to the child form using session variables. What ive done (with no … | |
Hi, I have developed a site that allows users to post details for others to view. Within this I have built a secure login process that uses cookies to help the user around the site. However, when using sites like facebook, I notice that I receive emails with links that … | |
I am reading a xml file and saving the data in array.But I am not able to use the array values later.I have declared everything as global. When I put an alert(myData[3]); I am getting "undefined".Please help. Below is my code: function modify_data(xml) { //alert("tyur"); $(xml).find('person').each(function(){ phone = $(this).find('phone').text(); email … Web Development javascript javascript-jquery xml | |
If any one convert this code to ASP i ll be very thankfull. bec i donnt know ASP [CODE]<?php session_start(); include("config.php"); $trackid=$_POST['f']; // Find Path of Track $s1="select download_path from trackinfo where trackid='$trackid'"; $r1=mysql_query($s1) or die(mysql_error()); while($array=mysql_fetch_array($r1)) { $path=$array['download_path']; } $ship=$_POST['f1']; // Allow direct file download (hotlinking)? // Empty - … | |
Hello everyone, i have a problem with calculating my ending time in php, here is the situation: i get five values, [LIST] [*]$startdate [*]$startmin [*]$starthour [*]$minute [*]$hour [/LIST] where $minute and $hour are the event duration times, now what i am trying to achieve is with these values set, i … Web Development php | |
![]() | Hi, I tried an example on [url]http://www.captain.at/howto-ajax-form-post-request.php[/url] for sending a POST form. When I run the example on that specific page, everything works well. Also in Wireshark I see the POST packet passing by. But I'm getting errors when I copy the code to a local html file, and try … Web Development first-post javascript ubuntu |
Hello Everyone, Could you please tell me why my dropdown not firing selectindexchange event. I have dynamic load that dropdown box using dataset. My problem this I have two dropdown boxes now I have load Brand Information in first one and when I select the brand all printers info load … | |
Hey guys, wondering if you could help me with these two bits of code. What I'm trying to do is count how many clicks a link has been clicked, then when it has been clicked x amount of times, it echos 'test' Now the code below does that, but I've … | |
Hi all, The following script is a task I set myself to learn javascript, essentially there are several arrays containg keywords which, depending on the array, should highlight those words in different colours. The code works but I get an unresponsive script error and it's very slow. I think because … Web Development javascript | |
Hi! Sorry for my bad english. How is made that toolbar on this site always stays on the botom of the page. (So, when we log in, on this site will appears toolbar. When we scroll down, this toolbar stay, it doesn't move anywhere, it stay on the bottom.) Web Development javascript | |
Hi, how can i get password length on form in jquery? I get the password with this: var sifra=$("#input:password").val(); but when I want to check if password is entered and length is more than 6 characters, it doesn't work: [CODE] if(! sifra){ $("#sifra_p").show(); $("#sifra_p").html("Niste unijeli Å¡ifru!"); greska=1; } else{ if(sifra.length … Web Development javascript javascript-jquery | |
Hi all, I need a big help..I was struggling about 3 /more days with this code..It is not giving me the result I want.It is not that difficult thing.What I want is to display the values in database(name,description,image) according to the id selected. And then it can be edited if … | |
I am absolutely newbie to Ajax and I need to have this fixed by tomorrow as I have a project to complete so anyone who could help me, I would be really greatful! This is what I have cooked up so far index.php [code=php]<html> <body> <script language="javascript" type="text/javascript"> <!-- //Browser … Web Development javascript mysql php | |
[code=text]Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346) org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414) org.apache.jasper.compiler.Compiler.compile(Compiler.java:472) org.apache.jasper.compiler.Compiler.compile(Compiler.java:451) org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause Unable to find a javac compiler; com.sun.tools.javac.Main is not on the … | |
hi all, i am planning to keep live support for my website for that i had some code..it works fine but the problem is the chat is not confidential.. means if i am admin and if some one is chatting with me and if another person clicks on live help … | |
Hi, A site I'm developing loads new pages via AJAX, to allow people to share the links we use a hashtag to track the URL E.G. User is on example.com/page1.html User clicks on link to example.com/page2.html page2.html is loaded dynamically and the URL is set to example.com/page1.html#!/page2.html That all works … Web Development javascript | |
Hi all..i need some help please..i'm doing a validation using a validation expression..this is use to make a user just input the digit in 5 digit.. i'm using this now but not function [CODE]<tr> <td class="style1">Zip Code </td> <td>:</td> <td> <asp:TextBox ID="txtCmpZip" runat="server" BorderStyle="Groove" MaxLength="5"></asp:TextBox><asp:RequiredFieldValidator ID="CmpZip" runat="server" ErrorMessage="*" ControlToValidate="txtCmpZip"></asp:RequiredFieldValidator> <asp:RegularExpressionValidator … Web Development asp.net | |
Hi all i seem to be having an issue with LINQ, i am currently maintaining an in house Intranet application at work,When Saving logs it seems to slow down now,upon debugging i have came to realise that everytime it saves a log the application pauses at these two section lines … Web Development asp.net | |
Hi all.. I'm trying to do a pagination using simple php script... I set the maximum post to be displayed to be 5.. but my problem is, each post that being displayed,has skipped 1 post before it.. For example,let say that i got 5 post in total,instead of displaying post … Web Development php | |
Can anybody suggest me what is wrong in this code. I am trying to populate data from table to list field. Its showing error "Parse error: parse error in C:\wamp\www\matr\index.php " [CODE] </div><div style="padding: 3px 0px;"> <select name="countryofresidence" style="width: 140px;"><option value="">Doesn't Matter</option> <?PHP $sqlCountry = "SELECT * FROM countries order … Web Development php | |
This will count number of page views in a session. Simple, to add on the page just add the code on the top of the page and make sure it is before any html. | |
Hi ... I'm trying to make a drop down list box populated from a mysql table. It all looks OK on the screen, but there is an error that I cant seem to fix. The error is: Notice: Undefined index: xxx in C:\Documents and Settings\GSW\My Documents\xxx\test.php on line 29 and … | |
Hey guys, can anyone point out where I'm going wrong with this? It counts the sessions fine, but the IF statement doesn't seem to be working as it should. [CODE] <?php session_start(); ($_SESSION['count']) ? $_SESSION['count']++ : $_SESSION['count'] = 1; if (!(count) % 5) { echo "test"; } ?> <!DOCTYPE HTML … | |
Hi, I have a PHP script that generates an image based on a font and text string to display custom fonts on my site. Overall the code works fine but there are a few little bugs; The image is clearly not high enough to display the full font correctly, part … | |
Hi everyone, please help me out on this if you can. I have a site where a user can select multiple checkbox values, banana, apple, orange, strawberry and raspberry. I would like the name of the Juice to be displayed if the fruit is contained in it. For example..if strawberry … | |
I'm new to Classes. For a project to improve my skills I'm stuck. This project is a registration in which: [LIST=1] [*]form data is validated [*]some variable from the form are encrypted [*]some variables from the form are hashed [/LIST] It is getting the Class for hashing to load and … Web Development encryption php | |
HI everyone.... I need some custom THEMES for a grid view.... can anyone send me a link where i can find some sample themes for a gridview or u can just post the code for the theme..... Regards, Prasanth Web Development asp.net | |
This is the part which searches and add the result to the 'pass' variable. At one stage I was getting a resource id number and found to get around that, but when I do this I get nothing on the pass variable [code] $result = mysql_query("SELECT `Pass` FROM `wiki` WHERE … | |
Hi, I have a $.ajax call in my jquery function. I want to access the value returned from the server(php) to be accessed in jquery function. Hoe to do this?? [code] setTimeout(function(){ $.ajax({ url: 'ajax-validation.php', data: 'email=' + $('#email').val(), dataType:'text', type: 'post', success: function (resp) { if(resp=="Email is available")/*This does … Web Development javascript javascript-jquery php |
The End.