
Search In
This error generally comes when we want to delete child table row. To solve this problem we have to disable the
foreign key checks.
SET FOREIGN_KEY_CHECKS=0;
Now you can fire your query.
DELETE FROM TABLE WHERE ID = 'Somthing';
You can enable forei
Welcome to FindNerd. Today we are going to tell the way how we can reverse a string without using array_reverse function in php. Please have a look.
$string = "FINDNERD";
$count=array_sum(count_chars($string));
for($i=$count -1 ;$i>=0;$i--){
how to prevent countdown timer for being restart when you hit refresh in your browser
<div id="quiz-time-left"> </div>
<script type="text/javascript">
var total_seconds = 60*10 ;
var minutes = parseInt(total_seconds/60);
Hi Readers,
Customizing search bar can be easily done with UISearchBar. All you need to check view hierarchy of search bar subviews for that as with latest iOS SDK hierarchy can get changed. Customizing can be done by changing these views color, fon
Hi all,
I have a question about class performance, i use a class on two element first is an input type button and second is an anchor tag (a) both are looking different.
Why it happens can anybody have any proper answer.
Thank you in advance.
CS
Hi all,
I have a question about class performance, i use a class on two element first is an input type button and second is an anchor tag (a) both are looking different.
Why it happens can anybody have any proper answer.
Thank you in advance.
CS
#include <iostream>
using namespace std;
// Returns true if x is in range [low..high], else false
bool inRange(int low, int high, int x)
{
return ((x-high)*(x-low) <= 0);
}
int main()
{
inRange(10, 100, 25)? cout << "Yes\n":
Adding a button on an OpenERP view is very easy and calling a function on it too. For example I created a function to add cartage amount on the sales order, I created a field to add cartage amount on it and then on button click it will be added to th
Here is my Code:
class Account:
  def __init__(self, owner, balance, deposit, withdraw):
    self.owner=owner
    self.balance=balance
    self.deposit=deposit
    self.withdraw=withdraw
    Â
  def __str__(self):
  Â
To **delete the test sales/Order data from magento** run the below queries in your magento database --
SET FOREIGN_KEY_CHECKS=0;
##############################
# SALES RELATED TABLES
##############################
TRUNCATE `sales_flat_creditmemo`;
