|
|
|
Как сделать 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?fid=23&msg=39282168&tid=1460982]: |
0ms |
get settings: |
7ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
25ms |
get topic data: |
6ms |
get forum data: |
1ms |
get page messages: |
23ms |
get tp. blocked users: |
1ms |
| others: | 211ms |
| total: | 287ms |

| 0 / 0 |
