![]() |
Arghh, mysql insert not working in VB
:tired: I have been trying to get it to insert values into a table.
Ive intergrated it with vBulletin and its database, but it just does not insert the values. I receive no error message. PHP Code:
|
I'm not a php expert by a long way, but it looks like the problem is here
Code:
$vbulletin->db->query_write("INSERT INTO quotegen VALUES ('hello')"); Code:
$db->query_write("INSERT INTO quotegen VALUES ('hello')"); |
Doesnt work :(
|
having not provided the error messge, i'm not totally sure, but...
PHP Code:
|
I get no error message. it just does not insert into the table
|
Try adding the column where you want to add the data, like this:
PHP Code:
|
I believe that the query is not executed because it's placed after print_output.
|
Quote:
|
Aesma Deva, Tried that never worked :(
Psionic Vision, sabret00the, How would i fix it, im a newbie to php:( |
PHP Code:
|
All times are GMT. The time now is 08:39 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|