52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for InfernalEternal

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
Member Avatar for Nyight
0
144
Member Avatar for mpc123

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
Member Avatar for mpc123
0
84
Member Avatar for andydeans

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 …

Web Development php session
Member Avatar for andydeans
0
254
Member Avatar for Charles1718

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
Member Avatar for abogadooo
0
2K
Member Avatar for martin5211

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 …

Member Avatar for martin5211
0
2K
Member Avatar for mbano

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
Member Avatar for EvolutionFallen
0
58
Member Avatar for josiefrut

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 …

Web Development java-jsp xml
Member Avatar for nohup
0
143
Member Avatar for Cool&Awesome

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, …

Web Development php regex
Member Avatar for Cool&Awesome
0
116
Member Avatar for tariqi

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
Member Avatar for tariqi
0
102
Member Avatar for Arsench

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
Member Avatar for Arsench
0
67
Member Avatar for Dean_Grobler

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 …

Web Development java-jsp session
Member Avatar for Dean_Grobler
0
239
Member Avatar for jellybeannn

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
Member Avatar for rohand
0
102
Member Avatar for bjeffries

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
Member Avatar for pritaeas
0
163
Member Avatar for geo007

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.

Web Development mysql php
Member Avatar for Nyight
0
193
Member Avatar for prasanthsagar

Hey all I have a mdb file. I need to use this file as a datasource to display in the gridview. Can anyone suggest me how to use a LINQ to add to that gridview. here the purpose of gridview is simply to display some rows....... Regards, Prasanth.

Web Development asp.net
Member Avatar for prasanthsagar
0
98
Member Avatar for Madhusudhan

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
Member Avatar for vijayraghav
0
171
Member Avatar for arthurav

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
Member Avatar for arthurav
0
83
Member Avatar for jasonc31

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
Member Avatar for jasonc31
0
146
Member Avatar for gunnarflax

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
Member Avatar for lambing
0
296
Member Avatar for Kadafiz

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
Member Avatar for Huakalero
0
168
Member Avatar for ayooshkasmth

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 …

Web Development php session
Member Avatar for ayooshkasmth
0
160
Member Avatar for 68thorby68

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 …

Web Development php session
Member Avatar for hielo
0
110
Member Avatar for techie929

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
Member Avatar for hielo
0
95
Member Avatar for rsmahaa

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 - …

Web Development asp audio php
Member Avatar for a5a2
0
212
Member Avatar for pietpiraat

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
Member Avatar for pietpiraat
0
205
Member Avatar for ffonz

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
Member Avatar for hielo
0
187
Member Avatar for farooq82

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 …

Web Development asp asp.net dataset printer
Member Avatar for farooq82
0
170
Member Avatar for ello

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 …

Web Development php session
Member Avatar for ello
0
120
Member Avatar for Cotillion

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
Member Avatar for Cotillion
0
114
Member Avatar for ivan3510

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
Member Avatar for ivan3510
0
83
Member Avatar for aldm

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
Member Avatar for aldm
0
102
Member Avatar for sami.asanga

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 …

Web Development html-css php session
Member Avatar for hielo
0
68
Member Avatar for eludic

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
Member Avatar for eludic
0
1K
Member Avatar for stha2

[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 …

Web Development apache java-jsp
Member Avatar for peter_budo
0
115
Member Avatar for niths

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 …

Web Development html-css php
Member Avatar for chintan@dani
0
153
Member Avatar for samarudge

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
0
193
Member Avatar for new SE

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
Member Avatar for samkaraja
0
83
Member Avatar for samacoba

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
Member Avatar for samacoba
0
133
Member Avatar for gangaloves7

how to retrive username and other information after succefully login using loginid and passs like in login screen (user will use his/her) Userid:xyz Password:xxx in home page i want to dispaly his/her name !!!! urgent help!!!!!!!!!!!!

Web Development asp.net
Member Avatar for samkaraja
0
270
Member Avatar for samsons17

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
Member Avatar for samsons17
0
124
Member Avatar for meempat

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
Member Avatar for g-fer
0
99
Member Avatar for ApocDen

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.

Web Development php session
Member Avatar for kyrilkong
0
1K
Member Avatar for g-fer

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 …

Web Development mysql php
Member Avatar for g-fer
0
277
Member Avatar for ello

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 …

Web Development php session
Member Avatar for ello
0
122
Member Avatar for samarudge

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 …

Web Development image php
Member Avatar for Nyight
0
305
Member Avatar for krilli

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 …

Web Development apple php
Member Avatar for Nyight
0
825
Member Avatar for dwlamb

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
Member Avatar for Triztian
0
2K
Member Avatar for prasanthsagar

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
Member Avatar for prasanthsagar
0
110
Member Avatar for lulemurfan

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 …

Web Development mysql php
Member Avatar for Nyight
0
106
Member Avatar for hari.sarvothama

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
Member Avatar for lambing
0
251

The End.