- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 41
- Posts with Upvotes
- 38
- Upvoting Members
- 29
- Downvotes Received
- 10
- Posts with Downvotes
- 10
- Downvoting Members
- 4
- Interests
- Learning new technologies.
- PC Specs
- Intel(R) Core(TM) i3 @1.80GHz; RAM 4GB
209 Posted Topics
Re: Try this [Click Here](http://www.sanwebe.com/2012/09/ajax-multiple-image-upload-resize-with-jquery-and-php) | |
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 … | |
Re: Did you echo **$imageName=$_GET['image'];** on page2.php ? please show your page2 codes ... | |
![]() | Re: Hai; check this http://gilbert.pellegrom.me/php-month-number-to-month-name-the-easy-way ![]() |
Re: Check this http://www.daniweb.com/web-development/php/threads/147286/convert-indian-rupees-to-words | |
Re: 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 = … | |
Re: Try this [Click Here](https://www.codexworld.com/bootstrap-modal-dynamic-content-jquery-ajax-php-mysql/) | |
Re: Try this example [Click Here](http://jsfiddle.net/cse_tushar/6FzSb/) ![]() | |
Re: 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 … | |
Re: > 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 … | |
Re: 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 .= … | |
Re: 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' ? | |
Re: Try this [Click Here](http://stackoverflow.com/questions/22545139/using-arrows-in-unslider) | |
Re: Check this link [Click Here](http://jsfiddle.net/ENNLn/) You will get some idea ... | |
Re: 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 … | |
Re: Hai; Try this,[Click Here](http://websitedevelopmentind.blogspot.in/2014/01/create-mysql-table-from-csv-file-using.html) | |
Re: Use FB APIs [Click Here](https://developers.facebook.com/docs/php/howto/profilewithgraphapi/4.0.0) | |
Re: Change this $uid = $connection->insert_id(); To $uid = $connection->insert_id; Check this [Click Here](http://php.net/manual/en/mysqli.insert-id.php) | |
| |
Re: You can also use , //Upload excel file: $_FILES["car_info_file"]["type"] == "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" ... | |
Re: 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) | |
Re: 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. | |
Re: For Example, [Click Here](http://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_onkeyup2) ![]() | |
Re: Check this link [Click Here](http://www.techyari.in/2014/10/multi-user-role-based-login-in-php-with-mysql.html). | |
Re: 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; … | |
Re: 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. | |
Re: 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 … | |
Re: Try this [Click Here](http://www.ozekisms.com/php-sms-api-asp-sms-api/index_p_php_q_ow_page_number_e_327opt.html) | |
Re: Plz change if(isset($_POST['submit'])) to if(isset($_POST['s'])). Bcoz your button name is "s" And also check your insert query syntax, | |
Re: Check this [Click Here](http://magentohostsolution.com/get-first-row-in-codeigniter-return-database-query/) | |
| |
Re: Check this [Click Here](http://stackoverflow.com/questions/470617/get-current-date-and-time-in-php) | |
Re: 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> | |
Re: Try this condition if(isset($_POST['Blocked'])) { $checked = 'checked="checked"'; } | |
Re: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ profile.php?username=$1 [L] </IfModule> | |
Re: 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(""); }); … | |
Re: Try This [Click Here](http://jsfiddle.net/gmoulin/dAeyV/15/) | |
Re: Another way is using AJAX.[Click Here](http://stackoverflow.com/questions/14614334/one-form-one-submission-button-but-two-actions) | |
Re: Check this [Click Here](http://www.hotscripts.com/forums/php/45258-solved-pulling-user-specific-data-php-through-mysql.html) | |
Re: 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>"; … | |
Re: Try this [Click Here](http://www.webinfopedia.com/registration-form-in-php.html) | |
Re: 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>'; } … | |
Re: Check this [Click Here](http://stackoverflow.com/questions/4261133/php-notice-undefined-variable-and-notice-undefined-index) | |
Re: Try this [Click Here](http://xahlee.info/php/send_mail_attachment.html) | |
Re: Please check [Click Here](http://stackoverflow.com/questions/18177148/xampp-mysql-does-not-start) | |
Re: 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']);` | |
Re: 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(); } | |
Re: Try this ..[Click Here](http://www.devinrolsen.com/jquery-image-swapping-with-fade-effect/) And change the *click* event to *mouseover* | |
Re: 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 />'; } | |
Re: Check this [Click Here](http://stackoverflow.com/questions/4628221/how-to-compress-or-convert-to-low-quality-mp3-file-from-php) |
The End.