199 Posted Topics
Hi I purchased windows hosting for php from Godaddy. But my .htaccess is not support in windows, so i have to use web.config for my redirection and hidding the filename extension. Can anyone please help me to fix the issue. | |
Re: Let Try the below Javascript <SCRIPT language="javascript"> function addRow(tableID) { var table = document.getElementById(tableID); var rowCount = table.rows.length; var row = table.insertRow(rowCount); var cell1 = row.insertCell(0); var element1 = document.createElement("input"); element1.type = "checkbox"; element1.name="chkbox[]"; cell1.appendChild(element1); var cell2 = row.insertCell(1); var element2 = document.createElement("input"); element2.type = "text"; element2.name="txtbox[]"; cell2.appendChild(element2); //cell2.innerHTML = … | |
Hi friends, I am using MSSQL Database, it has more than 13246 reconds in a table. I am trying to display it in a table with bootstrap. But i am unable to load my datas. can any please help me how to resolve this my code is below <?php session_start(); … | |
Hi I collected the code from internet. i am trying to use dependent dropdown in the popup screen. i can able to display first dropdown in a popup but i am unable to display the second dropdown. can any please help me to fix that issue. **test.php** <link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" … | |
Re: Hi In info.php you are having 2 variable such as $q and $mode. but you are getting a value for $q variable from dropdown value. what abt $mode? | |
Re: <option name = "techOption" value = "<?php $line['tech_name'];?>"><?php echo $line['tech_name']; ?> </option> remove the name="techOption" <option value = "<?php $line['tech_name'];?>"><?php echo $line['tech_name']; ?> </option> | |
Re: I think you can use $j instead of $i in php <script language="javascript">function addRow(tableID){var table=document.getElementById(tableID);var rowCount=table.rows.length;var row=table.insertRow(rowCount);var colCount=table.rows[0].cells.length;for(var i=0;i<colCount;i++){var newcell=row.insertCell(i);newcell.innerHTML=table.rows[0].cells[i].innerHTML;switch(newcell.childNodes[0].type){case"text":newcell.childNodes[0].value="";break;case"checkbox":newcell.childNodes[0].checked=false;break;case"select-one":newcell.childNodes[0].selectedIndex=0;break;}}} function deleteRow(tableID){try{var table=document.getElementById(tableID);var rowCount=table.rows.length;for(var i=0;i<rowCount;i++){var row=table.rows[i];var chkbox=row.cells[0].childNodes[0];if(null!=chkbox&&true==chkbox.checked){if(rowCount<=1){alert("Cannot delete all the rows.");break;} table.deleteRow(i);rowCount--;i--;}}}catch(e){alert(e);}}</script> <form method="post"> <input type="button" value="Add Row" onclick="addRow('dataTable')"> <input type="button" value="Delete Row" onclick="deleteRow('dataTable')"> <table id="dataTable" width="350px" border="1"> <tbody><tr> <td><input … | |
Re: in line 9 you are displaying $id. GET value of id is missing. **ie ** $id = $_GET['id']; | |
Hi Friend. i want to add a tr in an table using php only. please help me how to create it. i dont want jquery or javascript. ![]() | |
Hi I am having two textbox, textbox1 is having autosuggest feature. i want to display related value based on textbox1 value. can any one pls help me. i collected the code from internet **Output Example** Report Name : PHP Report Version: It has to display the Verison from the database. … | |
Re: I think the below link will be helpful for you http://www.9lessons.info/2009/08/twitter-like-search-with-jquery-ajax.html | |
Re: I think the below link will be helpful for you http://www.9lessons.info/2009/08/twitter-like-search-with-jquery-ajax.html | |
Hi Friends i am trying to upload the photos in my dynamic place through my script. my path will be specified below [B]$uploaddir = ../gallery/categoryname/name/[/B] when i was trying to upload the photo is not moved in the above path. unfortunatelly is it moved to [B]../gallery/[/B] Please help me to … | |
Hi Can any one please help me on the below issue. i can able to display values for texbox. but i don't know how to load the values for <div id='txtHint' name='ptype'></div> and if i change any value in conn_type it has to display. **test.php** <form action="<?php $_PHP_SELF ?>" method="post" … | |
Hi Can anyone please help me on below issue I have created a website with PHP & MySQL. Its look like an Desktop Applications | |
Hi Please help me on the below issue, how can we can get the `<span id='newText'></span>` value in php. i am not able to get the value in php variable. <html> <head> </head> <body> <script type="text/javascript"> function changeThis(){ var formInput = document.getElementById('theInput').value; document.getElementById('newText').innerHTML = formInput; } </script> You wrote: <span … | |
HI Please help. how to solve this I am using the below code. insert is working fine. but i am having problem in edit session i edit page i can able to display both values from Database. If i am changing the textbox1 value i am not able to get … | |
Re: Are you getting any error. If So, Please show it | |
HI can any one please help me how to convert timestamp to IST jtime = 2014-07-23 02:41:05 to Date H:i:s am/pm formate | |
Re: http://www.freezecoders.com/2014/01/simple-pagination-using-php-mysql.html | |
Re: Hi, The below link will be helpful http://blueimp.github.io/jQuery-File-Upload/basic.html | |
Re: The below link will be helpful http://www.freezecoders.com/2014/01/simple-pagination-using-php-mysql.html http://www.techumber.com/2012/08/simple-pagination-with-php-mysql.html http://www.phpgang.com/how-to-create-pagination-in-php-and-mysql-with-ajax_315.html http://www.downloadjavascripts.com/Pagination.aspx | |
![]() | |
Re: **Browser and Device support**  Visit the below link for more informations http://www.videojs.com/ http://mediaelementjs.com/ http://www.sublimevideo.net/ | |
Re: Below link will help you http://www.99points.info/2010/08/new-ajax-star-rating-system-in-tag-cloud-style-using-jquery-and-php/ | |
Re: From where you are getting a value for $league_id and $season | |
Re: Below CSS will help you how to /***CREATE AND HIDE THE TRIANGE***/ <style> /***CREATE AND HIDE THE TRIANGE***/ a.tooltip:before { z-index: 1000; /*see the support section below*/ position: absolute; /*see the support section below*/ content: ""; /*because there's nothing between the "" the content of the psuedo elements will be … | |
Re: Below link will help you to know more about pagination http://www.downloadjavascripts.com/Pagination.aspx | |
Re: you have to use if condition for getting the inserted data from the database. **Example** <option value="<?php echo $row["Id"];?>"<?php if($row["Id"]==Edit query data Value){?>selected="selected"<?php } ?><?php echo $row["Title"]; ?></option> | |
Hi I was working on wizard registration form i collected the code from web and i gave required in the input tag. But its not working. Can any one please help me to resolve this issue. **Html page** <div class="row wizard-row"> <div class="col-md-12 fuelux"> <div class="block-wizard"> <div id="wizard1" class="wizard wizard-ux"> … | |
Hi I am trying to upload excel file data thorugh .net uploading code. But i am getting an error message. can any one please help me to resolve this. **Upload.aspx** <%@ Page Language="C#" AutoEventWireup="true" CodeFile="add_residentupload.aspx.cs" Inherits="add_residentupload" %> <table class="table-list"> <tr> <td width="30%">Upload File</td> <td><asp:FileUpload ID="fupUpload" runat="server" /> <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" … | |
Re: Hi you have use Float as left and margin as 10 px. **Example** <div style="background-color:gray; width:100px; height:50px;float:left; margin:10px;"> | |
Re: Hi The below link will be help for you to know more about the pagination http://www.downloadjavascripts.com/Pagination.aspx | |
Re: Hi POST is missing on line 18 & 19 as below $pass=$_POST['pass']; $birth=$_POST['birth']; | |
Re: Hi **Javascript Code** <script language="javascript"> function sizeToMyContent( ifRef, setW, setH, fMargin ) { //alert(ifRef); var ifDoc, margin = typeof fMargin === 'number' ? fMargin : 6; try { ifDoc = document.getElementById(ifRef).contentWindow.document.documentElement; } catch( e ) { ifDoc = null; } if( ifDoc ) { if( setH ) { document.getElementById(ifRef).height = … | |
| |
Re: I think the below code will help you to get the expected result <table width='700' border='0'> <tr style='font-size: 12px; font-weight: bold; color: rgb(0, 153, 204); background: none repeat scroll 0% 0% rgb(230, 249, 217);'> <td width='150'>Login date</td> <td width='150'>User</td> <td width='100'>Login result</td> <td width='200'>Notes</td> </tr> <?php $num=1; $sql1 = mysql_query("select … | |
Hi I am trying to display the server(system) status ON/OFF with php script. can anyone please help me how we can find the status. for example we are having 3 machine. SRVR01 ON SRVR02 OFF SRVR03 ON | |
Re: Can you try the below code <input type="submit" id="del_event" name="del_event" value="Delete Event" /> <input type='checkbox' name='check' id='check' onclick="dis_enable_submit()" value='y'/> <script type="text/javascript"> function initthis() { document.getElementById("del_event").disabled=true; } function dis_enable_submit() { if(document.getElementById("check").checked == 1) { document.getElementById("del_event").disabled=false; } else { document.getElementById("del_event").disabled=true; } } window.onload=initthis; </script> | |
Re: try the below link http://roshanbh.com.np/2008/01/populate-triple-drop-down-list-change-options-value-from-database-using-ajax-and-php.html http://www.downloadjavascripts.com/list/javasiteaaa34/Details.aspx http://php-ajax-code.blogspot.in/2007/07/ajax-triple-dropdown-with-states-cities.html ![]() | |
Re: Let try the below code <?php if ( $saluran == 'D') { ?> <select name='from_D' id='from_D' > <option value='' selected>-From-</option> <?php $resultSubject = mysql_query('SELECT * FROM status'); while($row = mysql_fetch_array( $resultSubject)) { $ID = $row['ID']; $codeStatus = $row['codeStatus']; $statusSurat = $row['statusSurat']; ?> <option value='<?php echo $codeStatus;?>'><?php echo $statusSurat;?></option> <?php } … | |
Re: Use below code for config.php <?php $mysql_hostname = "localhost"; $mysql_user = "database username"; $mysql_password = "database password"; $mysql_database = "database name"; $bd = mysql_connect($mysql_hostname, $mysql_user, $mysql_password) or die("Opps some thing went wrong"); mysql_select_db($mysql_database, $bd) or die("Opps some thing went wrong"); ?> Due to column mismatch in line 14. Remove **'',** … | |
Hi I am working on dynamic add row. In that if a value is enter in ptype box it should disable the releated textbox filed based on the value. i written code but its not working can any please help me to solve this issue **html Page** <form id='students' method='post' … | |
Re: Hi Can you please check the below <option value="headmark_sel" id="headmark"> <?php echo "$head_mark"; ?></option> <?php } ?> Replace it as <option value="<?php echo $head_mark; ?>" id="<?php echo $head_mark; ?>"> <?php echo $head_mark; ?></option> <?php } ?> | |
Hi I am using MSSQL ODBC Connetion for my project in PHP. I have created login form with PHP and MSSQL with ODBC Function. Can any one please help how to use SESSION to carry on to next page without get function. | |
Hi i am using array for uploading images but i am unable to insert it into database as well as in the folder. can anyone please help me to resolve it. $name = $_GET['name']; $gititle = $_POST['gititle']; $number_of_file_fields = 0; $number_of_uploaded_files = 0; $number_of_moved_files = 0; $uploaded_files = $_POST[$_FILES['images']['name'][$i]]; echo … | |
Re: Hi I think you have missed one closing brace in line 80 <?php } ?> ![]() | |
Re: http://naku.dohcrew.com/libchart/pages/samplecode/ http://phplot.sourceforge.net/phplotdocs/ex-bars1.html http://phpchart.net/examples/complete-phpchart-examples/#prettyPhoto <?php require_once("../conf.php"); ?> <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>phpChart - Bar Chart</title> </head> <body> <div><span> </span><span id="info1b"></span></div> <?php ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //Bar 1 Example ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// $s1 = array(2, 6, 7, 10); $ticks = array('a', 'b', 'c', 'd'); $pc = new C_PhpChartX(array($s1),'chart1'); $pc->add_plugins(array('highlighter','pointLabels')); $pc->set_animate(true); … | |
Hi Friends I am trying to insert into my table. But i am getting an error message as below Notice: Undefined index: img_path in D:\xampp-portable\htdocs\cgoogle\entergoogle\addpages.php on line 21 Notice: Undefined index: img_path in D:\xampp-portable\htdocs\cgoogle\entergoogle\addpages.php on line 23 can any one please help me to resolve. **my code is** <?php if(isset($_POST['Submit'])) … |
The End.