Posts
 
Reputation
Joined
Last Seen
Ranked #530
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
83% Quality Score
Upvotes Received
41
Posts with Upvotes
38
Upvoting Members
29
Downvotes Received
10
Posts with Downvotes
10
Downvoting Members
4
10 Commented Posts
9 Endorsements
Ranked #207
Ranked #296
~215.02K People Reached
Interests
Learning new technologies.
PC Specs
Intel(R) Core(TM) i3 @1.80GHz; RAM 4GB
Favorite Tags

209 Posted Topics

Member Avatar for garyjohnson

Try this [Click Here](http://www.sanwebe.com/2012/09/ajax-multiple-image-upload-resize-with-jquery-and-php)

Member Avatar for haree54
0
3K
Member Avatar for Bachu

I created custom post type with custom taxonomy. Its working, but i am facing one issue is http://example.com/taxonomy-slug/%term%/post-title this is my custom post type url exg: http://example.com/products/cars/bmw-z4 Here products -> taxonomy-slug cars -> taxonomy-term bmw-z4 -> product title custom-post-type slug -> products/%custom_taxonomy% this link is working, but also its working …

Member Avatar for Dani
0
369
Member Avatar for markii.borabon
Member Avatar for Ahmed_152
0
8K
Member Avatar for angiesavio

Hai; check this http://gilbert.pellegrom.me/php-month-number-to-month-name-the-easy-way

Member Avatar for angiesavio
0
366
Member Avatar for biswa2ray

Check this http://www.daniweb.com/web-development/php/threads/147286/convert-indian-rupees-to-words

Member Avatar for alan.davies
0
6K
Member Avatar for garymae14

Hai; Try this <form name="dateForm" id="dateForm" method="post" action="#"> <label for="txtStartingDate">Starting Date</label> <input type="text" name="txtStartingDate" id="txtStartingDate" value="<?php echo (isset($_POST['txtStartingDate'])) ? $_POST['txtStartingDate'] : ""; ?>" /> <label for="txtEndDate">End Date</label> <input type="text" name="txtEndDate" id="txtEndDate" value="<?php echo (isset($_POST['txtEndDate'])) ? $_POST['txtEndDate'] : ""; ?>" /> <input type="submit" name="sbtbtn" value="Submit" /> </form> <?php if(isset($_POST['sbtbtn'])){ $diff = …

Member Avatar for Saim_2
0
2K
Member Avatar for Owusu_1
Re: Php

Try this [Click Here](https://www.codexworld.com/bootstrap-modal-dynamic-content-jquery-ajax-php-mysql/)

Member Avatar for Bachu
1
600
Member Avatar for Stefce
Member Avatar for diafol
0
271
Member Avatar for reminem

Try this <html> <body> <?php mt_srand((double)microtime()*1000000); //Een bijzondere aanpak voor het vullen function Vullen() { $getallen = array(0,1,2,3,4,5,6,7,8,9); shuffle($getallen); return $getallen; } $getallen = Vullen(); //De functie display is om de getallen aan de rijnummers te koppelen: dus 1 + 0 t/m 9 voor rij 1 en 2 + 0 …

Member Avatar for reminem
0
207
Member Avatar for Joshua_18

> Painful in php as a round trip to server and page reload required each time. > This can be done easily in js. I suggest do this as @diafol said If you want to do this with only PHP and HTML, you have to submit your page on each …

Member Avatar for brothman01
0
152
Member Avatar for reminem

Replace your display Function with this code. You missed to put <tr> tag in your table function display($getallen){ $table = '<table border="1px" cellpadding="1px">'; $bingokaart = array(); for ($row = 1; $row < 7; ++$row){ $table .= '<tr>'; //iets met rijnummer doen en deze printen? foreach ($getallen as $number){ $table .= …

Member Avatar for reminem
0
2K
Member Avatar for phphp

I did this with the help of below links [Click Here](https://technet.microsoft.com/en-us/library/cc793139(v=sql.90).aspx) [Click Here](https://www.sitepoint.com/sql-server-php/) Why did you still using this 'mysqli_connect_error' ?

Member Avatar for maba001
0
399
Member Avatar for jeffersonalomia
Member Avatar for jeffersonalomia
0
2K
Member Avatar for SimonIoa
Member Avatar for Bachu
0
292
Member Avatar for AntonyRayan

Did you try Inline Styles in your HTML code like <?php $html = ' <h1 style="font-family: DejaVuSansMono, monospaced; font-size: 10pt;"><a name="top"></a>mPDF</h1> '; //============================================================== //============================================================== //============================================================== include("mpdf/mpdf.php"); $mpdf=new mPDF('C','','10'); $mpdf->WriteHTML($html); $mpdf->Output(); exit; //============================================================== //============================================================== //============================================================== ?> If you are using seperate fonts like which are not in mpdf, you have to …

Member Avatar for Bachu
0
4K
Member Avatar for rjony321

Hai; Try this,[Click Here](http://websitedevelopmentind.blogspot.in/2014/01/create-mysql-table-from-csv-file-using.html)

Member Avatar for daksh singh
0
7K
Member Avatar for ramsiva

Use FB APIs [Click Here](https://developers.facebook.com/docs/php/howto/profilewithgraphapi/4.0.0)

Member Avatar for John_89
0
115
Member Avatar for UK-1991

Change this $uid = $connection->insert_id(); To $uid = $connection->insert_id; Check this [Click Here](http://php.net/manual/en/mysqli.insert-id.php)

Member Avatar for Gideon_1
0
4K
Member Avatar for Benjamin_13

Try this [Click Here](http://jsfiddle.net/MadLittleMods/2LG8f/)

Member Avatar for Benjamin_13
0
149
Member Avatar for scorpionz

You can also use , //Upload excel file: $_FILES["car_info_file"]["type"] == "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ...

Member Avatar for SuperGOAT
0
13K
Member Avatar for paul-lucas

Replace $command = "UPDATE ab_staff SET `slot` = '$slot_time' WHERE `id` ='$member_slot_3'"; $result = $wpdb->get_results($command); this code with $wpdb->update('ab_staff', array( 'slot' => $slot_time), array( 'id' => $member_slot_3)); For reference [Click Here](https://codex.wordpress.org/Class_Reference/wpdb#UPDATE_rows)

Member Avatar for tobyITguy
0
256
Member Avatar for sandeep.tete

You can't directly asign php varible values from javascript. Php is server side script. If you want this value for your form , use hidden input type and asign that value to this hiden input type.

Member Avatar for JorgeM
0
6K
Member Avatar for Stefce

For Example, [Click Here](http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_onkeyup2)

Member Avatar for diafol
0
261
Member Avatar for fireburner29

Check this link [Click Here](http://www.techyari.in/2014/10/multi-user-role-based-login-in-php-with-mysql.html).

Member Avatar for fireburner29
0
508
Member Avatar for mangel.murti

Check the below example. In index.php <script src="//code.jquery.com/jquery-1.10.2.js"></script> <?php $numberOfUser= 6; $recordLimit = 5; ?> <select id="userSelect"> <option value="">---Select User---</option> <?php for($i=1;$i<=$numberOfUser;$i++){ echo <<<EOD <option value="$i">User-$i</option> EOD; } ?> </select> <div class="result"> <h3>Please Select A User</h3> </div> <script type="text/javascript"> $(function(){ $("#userSelect").change(function(){ var userOrder =$(this).val(); $.post('request.php',{order: userOrder, numberOfUser: '<?php echo $numberOfUser; …

Member Avatar for mangel.murti
0
188
Member Avatar for Sophia_1

Use Insert query for save data into your DB Table. I couldn't find any insert query in your code. I found a select query only. Select query is for to retrive data from DB table.

Member Avatar for Taywin
0
354
Member Avatar for Sophia_1

Wrap your code with form (<form></form>) tag.Like <form> <p>a.i.Self Rating(1st Rating): <select name="Selfrating1" onchange="calculateText(this)" value="<?php echo $row['Selfrating1']; ?>"> <option selected>Please select an option</option> <option value=Good <?php if($row['Selfrating1']=='Good') { echo "selected"; }?>>Good</option> <option value=Satisfactory <?php if($row['Selfrating1']=='Satisfactory') { echo "selected"; }?>>Satisfactory</option> <option value=Mixed <?php if($row['Selfrating1']=='Mixed') { echo "selected"; }?>>Mixed</option> <option value=Problematic <?php …

Member Avatar for Sophia_1
0
823
Member Avatar for AntonyRayan

Try this [Click Here](http://www.ozekisms.com/php-sms-api-asp-sms-api/index_p_php_q_ow_page_number_e_327opt.html)

Member Avatar for AntonyRayan
0
103
Member Avatar for akhila.bhasker

Plz change if(isset($_POST['submit'])) to if(isset($_POST['s'])). Bcoz your button name is "s" And also check your insert query syntax,

Member Avatar for lorenzoDAlipio
0
186
Member Avatar for Ventech_IT

Check this [Click Here](http://magentohostsolution.com/get-first-row-in-codeigniter-return-database-query/)

Member Avatar for Ventech_IT
0
406
Member Avatar for Hijran

Check this [Click Here](http://www.formget.com/login-form-in-php/)

Member Avatar for Hijran
0
153
Member Avatar for CrashDiesel

Check this [Click Here](http://stackoverflow.com/questions/470617/get-current-date-and-time-in-php)

Member Avatar for CrashDiesel
0
152
Member Avatar for davy_yg

Try this. Plz change the order of JS files, to ... <script src="assets/js/jquery-1.11.1.min.js"></script> <script src="assets/js/jquery.dataTables.min.js"></script>

Member Avatar for davy_yg
0
346
Member Avatar for kaprikorn07
Member Avatar for gabrielcastillo
0
2K
Member Avatar for anil14353

<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ profile.php?username=$1 [L] </IfModule>

Member Avatar for Bachu
0
4K
Member Avatar for arslan.khalid.57

Check the following example Your listing page <script src="//code.jquery.com/jquery-1.10.2.js"></script> <img class="img_btn" alt="Image 1" rel="1" src="img1.jpg" /><br /> <img class="img_btn" alt="Image 2" rel="2" src="img2.jpg" /><br /> <img class="img_btn" alt="Image 3" rel="3" src="img3.jpg" /> <div class="result"> </div> <script type="text/javascript"> $(function() { $(".img_btn").click(function() { $.post('request.php',{id: $(this).attr('rel')}, function(data) { if(data) $(".result").html(data); else $(".result").html(""); }); …

Member Avatar for Bachu
0
201
Member Avatar for centenond
Member Avatar for Bachu
0
204
Member Avatar for Ganesh_6

Another way is using AJAX.[Click Here](http://stackoverflow.com/questions/14614334/one-form-one-submission-button-but-two-actions)

Member Avatar for Bachu
0
242
Member Avatar for Ambrish_1

Check this [Click Here](http://www.hotscripts.com/forums/php/45258-solved-pulling-user-specific-data-php-through-mysql.html)

Member Avatar for Bachu
0
238
Member Avatar for burt.munn

Try this <form name="calcBill" id="calcBill" action="" method="post"> <label for="txtCustomersNo">Customers Number</label> <input type="text" name="txtCustomersNo" id="txtCustomersNo" value="<?php echo isset($_POST['txtCustomersNo']) ? $_POST['txtCustomersNo'] : "1"; ?>" /> <label for="txtAmount">Amount</label> <input type="text" name="txtAmount" id="txtAmount" value="<?php echo isset($_POST['txtAmount']) ? $_POST['txtAmount'] : "0"; ?>" /> <input type="submit" name="sbt" value="Calculate" /> </form> <?php if(isset($_POST['sbt'])) { echo "<h2>Bill Report</h2>"; …

Member Avatar for burt.munn
0
283
Member Avatar for stokie-rich
Member Avatar for stokie-rich
0
196
Member Avatar for jovstudios

Please check the below example... <!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>Questions</title> <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.0.min.js"></script> </head> <body> <?php $numberOfQstns = 5; $numberOfOptions = 4; if(isset($_POST['sbtBtn'])){ echo '<h2>Selected Answers</h2>'; for($i=1;$i<=$numberOfQstns;$i++) { echo '<p>Answer('.$i.'): Question-'.$i.'-Option-'.$_POST["option{$i}"].'</p>'; } echo '<a href=""><< Back >></a>'; } …

Member Avatar for jovstudios
0
198
Member Avatar for davy_yg

Check this [Click Here](http://stackoverflow.com/questions/4261133/php-notice-undefined-variable-and-notice-undefined-index)

Member Avatar for Bachu
0
132
Member Avatar for chaitu11
Member Avatar for chaitu11
0
171
Member Avatar for jeffmarlon

Please check [Click Here](http://stackoverflow.com/questions/18177148/xampp-mysql-does-not-start)

Member Avatar for Bachu
0
43
Member Avatar for dukumanis

Since $_POST['Item1'] and $_POST['Item2'] are array, you have to convert it to string before saving to your table. Replace `$TextBox_item1 = ($_POST['Item1']);` with this to `$TextBox_item1 = implode(',', $_POST['Item1']);` And `$TextBox_item2 = ($_POST['Item2']);` with this to `$TextBox_item2 = implode(',', $_POST['Item2']);`

Member Avatar for dukumanis
0
225
Member Avatar for blueguy777

Change this foreach($data as $eachResult) { $this->Cell($w[0],6,'SL.NO',1,'LR'); $this->Cell($w[1],6,$eachResult["ac_no"],1,'LR'); $this->Cell($w[2],6,$eachResult["cust_name"],1,'LR'); $this->Cell($w[3],6,$eachResult["installamt"],1,'LR'); $this->Ln(); } To foreach($data as $key=>$eachResult) { $key++; $this->Cell($w[0],6,$key,1,'LR'); $this->Cell($w[1],6,$eachResult["ac_no"],1,'LR'); $this->Cell($w[2],6,$eachResult["cust_name"],1,'LR'); $this->Cell($w[3],6,$eachResult["installamt"],1,'LR'); $this->Ln(); }

Member Avatar for Bachu
0
1K
Member Avatar for hanan-kh

Try this ..[Click Here](http://www.devinrolsen.com/jquery-image-swapping-with-fade-effect/) And change the *click* event to *mouseover*

Member Avatar for Bachu
0
303
Member Avatar for mwenyenia07

Try this $tableArray = array(1,2,3,4,5); $idArray = array(1,6,5); foreach ($idArray as $myId) { $checked = (in_array($myId,$tableArray)) ? 'checked' : ''; echo '<label>'.$myId.'</label><input type="checkbox" '.$checked.' value=""><br />'; }

Member Avatar for gabrielcastillo
0
209
Member Avatar for rajendher

Check this [Click Here](http://stackoverflow.com/questions/4628221/how-to-compress-or-convert-to-low-quality-mp3-file-from-php)

Member Avatar for rajendher
0
566

The End.