Questions tagged [quote]

The Lisp quote is a special operator that returns its only argument, unevaluated.

The Lisp quote is a special operator that returns its only argument, unevaluated.

638 questions
-1
votes
1 answer

Add to quote functionality in magento?

I want to add, add to quote functionality in my magento site ? like :http://www.belgosweet.be/product.php?product=85&cat=20 this site. Thanks
Ballu Malav
  • 130
  • 2
  • 13
-1
votes
1 answer

Why isn't 'emacs the same as 'emacs here?

This first one should return t but isn't doing so, while the other is returning t. They should be the same. (defvar list '((binds . 'emacs))) (eq (cdr (assoc 'binds list)) 'emacs) ;; returns nil (eq 'emacs 'emacs) ;; returns t (type-of 'emacs) ;;…
-1
votes
2 answers

How to remove multiple zip files in bash?

I am trying to remove a set of multiple zipped directories in BASH. These directories have spaces between them, so when I try to delete them, they interfere with the spaces. I have tried removing the directories by using a for loop. direc=`ls -d…
Michael
  • 35
  • 5
-1
votes
1 answer

mysql query escape single quote

i have a problem with this following db::insert command. I want to use array in a mysql query "in ()" section, but the commas has been escaped. How can i solve this problem? $users = [435,1671,429]; $list = implode("','",…
-1
votes
1 answer

Perl: quoting correctly all special characters

I have this sample string, containing 2 backslashes. Please don't ask me for the source of the string, it is just a sample string. my $string = "use Ppppp\\Ppppp;"; print $string; Both, double quotes or quotes will print use Ppppp\Ppppp; Using my…
Claude
  • 171
  • 10
-1
votes
1 answer

Product recovery from the current cart in prestashop

I work on prestashop 1.7 and I would like to recover (thanks to $cart->getproduct() and context) the contents of the current cart to offer a quote to customers, however, I do not think I have the level to do it. I would like to retrieve the name of…
-1
votes
1 answer

magento2 add discount to quote from custom rest api

I have used this example to create a custom api for updating quote by rest: https://www.thirdandgrove.com/creating-custom-rest-api-magento2 Also I have found this example to add discount to quote:…
-1
votes
1 answer

Color or content of quotes not showing

I wrote two functions for changing the color of the background randomly and the content of the quotes also. Next I made a button to perform these functions when clicked. I succeeded in changing the color but the quotes won't appear and when both of…
Marue
  • 7
  • 4
-1
votes
2 answers

How to use single quotes in the MySQL query in Python

So I am trying to create a script with a MySQL Query "show databases like 'login';" I am able to use string substitution and use "login" but i am unable to get the single quotes around it. Below is how I am trying to do it but i cant get the single…
user2921139
  • 1,669
  • 4
  • 17
  • 25
-1
votes
1 answer

Else if calculation not working, program works if i remove else if and have only 1 formula

I have been tyring to create a form that a customer could enter the size of their yard and get a quote. If i only use one formula with no if else it works fine, but when I add the other formula options to create accurate pricing I get no results. …
-1
votes
2 answers

Replace double quote in single quote

If I use a double quote in title of my application i have a problem , then I want to create a condition : if i have double quote , use single quote . Thanks you very much !
krowry
  • 73
  • 7
-1
votes
1 answer

assigning authors to quotes of the day

I'm scratching my head a bit as to how to add authors (on the next line) to quotes. I have a an array and added comments to ask in regards to this.