Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~55.3K People Reached
Interests
Cricket, Movies, Computer & Internet
Favorite Tags
Member Avatar for Indians

here if i click the Generate Employee Id button it should generate the random number in input textfield and then that button should hide after generate the id. how to do that? but, i can automatically generate the random number in input textfiled without the button. that code is below …

Member Avatar for Prashant_13
0
6K
Member Avatar for ajharul

Hi all! This is my frist discussion. I'm shearing you a very helpfull website that helping me to learn HTML,CSS,Javascrift online. It's w3schools Wish it will help you.

Member Avatar for shashikumar s g
0
220
Member Avatar for Indians

i want to upload the employee profile picture into mysql database using php. i tried this coding. image uploaded successful but when i fetch that image on browser it shows me text character like this (ÿØÿàJFIFHHÿáLExifMM*bj(1r). one more problem is below 20kb size images only uploaded into mysql. how to …

Member Avatar for mattster
0
3K
Member Avatar for Indians

Here, i'm trying to fetch the image from database. In my database i can see a image file size ([BLOB - 62.3 KiB]). But, it didn't work. i didn't get any error here. i'm confused where i made a mistake here? <?php include('config.php'); ini_set('display_errors', '1'); error_reporting(E_ALL); try { $stmt = …

Member Avatar for AmirHosseinHP
0
2K
Member Avatar for Indians

Recently i've rewritten my code to PDO from mysql query. Insert, fetch, update, delete everything working fine. But, pagination not displaying in my page. Before i've used mysql query. In that time pagination worked perfectly. Now, i've changed my codes into prepared statements. pagination not dispalying i don't know what …

Member Avatar for bops
0
303
Member Avatar for Indians

![1085c1c3bd57d0a1fb75f1b1edbbda0f](/attachments/small/4/1085c1c3bd57d0a1fb75f1b1edbbda0f.PNG "align-left") look at this image. when i send this page via email it shows the php code. it does not fetch the details from mysql and then i'm fetching the mysql records based on the particular voucher id. how to send mysql fetch records page via email?

Member Avatar for Tpojka
0
259
Member Avatar for Indians

<form action="searchdetail.php" method="post"> SEARCH BY: <select name="searchby"> <option value="gname">Guest Name</option> <option value="city">Guest City</option> </select> <input name="query" type="text" /> <input name="subval" type="submit" value="Search" /> </form> and searchdetail.php include("config.php"); if(isset($_POST['subval'])) { $query = mysql_real_escape_string(trim($_POST['query'])); $sql = mysql_query ("SELECT * FROM voucher WHERE gname = '$query'"); echo "<table border=1 width=860 align=center cellsapcing=5 cellpadding=5>"; …

Member Avatar for Indians
0
277
Member Avatar for Indians

here i am store the dynamic row values into mysql. i am using jquery and javascript for dynamic rows and auto calculation and then stored to mysql using php coding. that works perfectly. i already added dynamic row value into mysql perfectly. But, now i want to edit the table …

Member Avatar for Indians
0
1K
Member Avatar for Indians

edit.php coding... <?php $uid = (int)$_GET['id']; ?> <form action="update.php" name="myform" method="post" onsubmit="return(validateform());"> <input type="hidden" name="edited" value="<?=$uid;?>"> <?php $tariff_query = mysql_query("SELECT * FROM ebvouchertariffs WHERE VoucherID_Fk = $uid"); if(mysql_num_rows($tariff_query)>=1) { echo "<table width=960 align=center cellspacing=0 cellpadding=0> <tr> <td width=68 height=50 class=tabtext>SL.NO</td> <td width=106 class=tabtext>DATE</td> <td width=204 class=tabtext>PARTICULARS</td> <td width=117 class=tabtext>NO OF …

Member Avatar for Iikeloa
0
365
Member Avatar for Indians

how to send an email from localhost xampp?? anyone give me a proper procedure... i'm confused.

Member Avatar for diafol
0
323
Member Avatar for Indians

<?php include("config.php"); if (isset($_POST['submit_val'])) { $cmeal = mysql_real_escape_string($_POST['meal']); $meal = "INSERT INTO ebmealplans( MealPlanName, CreatedOn ) VALUES ( '{$cmeal}', NOW() )"; if(!mysql_query($meal, $link)) { die("Error : " .mysql_error()); } $croom = mysql_real_escape_string($_POST['room']); $ref_key = mysql_insert_id(); $room = "INSERT INTO ebroomtypes( RoomTypeName, CreatedOn ) VALUES ( '{$croom}', NOW() )"; if(!mysql_query($room, $link)) …

Member Avatar for diafol
0
8K
Member Avatar for Indians

index.php coding <td><input type="text" name="slno[]" value="" size="2"></td> <td><input type="text" size="10" name="date[]" id="SelectedDate" onClick="GetDate(this);" readonly="readonly"/></td> <td><input size="24" type="text" name="particulars[]" value="" placeholder="Description"></td> <td><select name="noofnights[]" value="0"> <option value="empty"></option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> <option value="6">6</option> <option value="7">7</option> <option value="8">8</option> <option value="9">9</option> <option value="10">10</option> <option value="11">11</option> <option value="12">12</option> <option …

Member Avatar for Lsmjudoka
0
6K
Member Avatar for Indians

here i am trying to do calculation for javascript dynamic rows. i have done auto multiplication in few rows using this function . but i want to calculate the tax percentage. how can i do that? help.. <script src="http://code.jquery.com/jquery-1.6.4.min.js"></script> <script> var $k = jQuery.noConflict(); $k.fn.sum = function() { var sum …

Member Avatar for Indians
0
1K
Member Avatar for Indians

I am using datepicker in my form for booking date field. when i pick a date it shown like this 11/13/2013 (MM/DD/YYYY). In mysql database i am using datetime Type. in mysql db always shows 0000-00-00 00:00:00. i want to change the date format. for example if i am choose …

Member Avatar for diafol
0
614
Member Avatar for Indians

![d7f49899d09d4dd84f5105080c780de5](/attachments/small/4/d7f49899d09d4dd84f5105080c780de5.PNG "align-left") here i attached one image. look at this.if i selected the Guest Currency then automatically Guest Currency Value should shown in the next text box. how to do that? is there any javascript, jquery plugin? Guest Currency : <select name="gcurrency" tabindex="21"> <option value=""></option> <option> INR India Rupees </option> …

Member Avatar for diafol
0
3K
Member Avatar for Indians

this is my html and javascript coding. how to do contenteditable div onkeyup calculation. i tried it but i doesn't work... <td><div class="inputclass" id="quantity1" contenteditable> </div></td> <td><div class="inputclass" id="unitprice1" onkeyup="maths();" contenteditable> </div></td> <td><div class="inputclass" id="total1" contenteditable> </div></td> function maths() { var qt = document.getElementById("quantity1").value; var up = document.getElementById("unitprice1").value; qtup = …

Member Avatar for minitauros
0
1K
Member Avatar for Indians

This is my php & html code for show numbers in words. this works correctly `<input type="text" value="<?php include("number_words.php"); echo convert_number_to_words(123); ?>" size="70" readonly="readonly" />` this is my final total amount html code `<input type="text" name="totalamount" id="totalamount" size="8" readonly="readonly" />`. here i am doing convert numbers into words. but i …

Member Avatar for broj1
0
508
Member Avatar for Ibitoye
Member Avatar for Indians

This is my javascript code. here i am trying to multiple two values in each row (totally 7 rows) and then doing addition operation at end of the table. its worked but problem is NaN. when i entered all fields then only it shows the final value. if user entered …

Member Avatar for Indians
0
197
Member Avatar for Indians

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 'NOT NULL, CreatedOn DATETIME NOT NULL, ModifiedOn DATETIME NOT NULL, `StartD' at line 1 CREATE TABLE `billing`.`ebUsers` ( `UserID` INT NOT NULL AUTO_INCREMENT …

Member Avatar for urtrivedi
0
222
Member Avatar for Indians

here if user logged information is correct it should show the main page. in that mainpage right top corner i need to show the username, employee id, employee name. here i can get username correctly. but, i did not get employee id and employee name. for example : Name - …

Member Avatar for minitauros
0
726
Member Avatar for Indians

this is my login page coding. my login form html coding and php coding is in same page. now if login successful it will redirect to mainpage.php and then if login failure it will show the error message on same page (login.php). how to do that? i tried something but …

Member Avatar for minitauros
0
11K
Member Avatar for Indians

in my project i'm using user input form. that form contains serial no, reference no, name, email, phone, address, etc.., in that user input form serial number textfield is readonly option. user can't able edit the serial number. in that textfield i want to show the next auto_increment id from …

Member Avatar for diafol
0
3K
Member Avatar for Indians

this is my sendmsg coding page. Am i right? its not working. First i got fatal error: call undefined function curl_init(). i cleared that error. now it takes time to load 10 to 15 seconds and show error in that page. coding is below... $name = $_POST['name']; $connum = $_POST['connum']; …

Member Avatar for iLikePHP
0
416
Member Avatar for Indians

i want if user select one value in combo box that value should store in db and then display what they are selected. for example if user select CONFIRM option that value stored in db after that it display CONFIRM instead of that combo box form and button. Here i …

Member Avatar for hag++
0
3K
Member Avatar for Indians

Fatal error: Call to undefined function curl_init(). in my php.ini() file i removed the semi colon for extension=php_curl.dll and then restarted my xampp server. but its not worked. any idea?

Member Avatar for Indians
0
125
Member Avatar for Indians

in my db have 20+ columns. i added 19 columns throught input form and stored in db succesfully. i fetch few details from db in my main page. in my main page 1 more column is there. that is status column, it is a combo box. if i click status …

Member Avatar for hag++
0
1K
Member Avatar for Indians

i stored few values through input form. (for example tax and rate field) if i entered tax = 777.77 and rate = 10000 it stored the details to db successfully. retrieve function also done successfully. but i want to show add these two values(tax+rate = total) from db when i …

Member Avatar for diafol
0
215
Member Avatar for Indians

i have the db with serial no and reference no. serial no is auto_increment value. it is worked perfectly. but i want ref no column also as auto_increment value start with 0000001,0000002,0000003...., how to do that? i cannot able to add two auto_increment values in mysql.

Member Avatar for paulkd
0
234
Member Avatar for Indians

i created main.php page. this page includes these following php codes, <?php $user = ""; $pass = ""; $db = ""; $connect = mysql_connect("", $user, $pass); if(!$connect) { die ("Could not connect to MySQL"); } mysql_select_db($db, $connect) or die ("Could not open $db: " .mysql_error()); $sql = mysql_query ( "SELECT …

Member Avatar for Indians
0
276