17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for anshusharma

hello everybody i am newbie to jsp. working on some project and struck into some problem. my poject is about web rendering . i am creating a buffer image and storing that in to some file .when i am trying to open this file on browser using jsp,it is not …

Web Development java-jsp web-browser
Member Avatar for anshusharma
0
108
Member Avatar for furqan219

Hi to all I have designed a entry page which is used to INSERT Data in a Daatabse table. I use meta fresh tag time =60seconds Now I want to show that in another page with 2 control buttons ACCEPT and REJECT. Problems: 1. I need to show only one …

Web Development php
Member Avatar for furqan219
0
261
Member Avatar for julio gomez

Hi, I am testing a PHP web site offline using XAMPP server application. The website runs great, but the only problem is that the .css is not running. The odd thing is that if I am online and I test the website locally the .css file works, but if I …

Web Development html-css php web-server
Member Avatar for julio gomez
0
70
Member Avatar for hmajidy2001

Hi PHP community. I have a PHP script on Linux (CentOS 5.2) which produces a "failed to open stream: No such file or directory" which I am out of ideas on how to solve. I am on the verge of reverting to Perl. The line generating the code is: [icode]$fh2 …

Member Avatar for hmajidy2001
0
4K
Member Avatar for diafol

Hi folks, first of all sorry to say I ain't got any sample code and couldn't find anything obvious from Google and searching forums. Anyone got any ideas about integrating Joomla (latest version) session handling with a bog standard session_start/$_SESSION['user'] (etc) custom pages. Here's the explanation: I wrote a site …

Web Development cms php session
0
227
Member Avatar for versatile36

What is the purpose of view state,application and session and what is the difference among them?? i googled it but couldn't get exact idea .. i'm just a beginner.. help me plz

Web Development asp.net session
Member Avatar for versatile36
0
208
Member Avatar for mbabaali

am writting my class work project assignment but am stuck can some one help me out, am tring to pick data from patients table and diagnosistreatment tables which are mysql tables but the code is not working [code]<?php //This code retrieves a particulat patients record from dianosis and treatment table …

Web Development php
Member Avatar for djjjozsi
0
96
Member Avatar for mr.khurrams

I want to make the clone site of [url]http://fishershippingcompany.com/home.php[/url] . is it possible in wordpress or I have to self code this all??? Please suggest me

Web Development php wordpress
Member Avatar for mr.khurrams
0
315
Member Avatar for devin.lawks

I have no idea why, but the form mailer I'm using is not working correctly. Granted, I'm still a newb, but everything in the code looks fine to me. I'm using a modified version of the free form mailer available at [url]www.TheDemoSite.co.uk[/url] The exact problem is this: I fill out …

Web Development html-amp html-css javascript php
Member Avatar for peter_budo
0
232
Member Avatar for Suhacini

hi, How can I search from multiple tables in a db?DB I am using is MySql db. Thank You, Suhasini

Web Development php
Member Avatar for digital-ether
0
347
Member Avatar for ROTC89

ok so i am trying to fill a 2d array with random numbers and find the max size in each row. i don't know what is wrong with my code. here is the code [code=php] <html> <body> <title>Assign 2</title> </head> </body> <hr/><p/> <?php $arr=array(); $max_row=array(); function find_max_row() { global $max_row; …

Web Development php
Member Avatar for ROTC89
0
148
Member Avatar for jcanaway

alright i am working on jQuery - UI Sortable Portlets and im trying to pass serialize on to the php so i can update my database with each displays column, and position so it will save for my users i have what I've done so far below if anyone know …

Web Development javascript-jquery php
Member Avatar for jcanaway
0
471
Member Avatar for liferentsus

I have this feed of classifieds that I need to convert to an .xml doc. I explode each string into an array (separated by a "|"). Everything work just fine except the string cuts off if there are any line breaks in the 5th section and everything after the break …

Web Development php xml
Member Avatar for liferentsus
0
170
Member Avatar for HITMANOF44th

i am working on a script that uses a counter in order to display some things from a data base now when i submitt from one of the two form buttons it always returns the last variables that would have been in the index and i am trying to get …

Web Development php
Member Avatar for HITMANOF44th
0
99
Member Avatar for veledrom

Hi, I just wonder if this is possible. When i print a page from my localhost or web, the html link information is printed at the end of the page. How can disable it? Thanks

Web Development html-css javascript
Member Avatar for veledrom
0
72
Member Avatar for dmotah

hi guyz im using phpmailer to send mails but into the message variable i cannot add an activation link? the link is send but is not hyperlinnked in any mails(hotmail,gmail etc) here is my code: [CODE]$mail = new PHPMailer(); //$body = $mail->getFile('contents.html'); //$body = eregi_replace("[\]",'',$body); $body = "Welcome $surname, $name …

Web Development php
0
86
Member Avatar for Xessa

I want to avoid user to press " and ' characters. What must i do in keyup event?

Web Development javascript
Member Avatar for essential
0
108
Member Avatar for tiger86

Hi; I have been studying PHP and I'm coding it. I ran into an odd problem but I'm sure it is a newbie error. Whenever I run my php script on xampp I get parsing error line 103. I go to my code and the closing html tag is at …

Web Development html-css php
Member Avatar for diafol
0
160
Member Avatar for Plyswthsqurles

Hey guys/gals, I literally just started teaching myself MySQL today and have started to write a email list script for mass emails. Ive got the adding emails and sending mail scripts working but i cannot figure out for the life of me what is wrong with the deleting script. I …

Web Development mysql php
Member Avatar for Plyswthsqurles
0
319
Member Avatar for servis

i have four checkboxes, user have option to select all or any of them as per the nature of complaint. the html code is as follow.... [ICODE] <input type="checkbox" name="comp1" value="Abusive words are used"> <input type="checkbox" name="comp2" value="Attachments are vulgar"> <input type="checkbox" name="comp3" value="Provided links are not valid or open …

Web Development php
Member Avatar for servis
0
2K
Member Avatar for quibbie

I uploaded all my files through Cpanel to my public_html root folder and set my permissions but my page is still not displaying when I type in the URL. I have another domain name and this is an add on domain. I have MySQL version 5.0.77-community with a separate database …

Web Development apache php unix
Member Avatar for kvprajapati
0
134
Member Avatar for versatile36

Hey can any one tell me the difference between Visual Web developer express and Visual studio express edition ? is Visual Web developer express inbuilt in Visual studio express edition ??

Web Development asp.net visual-studio
Member Avatar for versatile36
0
232
Member Avatar for Arctic wolf

Hello everyone, I'm new to PHP and having a very basic problem of instaling the web server correctly. Now,I tried to run PHP 5.2.9 , The instalation program asked me to choose a web server and for not having much understanding in this I chose apache 2. The problem was …

Member Avatar for Arctic wolf
0
144
Member Avatar for kkemerait

Maybe I've just missed this one and its easy .. but I like to write my local css styles using a single line .. But everytime I drag a control onto the web page VS creates the .Style1, .Style2 etc etc. Trash to clean up. If I DO clean it …

Web Development asp.net
Member Avatar for sknake
0
271
Member Avatar for khr2003

Hi I am trying to modify a class and I found this code in it: [CODE] $query = " SELECT * FROM menus WHERE show = '1'"; $id = $this->menuid; if((isset($id)) && ($id != '')) { $query .= " and menuid in($id)"; } $query .= " ORDER BY menuorder ASC"; …

Web Development php
Member Avatar for khr2003
0
123
Member Avatar for khr2003

Hi I am trying to run this query: [CODE]mysql_query("update group_data set title='$title', desc='$title' where groupid='$groupid'");[/CODE] but the problem is that I get this error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc='' …

Web Development php
Member Avatar for Josh Connerty
0
87
Member Avatar for drjay1627

i'm a java c/c++ person. trying out ruby for the 1st time! how do i do something like this in ruby: [code] //this is java public static void main ( String args [] ) { File inFile = new File ( args [ 0 ] ); File outFile = new …

Web Development ruby
Member Avatar for ~s.o.s~
0
208
Member Avatar for mccs

Hello can someone please help me, I am trying to add information to a database with checkbox. I have every thing working expect for the checkbox. I am fairly new to the php/sql side of web coding. Anyway I want to add information to the one field of a database, …

Web Development apple mysql php
Member Avatar for mccs
0
571
Member Avatar for Xessa

*** [code]form.myTextBox.value[/code] [code]document.getElementById("myTextBox");[/code]

Web Development javascript
Member Avatar for Xessa
0
86
Member Avatar for furqan219

:) this page name is search.php which gets siteID from the databse and show in LISTBOX. [CODE] <form action="site_report.php" method="post"> <?php $con = mysql_connect("localhost","xxxx","xxxx"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("onm", $con); $query="SELECT SiteId FROM SitePInfo WHERE Region='Central 1' "; $result = mysql_query ($query); echo "<select …

Web Development pdf php
Member Avatar for furqan219
0
290
Member Avatar for VernonDozier

I have a webpage that is passed a string: [code] http://www.mywebsite.com/gallery.php?gallery=Sand_&_Surf [/code] Using the GET method, I am trying to do this: [code=php] $gallery = $_GET['gallery']; [/code] I want to store "Sand_&_Surf" in the [ICODE]$gallery[/ICODE] variable. From there, I do a database query and display all the paintings that are …

Web Development html-css php
Member Avatar for VernonDozier
0
111
Member Avatar for tulipputih

Hi, Anyone can help me?..must be easy for most of you. instead of just displaying data from the database in a table, i want to make it varies..some in textbox, some in text area. this is my code: [code=php]<?php $query= mysql_query(" SELECT * FROM office WHERE officeID='" . $_GET['officeID'] . …

Web Development display php
Member Avatar for Atli
0
154
Member Avatar for Xessa

I have 3 textboxes names myTextBox1 myTextBox2 myTextBox3 onblur i want to check if the value of the checkbox is true. I have a function in my js file. [code] function isNumeric(myString) {.......} [/code] In my JSP file i write; [code] onblur="isNumeric(X)" [/code] I wrote everything and it does not …

Web Development javascript
Member Avatar for itsjareds
0
100
Member Avatar for adamramadhan

can sombody give me a great example to make a connection php - mysql ( oop - best practice ) ? [ICODE]<?php /* Database Connection */ class db { private $db['host']='localhost'; private $db['user']='root'; private $db['pass']=''; private $db['name']='build'; public function connect($db['host'],$db['user'],$db['pass']) { $db['connect'] = mysql_connect($db['host'],$db['user'],$db['pass']); if (!$db['connect']) { printf("Cannot connect to …

Web Development mysql oop php
Member Avatar for adamramadhan
0
136
Member Avatar for zido85

i have this code, im using jquery which im not very familiar and i need help please:D [code] <html> <head> <title>Select and drag?</title> <style type='text/css'> body,html { color:#333; font-family:Calibri; font-size:11px; } .panel {float:left;width:200px;margin:20px;} ul { list-style-type:none; border:1px solid #999; background:#ccc; padding:20px; min-height:150px; width:100px; } li { display:block; border:1px solid #999; …

Web Development javascript mysql php
Member Avatar for Josh Connerty
0
2K
Member Avatar for jamello

hello smartheads! I am currently investigating the extent of adoption of mono by the different flavours of linux OS. I am aware that opensuse and ubuntu are favourably disposed to mono but what I cannot ascertain is wheher RedHat linux has adopted/implemented mono. I keep getting conflicting reports:confused: . I …

Web Development asp.net c# redhat
Member Avatar for jamello
0
350
Member Avatar for Gary888

Hello, This is a JavaScript/PHP question so I will go ahead and post it here. I would like to know if it is possible to access (in a PHP class) a value/variable that has been returned by a JavaScript function. The function is in external .js class. Here what I …

Web Development javascript php
Member Avatar for Gary888
0
2K
Member Avatar for tulipputih

Hi all.. really need a help. this is looks easy peasy but I can't solve it :( I want to make a link from lesson ID to a details of the selected lesson ID. [icode]<td> "<a href='details.php?lessonID=". $lessonID ."'> </a>" </td>[/icode] when I run the coding the following error appear …

Web Development php
Member Avatar for navi17
0
243
Member Avatar for StNick

Hi all, I have a web app that is used in a number of countries, including ones such as Brazil, where the comma is used as a decimal separator. This is causing problems with my SQL queries, as it is trying to update a number field with "0,013" when it …

Web Development mysql php
Member Avatar for StNick
0
107
Member Avatar for elanorejoseph

i always get some problem when i try to create a edit link and corresponding page. now the value to be edited are not shown in the edit form, and i do want to return to the same page where i have selected value to editted .can any one help …

Web Development php
Member Avatar for Atli
0
120
Member Avatar for fizmo

hiya, I'm very new to how javascript works and have inherited a website that contains a form that uses the calculate total function...which only works in IE. I've searched all over the net trying to find a solution to get this working across all browsers but not having much luck …

Web Development javascript
Member Avatar for fizmo
0
140
Member Avatar for SKANK!!!!!

im trying to get the username of the personal profile. the url is example.com/theusername/index.php the "theusername" i want to make into a variable. How do i do that? i want the variable to be called "theusername" so how do i make that into a variable? does anyone know? with php …

Web Development php
Member Avatar for SKANK!!!!!
0
203
Member Avatar for kkemerait

I have reduced the problem to the smallest code required to reproduce it. It consists of a menu using an unsorted list <ul> in my MasterPage.master file with some css in the stylesheet.css (there are images referenced in the code, but not required to see the problem). Here is what …

Web Development asp.net vb.net
Member Avatar for sknake
0
87
Member Avatar for cmhampton

I recently updated our servers to CF 8.0.1 and now none of my AJAX code works. I checked the XHR response in Firebug and instead of returning the requested data, it returns the HTML code for my site's home page. All of this was working before the update and I …

Web Development coldfusion
Member Avatar for cmhampton
0
103
Member Avatar for websurfer

Hi all: I have this slight problem, where I have a list of months with amounts that need to be updated, but I always need to enter "0.0" in order for my field to be updated properly; but if I just enter "0" it doesnt take it and remains empty... …

Web Development php
Member Avatar for Atli
0
269
Member Avatar for elanorejoseph

any one please help me, i want to know how to swap two variables say, a and b with out using a third vaiable

Web Development php
Member Avatar for elanorejoseph
0
102
Member Avatar for furqan219

Hi, How I can Export PHP Result which shown in table to excel using a Export Button on the Same Page. [B][COLOR="Green"]:) [/COLOR][/B]

Web Development php
Member Avatar for chrishea
0
559
Member Avatar for lithodora

[URL="http://www.daniweb.com/forums/thread46880.html"]Old Thread on the same topic[/URL] I have tried all kinds of things to resolve the issue. My code even works on another server, but I can not use that one. There is NO whitespace. [code]<? // login.php - login form ?> <script type="text/javascript"> function Usernamevalid(which){ var test = validateusername(which); …

Web Development php session
Member Avatar for lithodora
0
148
Member Avatar for cmaclennan

Hey guys, Hoping someone can help me out here, I have a query thats pulling essentially an order record from multiple tables, it pulls all of the customer details etc as it should however when the order contains more than 1 part for example instead of just returning 1 set …

Web Development php
0
87
Member Avatar for Merlin33069

so im really getting into the ajax crowd, though i dont strictly use ajax (no xml) i like the functionality of calling server side scripts for dynamic php functions... anyway i have a few images in this form ive made that i would like to be placed correctly let me …

Web Development image javascript xml
Member Avatar for Merlin33069
0
127

The End.