<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум PHP-MyAdmin.RU &mdash; Запрос, ввод данных в таблицу MySql]]></title>
	<link rel="self" href="https://forum.php-myadmin.ru/extern.php?action=feed&amp;tid=1953&amp;type=atom" />
	<updated>2010-10-31T14:51:12Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.php-myadmin.ru/viewtopic.php?id=1953</id>
		<entry>
			<title type="html"><![CDATA[Re: Запрос, ввод данных в таблицу MySql]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=13789#p13789" />
			<content type="html"><![CDATA[<p>Поле `user` должно быть в косых кавычках. <img src="https://forum.php-myadmin.ru/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2010-10-31T14:51:12Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=13789#p13789</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Запрос, ввод данных в таблицу MySql]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=13786#p13786" />
			<content type="html"><![CDATA[<p>нашел ошибку, можно закрывать</p>]]></content>
			<author>
				<name><![CDATA[Ilich]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=3165</uri>
			</author>
			<updated>2010-10-31T12:16:34Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=13786#p13786</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Запрос, ввод данных в таблицу MySql]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=13785#p13785" />
			<content type="html"><![CDATA[<p>Юзаю phpmyadmin.Создал таблицу с 2-мя полями:mail, first_name. Возможно ошибка в синтаксисе, но не передает таблице данные, выводит ошибку:</p><p>Ошибка при выполнении запроса: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;&#039;user&#039; (mail,first_name) VALUES (&#039;clify@ymail.com&#039;,&#039;Vasiliy&#039;)&#039; at line 1</p><br /><p>кусок кода:<br />$query = &quot;INSERT INTO &#039;user&#039; (mail,first_name) VALUES (&#039;$mail&#039;,&#039;$first_name&#039;)&quot;;<br />$result = mysql_query ($query) <br />or die (&quot;Ошибка при выполнении запроса: &quot;.mysql_error ()); <br />echo &quot;Данные добавлены успешно&quot;; <br />}</p><p>Field&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Type&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Collation&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Null&nbsp; &nbsp; Default&nbsp; &nbsp; <br />mail&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; varchar(15)&nbsp; &nbsp; cp1251_general_ci&nbsp; &nbsp; &nbsp; &nbsp; No&nbsp; &nbsp; None&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; <br />first_name&nbsp; &nbsp; &nbsp; varchar(15)&nbsp; &nbsp; cp1251_general_ci&nbsp; &nbsp; &nbsp; &nbsp; No&nbsp; &nbsp; None</p>]]></content>
			<author>
				<name><![CDATA[Ilich]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=3165</uri>
			</author>
			<updated>2010-10-31T11:09:45Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=13785#p13785</id>
		</entry>
</feed>
