The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
: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:
|
#2
|
|||
|
|||
![]()
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')"); |
#3
|
|||
|
|||
![]()
Doesnt work
![]() |
#4
|
||||
|
||||
![]()
having not provided the error messge, i'm not totally sure, but...
PHP Code:
|
#5
|
|||
|
|||
![]()
I get no error message. it just does not insert into the table
|
#6
|
|||
|
|||
![]()
Try adding the column where you want to add the data, like this:
PHP Code:
|
#7
|
|||
|
|||
![]()
I believe that the query is not executed because it's placed after print_output.
|
#8
|
||||
|
||||
![]() Quote:
|
#9
|
|||
|
|||
![]()
Aesma Deva, Tried that never worked
![]() Psionic Vision, sabret00the, How would i fix it, im a newbie to php ![]() |
#10
|
||||
|
||||
![]() PHP Code:
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|