17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for shahid00704

Hello, I have three different string strings string attach1,attach2,attach3; string attachment="text1.txt,document.doc,text2.txt"; i want the above string should be split and each string after splitting it should store into three different strings ex: attach1="text1.txt"; attach2="document.doc"; attach3="text2.text"; there should be a check how many string are coming after splitting the comma and …

Web Development asp.net c#
Member Avatar for shahid00704
0
120
Member Avatar for prakash.pipil

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <?php $_REQUEST["chkhob"]; if(isset($_REQUEST["btnsubmit"])) { $choise = array("cricket","football","polo","tennies"); foreach($choise as $key => $val) { //var_dump($_REQUEST["chkhob"]); if(in_array($val, $_REQUEST["chkhob"])) { $chkbox[$key] = "CHECKED"; } } $result = implode(" , ", $_REQUEST["chkhob"]); echo "Your Hobies: $result"; …

Web Development javascript
0
55
Member Avatar for rs25

Hi, I'm learning Java/Jsp. I just started a project to learn and have some Practical knowledge. But I'm stuck and confused Kindly suggest me so that I can proceed further.- The Project is a Knowledge System. It stores Lots of Questions their answers which is listed by Categories. There's 2 …

Web Development java java-jsp multithreading
Member Avatar for rs25
0
106
Member Avatar for apollokid

Hi all kinda new with php and forms so wondering if someone could help me out. I have a form with 4 text fields which are used to add the fields with the result in the 4th field. When i submit the field result the 4th field then displays the …

Web Development php
Member Avatar for phpbeginners
0
168
Member Avatar for ampLife

hi, fellow programmers im currently using phpdev and windows xp as a platform. i've been developing this website and now im trying to test it in local network. i have already installed the apache and already set the index.php in the folder www. now my problem is i keep on …

Web Development apache php
Member Avatar for phpbeginners
0
173
Member Avatar for mrjoli021

i have two values in a table and instead of returning the values it returns the word "array" twice. [code] $mysql = new sqlConnection(); $query = "SELECT DISTINCT status FROM status ORDER BY status"; $result = mysql_query($query) or die('Error, query failed'); while ($row = mysql_fetch_array($result)) { echo "$row<br>"; } $mysql->close(); …

Web Development php sql
Member Avatar for mrjoli021
0
2K
Member Avatar for statutoryape

Hi all, Here's the code I've come up with. I deliberately left off an expiration date since I want the cookie to expire when the browser is closed. [CODE]<html> <head> <script type="text/javascript"> function setCookie(name,value) { document.cookie=name+"="+value; } </script> </head> <body> <a href="#" onClick="createCookie('Role',Parent)";>Parent</a> <a href="#" onClick="createCookie('Role',Student)";>Student</a> </body> </html> [/CODE] I've …

Web Development javascript web-browser
Member Avatar for statutoryape
0
2K
Member Avatar for Hughsy17

I'm trying to make a simple login screen with php, but every time I submit the form(with correct values) I am returned to the Login page with the error [COLOR="Red"]"Invalid login, try again"[/COLOR] shown. I can't think of any reason why this will not work, the variables are correct as …

Web Development php
Member Avatar for Hughsy17
0
114
Member Avatar for veledrom

Hi, How do i prevent printing "Warning" bit of connection error? I only want see my error message on screen. Note: I deliberetly enter wrong Host IP to see the message thou. [code] Warning: mysql_connect() [function.mysql-connect]: Host '127.0.0.123123' is not allowed to connect to this MySQL server in C:\apache\login\database.php on …

Web Development apache php
Member Avatar for veledrom
0
100
Member Avatar for rukshilag

[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form name='frm1' method="post" action="student.php"> Student No <input type="text" name='txtStdNo' /> <BR /> Name <input type="text" name='txtName' /> <BR /> Address <input type="text" name='txtAdd' /> <BR /> Contact No <input type="text" …

Web Development php
Member Avatar for nileshgr
0
133
Member Avatar for rukshilag

please help write a javascript function to do a client side validation of the html form i have displayed below. the validation should check if input box Student No cannot be empty; if the txtStdNo box is empty there should be a message "Cannot be empty" and move the cursor …

Web Development javascript
Member Avatar for me655321
0
101
Member Avatar for kanuri1

hi frnds wishesw to all, i have an problenm that how to write javascript in asp.net for showing client side validations........ pls give me reply it is very urgent for me.....

Web Development asp.net
Member Avatar for Oxiegen
0
70
Member Avatar for hajjo

[url]http://www.mattkruse.com/javascript/mktree/[/url] I have tree like that style. I want on node click, to show word loading below the node clicked until new nodes are opened..anyone know how to do this?

Web Development javascript
Member Avatar for me655321
0
105
Member Avatar for Razorholt

Hello everyone, I'm trying to customize the popup menu based on which table I right-click on. I have disabled the right-click function on the page except for the tables. I did this on purpose. This web page will be called from a python software, using the IE activeX, so no …

Member Avatar for Rajivgandhi
0
354
Member Avatar for satar

Hi; Error in cold fusion 5. Failed to send the spooled mail file, E:\CFusion\Mail\spool\BD81.cfmail. SMTP server replied "5.7.1 Unable to relay for [email]aaaa@bbbb.com[/email]" Moved file to E:\CFusion\Mail\undelivr\BD84.cfmail. Can someone help me.

Web Development coldfusion
Member Avatar for freshfitz
0
100
Member Avatar for rogerse

Hi there, I have written a page which is meant to allow a user to enter details of a new car for sale (via a form), and then the submission of this form should add the details to the database. As far as I can see all the code is …

Web Development php
Member Avatar for rogerse
0
143
Member Avatar for ayesha789

Hi Dear all Its my table structure... [CODE=mysql]CREATE TABLE IF NOT EXISTS `limsrentpayment` ( `PaymentMonth` varchar(15) NOT NULL, `SiteID` varchar(15) NOT NULL, `DurationS` varchar(25) NOT NULL, `DurationE` varchar(25) NOT NULL, `Amount` varchar(15) NOT NULL, `pDate` date NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=latin1;[/CODE] and data stored in it [CODE=mysql]INSERT INTO `limsrentpayment` …

Web Development data-structure finance php
Member Avatar for urtrivedi
0
159
Member Avatar for fuchsia555

hi how can we minus 15 pixel from bottom height in fitting for create thumbnails from original image in this code ? i mean how can tell php that capture from original image the ( all width ) and ( all height - 15 pixel from bottom ) [CODE] # …

Web Development image php
Member Avatar for fuchsia555
0
260
Member Avatar for CaffeineCoder

Does anyone know how to setup a dropdown list for C# without using a database? I'm trying to set up one that will allow users to select a newsletter from the dropdown and have it pop up in a new window. Any ideas? [CODE] <ASP:DropDownList id="NewsletterSelect" runat="server"> <ASP:ListItem value="'[Path]'">Newsletter 1</ASP:ListItem> …

Web Development asp.net c# html-css
Member Avatar for CaffeineCoder
0
282
Member Avatar for ceyesuma

The name of this question jstl_var_message Hello and Thank you in advance for any assistance. [B] System info: [/B] Netbeans, JSF, glassfish [B] The Purpose of this post is: [/B] To set a variable to use to map the stylesheet.css to messages [B] The functionality of this code is: [/B] …

Member Avatar for ceyesuma
0
1K
Member Avatar for Kruptein

I do php coding for some time and want to learn something new. After some researsh I ended up with 2 languages/frameworks but I can't choose between them. I'm a python programmer so python Django might be easier to start with. But I don't know a well-known website which is …

Web Development python python-django ruby
Member Avatar for Kruptein
0
527
Member Avatar for dsmush

Hi I'm doing a project which requires a registration/login page. I have created both registration and login html pages and have done the validation servlet for the login page. I've also attempted the validation servlet for the registration page, but this is where I am struggling because I can't get …

Web Development java java-jsp sql
Member Avatar for javaAddict
0
508
Member Avatar for veledrom

Hi, I have two classes. I user [inlinecode]throw new Exception("Error");[/inlinecode] in first class. I want to catch that error message in second class with "try catch". How do i do it? Thanks

Web Development oop php
Member Avatar for veledrom
0
146
Member Avatar for peter_budo

I will keep it simple. I need to list id of every element in given section. Example [code=html] <div id="leftSide"> <ul id="leftList"> <li id="item1"item 1</li> <li id="item2"item 2</li> <li id="item3"item 3</li> <li id="item4"item 4</li> <li id="item5"item 5</li> <li id="item6"item 6</li> </ul> </div> <div id="rightSide"> <ul id="rightList"> <li id="item2"item 2</li> <li …

Web Development javascript javascript-jquery
Member Avatar for peter_budo
0
130
Member Avatar for feoperro

Hi, I've been searching around for quite some time now but haven't found what I've been looking for... I'm trying to stretch a flash object inside my browser but for some reason the more I stretch it, the bigger the boarders get while the actual movie on the inside stays …

Web Development flash javascript
Member Avatar for feoperro
0
223
Member Avatar for jino

Hi all, I am using codeigniter. I want to generate dynamically the contents of the textarea of the tinyMce. Is there any plugin for generating the content something like smarty. Thanks in advance. Jino

Web Development php php-codeigniter
Member Avatar for jino
0
112
Member Avatar for jino

Hi all, I am not getting the tinymce edit textarea in an html page that is generated by ajax. I am calling the ajax using jquery. I have kept the tiny_mce.js file on the page that is generated via ajax. The path is correct but am not getting the page …

Web Development javascript
Member Avatar for jino
0
1K
Member Avatar for liamfriel

Hello All, I got an email like this: [QUOTE]Details: Your site is hacked lock hear (mafiaradio.is-a-chef.net) Resolved: (213.175.205.68)and lock hear [url]http://mafiaradio.is-a-chef.net:8000/[/url] u will see your site is hacked ! clean your root and change your users password !![/QUOTE] I checked the url and it was indeed our site - I …

Web Development php
Member Avatar for liamfriel
0
100
Member Avatar for wonderland

Hi, My apologies if this is the wrong section. I wanted to know is it possible to set up .htaccess so that when user is promted for username and password, username is already input. OR just password is needed in order to proceed ? Thanks

Web Development xml
Member Avatar for wonderland
0
103
Member Avatar for Guy Perkins

It's been a while since I have had to create a search box to search and display data from sql data base. Just need a little push to refresh my memory. Thanks

Web Development asp.net
Member Avatar for iamchamith
0
90
Member Avatar for girl.java

hello everyone could u please solve this for me Write embedded JavaScript code in the required HTML tags that accepts three numbers from the user and pring out the maximum as the following result : First Number is : 3 Second Number is : 4 Third Number is : 5 …

Web Development javascript
Member Avatar for girl.java
0
103
Member Avatar for ruwanaru

What i need is Toggle the each div with the relevant check box ex:- when i checked "[B]div1chk[/B]" i want to toggle "[B]div1[/B]" [CODE] <input type="checkbox" id="div1chk" /> <input type="checkbox" id="div2chk" /> <input type="checkbox" id="div3chk" /> <div id="div1"> div1 showed </div> <div id="div2"> div2 showed </div> <div id="div3"> div3 showed …

Web Development javascript
Member Avatar for terrial
0
127
Member Avatar for Stefano Mtangoo

Hi guys, its me again. How do you write templates for your sites (without template engine)? Pure php or what? I want to hear how you do it

Web Development php
Member Avatar for terrial
0
96
Member Avatar for Kystadio

Right now, I have a PHP script which - ideally - selects "posts" from a table, based whether or not the the time in the post is greater than the current time. [code]if(isset($_POST['id'])) { $id=addslashes($_POST['id']); $time=date("h:i:s"); $sql=mysql_query("SELECT * FROM public_wis WHERE mig_id='$id' AND time >= '$time'"); if(mysql_num_rows($sql)!=0) { while($rows=mysql_fetch_array($sql)) { …

Web Development mysql php
Member Avatar for pritaeas
0
98
Member Avatar for draxous

I used below code to display some data using crystal report.i used separate dataSet() object and connected it to the crystal report setDataSourse. There are no compile errors,but after running it gives me the error [B]"Load report failed". [/B] plz help.. The code. [CODE] String ConnectionString = ConfigurationManager.ConnectionStrings[0].ConnectionString; SqlConnection con …

Web Development asp.net dataset
0
51
Member Avatar for itisnot_me

ok so what i am trying to do it have the app that i am working more private as in make the browser clear the data with in the input forms so that it is not displayng info. for example if i was to type my name in a name …

Web Development php
Member Avatar for itisnot_me
0
90
Member Avatar for Tekkno

I have a javascript that displays a countdown in the browser. The problem is that if the element does not load immediately the countdown turns to negative. Here is the script: [code=javascript] <script> var time = 10; //How long (in seconds) to countdown var page = '<?php echo $page ?>'; …

Web Development javascript
Member Avatar for Airshow
0
258
Member Avatar for vizz

How to send SMS on mobile from website for user account registrration using PHP, Mysql ? How to send SMS that contain username & auto-generated password? Plerase, anybody ?......, it's urgent.............. THANK YOU in advance

Web Development php
Member Avatar for vizz
0
731
Member Avatar for bharanidharanit

Hello, How to create hover menu. I want to create exactly as attached in the picture. When i mouse over the attendance, the menu should be displayed as such in the picture. Anyone help in this? Thankyou. [ATTACH]12847[/ATTACH]

Web Development asp asp.net
Member Avatar for bharanidharanit
0
300
Member Avatar for bharanidharanit

Hello sir, how to change this coding to vb.net coding? [CODE] Stream photoStream = PhotoUpload.PostedFile.InputStream; int photoLength = PhotoUpload.PostedFile.ContentLength; string photoMime = PhotoUpload.PostedFile.ContentType; string photoName = Path.GetFileName(PhotoUpload.PostedFile.FileName); byte[] photoData = new byte[photoLength]; photoStream.Read(photoData, 0, photoLength); [/CODE]

Web Development asp.net c# vb.net
Member Avatar for bharanidharanit
0
152
Member Avatar for bharanidharanit

Hi used the below coding for enrypting and decrypting a text. But with this i dont know how to save to a database, when i tried i am getting many errors. How to do this? [CODE]Private Sub cmdEncrypt_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click ' Encrypt MyText …

Web Development asp.net
Member Avatar for bharanidharanit
0
109
Member Avatar for gedas

hey everyone, i am trying to create a web page using Ajax to create a dictionary well simply when you write down a word its definition would show up straight away. the definition would be stored in the file followed by the word. can anyone recommend me how to start …

Web Development php
Member Avatar for gedas
0
243
Member Avatar for daneuchar

[CODE]$output[] = '<td><IMG SRC="../cart-demo/images/1.jpg" WIDTH="100" HEIGHT="100"></td>';[/CODE] hi, i am facing a small problem. can any one hint me or help me with the image property i wanna increase the 1.jpg to 2.jpg and so on.. kindly help With Regards danny

Web Development image php
Member Avatar for daneuchar
0
95
Member Avatar for daryll1

For some reason this is killing me, I am trying to update the field available to '-1' and don to '0' when the user submits the correct string into the input box, the thing I cant work out is why available wont update but don will the code is below …

Web Development mysql php
Member Avatar for daryll1
0
103
Member Avatar for ayesha789

Hi dear all I have 2 question to be asked 1. everything is working fine but I couldnot understand [ICODE]$page = $_GET['page'];[/ICODE] what function is performing in the script? 2. when I change limit greater then 2 its not echo any record but for limit=1 or limit=2 its working perfectly. …

Web Development php ui-ux
Member Avatar for dasatti
0
1K
Member Avatar for help_lucky

Hello All, I am new to PHP and the requirement is, i need to design a form with multiple checkboxes with same name. I tried using arrays and the code is [code] <td> <input type="checkbox" name="eroom_status[]" value="empty" <?php if(isset($_POST['eroom_status'])) { if (in_array('empty',$POST['eroom_status']) { $check = 'checked';} } echo $check;?> > …

Web Development php
Member Avatar for nileshgr
0
96
Member Avatar for chupinette

hello all! :) Well this is my code: [CODE] for ($i=0; $i<5; $i++) { $random= array_rand($ids); echo "<br> $random generated"; if ($check[$random]<>0) { $i--; echo " number generated again"; } else { $check[$random]=1; // set check to 1 to know the array number has been used } } $rnd_num[]= $ids[$random]; …

Web Development php
Member Avatar for kireol
0
121
Member Avatar for chrishea

I'm a PHP guy so I still struggle with Javascript. The answer to this is probably easy. I need to add some animation effects and I'm experimenting with JQuery [B]animate[/B]. The sample routine is set up to run when you click on the Run link. I want to change the …

Member Avatar for phpbeginners
1
222
Member Avatar for web3

when i use <?php echo $_SERVER['PHP_SELF']; ?> in my forms the get values disappears. How to fix that? Is there some function?

Web Development php
Member Avatar for jcanaway
0
164
Member Avatar for peck3277

Hey guys im hoping someone can please help me. I'm trying to get my website to have a simple feed back from and it just won't work for me. This is the script i'm using [CODE]<?php if (isset($_REQUEST['email'])) { $email = $_POST['email'] ; $subject = $_POST['subject'] ; $message = $_POST['comment'] …

Web Development php
Member Avatar for gvwiberg
0
135

The End.