The mysql query will not allow the entry which has single qoutes in it.
For example if you want to insert the name O’brain from a form to database.
then use “mysql_real_escape_string” for inserting the name as it is.
For more detail see this page.
http://php.net/manual/en/function.mysql-real-escape-string.php
From the journal
How to write SQLquery with escapes special characters in a string.
The mysql query will not allow the entry which has single qoutes in it. For example if you want to insert the name O’brain from a form to database. then use “mysql\ real\ escape\ string” for…
Explore this page ↓Share
Keep reading
- tech / 2026
How to Create Images With AI (Step by Step, With Prompts You Can Copy) ↗
Learn how to create images with AI in 6 steps: let an AI write a detailed prompt, run it in an image tool, and refine. Copy-ready prompts for 7 image types.
- tech / 2026
AI Terms Explained Simply: From LLMs to Agents ↗
LLM, RAG, skill, MCP, agent, agentic: every common AI term explained in plain English, using one birthday dinner example. No jargon, no hype.
- tech / 2026
The universal prompt structure: a practical framework ↗
A seven-part prompt you can copy for ChatGPT, Claude, Gemini, or any other tool. Fill in the blanks, then send it.