14 Solved Topics

Remove Filter
Member Avatar for divyakrishnan

Hi , I am using following script to get the values of the language details. <FORM action="final.php" method="post"> <div align="center"> <table width="434" border="0"> <tr> <td>Languages Known</td> <td>Speak</td> <td>Read</td> <td>Write</td> <td>Delete</td> </tr> <tr> <td> <select name="lang[]" id="select"> <option value="">-Select-</option> <option value=1>Hindi</option> <option value=2>English</option> <option value=3>Tamil</option> <option value=4>Telugu</option> <option value=5>Kannada</option> </select></td> <td><input …

Member Avatar for p@user
0
284
Member Avatar for divyakrishnan

Hi.. I want to call mysql Stored procedure with OUT parameter. Its worked in phpamyadmin But in php it returning empty result. I have used the following php script. Can anyone help me? <?php include("dbcon.php"); $countryname="india"; $rs1 = mysql_query( 'CALL countCountry($countryname,@totalcount)' ); $rs = mysql_query( 'SELECT @totalcount as totalcount' ); …

Member Avatar for divyakrishnan
0
4K
Member Avatar for divyakrishnan

Hi... I am using xampp-win32-1.7.3.I want to use Adodb.I had seen that adodb is included on xampp package(xampp/php/pear/adodb).I had used the following code to retrieve data from mysql database. [CODE]<?php include("adodb.inc.php"); $db = NewADOConnection('mysql'); $db->Connect("localhost", "root", "", "emp"); $result = $db->Execute("SELECT * FROM employ"); if ($result === false) die("failed"); while …

Member Avatar for son.anh.963
0
3K
Member Avatar for divyakrishnan

I have a shared folder with images in a machine. How can I display images from that machine in a web page in another machine. I used the follwing code but obtained no output ** <?php $img_src="file://192.168.0.138/E:/img1/12/12N69/12N69$0001A1.JPG"; ?> <img src="<?php echo $img_src ?>" alt="" width="1000" height="220" id="myimg" />**

Member Avatar for vibhaJ
0
352
Member Avatar for divyakrishnan

Hi.. Is it possible to set a email server on localhost? Thanks, Divya Krishnan

Member Avatar for dean8710
0
95
Member Avatar for divyakrishnan

Hi, I have a table field with var char data type having values like TVM/345/2000,TVM/01/00,TSR/42/01 etc.I want to extract the sub string from first location to the second '/' location as TVM/345/. Is there any built in function to solve is? Thanks

Member Avatar for divyakrishnan
0
120
Member Avatar for divyakrishnan

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

Member Avatar for divyakrishnan
0
152
Member Avatar for divyakrishnan

[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"); …

Member Avatar for manu555
0
4K
Member Avatar for divyakrishnan

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 …

Member Avatar for divyakrishnan
0
5K
Member Avatar for divyakrishnan

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 …

Member Avatar for divyakrishnan
0
772
Member Avatar for divyakrishnan

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

Member Avatar for divyakrishnan
0
13K
Member Avatar for divyakrishnan

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

Member Avatar for divyakrishnan
0
132
Member Avatar for divyakrishnan

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 …

Member Avatar for divyakrishnan
0
88
Member Avatar for divyakrishnan

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

Member Avatar for hielo
0
83

The End.