|
|
|
Как сделать INSERT к базе с помощью php?
|
|||
|---|---|---|---|
|
#18+
$query ="INSERT INTO 'table' ('f', 'f2') VALUES ('$x', 0)"; $result = mysql_query ($query); check the manual that corresponds to your MySQL server version for the right syntax to use near ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 28.07.2016, 19:05 |
|
||
|
Как сделать INSERT к базе с помощью php?
|
|||
|---|---|---|---|
|
#18+
Алиса С, Ковычки неправильные у Вас, Алиса! Расставьте ковычки, как того требует " manual that corresponds to your MySQL server version " ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 28.07.2016, 19:38 |
|
||
|
|

start [/forum/topic.php?desktop=1&fid=23&tid=1460982]: |
0ms |
get settings: |
5ms |
get forum list: |
10ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
166ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
38ms |
get tp. blocked users: |
1ms |
| others: | 203ms |
| total: | 438ms |

| 0 / 0 |
