190 Posted Topics
Re: Hi.. This is a simple script I have used.Hop this will be help full for u. [CODE]<html> <head> <script type="text/javascript"> function image_zoom_in(id) { document.getElementById(id).height="150"; document.getElementById(id).width="200"; } function image_zoom_out(id) { document.getElementById(id).height="150"; document.getElementById(id).width="30"; } </script> </head> <body bgcolor="skyblue"> <div align="center"> <table><tr><td><font color=maroon size="18"><b>PhotoGallery</b></font></td></tr></table> <br> <br> <br> <table border=5 bordercolor=maroon> <tr> <td> <a … | |
Hi... Is it possible to copy a drop down list into another drop down list ? | |
[B]Hi... I have a table named empl with following fields(eid,ename,esal) I had inserted the following records to empl table 1 Govind Raj 20000 2 GovindRaj 600000 3 Govindraj 10000 4 govindraj 50000 5 Govind.Raj 50000 6 Govind-Raj 20000 7 Govind_raj 2000 8 Govind.raj.3000 9 govind,raj. 4000 10 Govind'raj 6000 11 … | |
kindly give vb.net code samples for connecting crystal report and postgresql Also give information about how to add tables to a crystal report from a postgresql database using ODBC or any other method. | |
Hi.. I have a project to display PDF files by clicking a hyper link. The PDF are huge in size and it will take a long time to load. I want to show a message like "Loading Please wait" on that loading time.. Any body have idea about this?Help me.... … | |
Hi... I want to enter more than one date onto textfield array with same name. The javascript I have used is shown below.It works with text field without array. [U]calender.html[/U] [CODE] <script src="CalendarPopup.js"> </script> <SCRIPT LANGUAGE="JavaScript" ID="js1"> var cal1 = new CalendarPopup(); cal1.showNavigationDropdowns(); </script> <form name="newenquiry" method="post" > <input maxLength="10" … | |
Hi... I have a problem on my project which is done in VS2005.In which I am creating crystal report and i want to export it to a pdf on an export button click. But an error is showing as 'Missing Parameter Value'. The code i used is shown below:- [CODE] … | |
[B]Hi... I want to add a text field inside a div(div with id "my_div") tag dynamically(By clicking "Add" button). The code below shown is adding the new textfield after the submit button not inside the "my_div" div . [CODE] <html> <head> <script language="javascript"> function add() { var divTag = document.createElement("div"); … | |
Hi.. I have a problem with my project. I want to create dynamic radio button group with different names. [CODE]<script language="javascript"> function changeIt() { my_div.innerHTML = my_div.innerHTML +"<br>Skills<input type='text' name='mytext[]' value='mytext'>"; my_div.innerHTML = my_div.innerHTML +"<br><input type='radio' id='my' value='mytext' value='male' name='radio[]'>"; my_div.innerHTML = my_div.innerHTML +"<input type='radio' id='my' value='Female' name='radio[]'>"; //var el … | |
Hi, I want to create a group of radio button(2 buttons on a group) by dynamically with different names.After submitting the form I want to retrieve it on PHP. I can create the radio buttons dynamically.But I could not retrieve the values on PHP. There is a problem with radio … | |
Is it possible to run an exe file directly onto the server without downloading/saving into client machine? I had used that exec() function .But it is showing no display. <?php echo exec("d:\example\php_exe\1436.exe"); ?> Also I tried it using backticks operator | |
Hi , I want to access a pdf file by clicking a hyperlink using PHP.the pdf file is stored on a shared folder of a storage machine.It work with internet explorer.But with firefox and chrome its not working.Showing error on chrome as "The loading of the URL has been blocked … | |
Hi.. I have installed xampp-win32-1.7.4-VC6 on windows. I can access it as localhost. But showing the following error while it accessing from other machines which are locally connected. The error as follows [COLOR="Red"]Access forbidden! New XAMPP security concept: Access to the requested directory is only available from the local network. … | |
Hi... I have a problem to load a PDF file which is stored on another machine.I had loaded the PDF on the same machine using following PHP script.Here I had used a hyper link to load PDF. [CODE] <?php $file="first"; $pdfFile=$file.".pdf#page=1"; ?> <a href="<?php echo $pdfFile; ?>" target="_blank" > Click … | |
Hi.. I want to take the max value of the substring of a varchar field having values as SN1,SN2....SN10.I used the query as following [CODE]select max(substring(st_no,3,4)) from tbl_st;[/CODE] I am getting the max value as 9.I want to get 10. If somebody knows please help me | |
Hi.. I had successfully connected MySQL database usng ADODB.But I could not connect Using PostgreSQL database with ADODB.I had used the following code for connection. [CODE] <?php include("adodb/adodb.inc.php"); $db = NewADOConnection('postgres'); $c=$db->Connect("localhost", "postgres", "postgres", "dbname"); $db->debug = true; if(!$c) { echo "not connected"; } else { echo "successfully Connected"; } … | |
Re: Very simple modification, Change your first script as follows.... <td> <input class='radio' [id="__id__"] type="radio" name="typeselection" checked onclick=showtype('__type__') value='' ></td><td onclick=showtype('__type__')>__label__ </td> | |
Re: U can use AJAX to store the session after the onchange event.AJAX helps to send data from javascript to PHP.On the Onchange event invoke a javascript function.Through this function invoke a php file to create a session variable using AJAX. | |
Re: Just go through this URL of phpclasses.org. [url]http://www.phpclasses.org/package/1442-PHP-Result-Set-pagination-with-database-abstraction.html[/url] There is an exmaple code u can download for pagination containing previous & next button..I think it will help you | |
Re: The problem is with ur included pages. It the missing of closing braces on functions or loops. Checkout the included pages. | |
Re: This error is being caused because of the failure of mysql query. It is due to the following resons missing of single quotes for varchar & date incorrect posted data because of white space,quotes etc. It is better u display all the query statements before running. | |
Re: What r u doing with compare.php? After selecting the first drop down list U have to refresh second drop down list. Using Ajax to load data to second drop down list . | |
Re: T think it is the missing of double quotes/single quote.The code u posted have no errors.I executed after commenting the 2 function calls.If u can post entire code | |
Re: Hi... Before I also have this problem. It is better to use ADODB. ADODB is a PHP abstraction class (install adodb to the project folder). Give name of the form elements as the name of the fields in the database. At the time of insertion first the simply calls an … | |
Re: First u set primary key for case table,say like case_id. For insertion u can use for loop. On the update form list all the records which may be have same $case value.But different case_id. Then update records by specifying their case_id value. | |
Re: You also try this [CODE] ("SELECT * , image.user_id, image.name, page.user_id, page.urlcode FROM users JOIN mystuff.page ON (user.user_id=page.user_id) JOIN mystuff.image ON image.user_id = users.user_id WHERE page.user_id = users.user_id AND users.last_name = %s AND users.first_name = %s" [/CODE] | |
Re: Also using AJAX you can retrieve the javascript variables to php. | |
Hi.. I want to encrypt and decrypt a password using c#.net.If any body knows please help me. | |
Hi.. I have an issue on my project.I want to open a particular page of a PDF by clicking a hyper link.How should I do it?any idea ? | |
Hi... I need a batch script to convert a PDF file to a text file on window xp.Any idea ?please help me... | |
Hi... Is it possible to search a string on a PDF file? I want to search and highlight a string on a PDF file . If any idea please help me..... Thanks for advance | |
Hi... I have an issue on project.I want to open a particular pdf page by specifying its page no using PHP script.Is it possible?please help me | |
Hi.. I want export data from database to a PDF using c#.In database I stored the data as 'nvarchar'.Any body have any idea About this? Thanks in advance. | |
Hi.. I want to use the pear package.Pear is already on my xampp package.On the file php.ini the pear is included(I didn't change the file php.ini..there is a line like include_path = ".;c\xampp\php\PEAR").I used the following code to retrieve the results from database..But it is not working .. [CODE]<?php // … | |
Hi... I am doing a PHP project.I had executed the project on 3 machines.For one machine it is showing a warning as follows.. [U][B]warning[/B][/U] Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. … | |
Hi.. I am designing a tabless web page.The page contains 2 div sections.One is for menus and other is to display the contents of the page by clicking the menus.I don't want to use frames and iframes.Is it possible to do it using the div tag? The code I had … | |
Any body knows how to close a firefox new tab window using javascript by clicking a hyper link? I used the following code <a href="" onclick="window.close()">Close this window</a> <A href="javascript: self.close ()">Close this Window</A> It works for new windows .But it will not works for firefox new tabs.. | |
There is an a problem on declaring variables on MYSQL stored procedure.The code I used I used is shown below. [CODE]DELIMITER $$ CREATE /*[DEFINER = { user | CURRENT_USER }]*/ PROCEDURE `emp`.`third_SP`() /*LANGUAGE SQL | [NOT] DETERMINISTIC | { CONTAINS SQL | NO SQL | READS SQL DATA | MODIFIES … | |
Hi..... There is a problem with the following mysql query create table emp2 (Leave decimal(12,2) default NULL) [B][U]Error message[/U][/B] Error Code: 1064 - 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 'Leave decimal(12,2) … | |
Hi.. I had used the following command to restore a mysql database on command line. mysql -u root -p admin test < D:\backup\test.sql here username-root,password-admin,database-test,backupfile located at-D:\backup\test.sql. It doesnot working..showing error messages..If anybody knows plz help me. Thanks |
The End.