---
title: "\"\"?\"\" i php"
type: "forum-thread"
url: "https://www.webforum.nu/amne/php/15137-i-php"
topic: "PHP"
topic_url: "https://www.webforum.nu/amne/php"
author: "mall"
published: "2001-01-12T13:16:00.000Z"
updated: "2001-01-12T14:47:00.000Z"
replies: 1
views: 175
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/php/15137-i-php"
---

# ""?"" i php

## #1 — mall, 2001-01-12T13:16Z

HAr försökt att posta till en DB en form men när jag har (") med i texten fungerar inte det.

Är det nån som vet hur man gör?

Permalänk: https://www.webforum.nu/p/15137

## #2 — nanne, 2001-01-12T14:47Z

AddSlashes
(PHP 3, PHP 4 )

AddSlashes -- Quote string with slashes
Description

string addslashes (string str)

Returns a string with backslashes before characters that need to be quoted in database queries etc. These characters are single quote ('), double quote ("), backslash (\\) and NUL (the null byte). 
 <http://www.php.net/manual/function.addslashes.php>

Permalänk: https://www.webforum.nu/p/316618

---

Tråden på webben: https://www.webforum.nu/amne/php/15137-i-php
