![]() |
Read / Add to the MySQL Databases
i was going to give all kinds of crap to my soty mod.. but i had troubles connecting and adding to the database, how do you do that?
lol, i know its some huge script /; |
$db->query_
It depends on where you're going to be querying from. |
...? isent there a lot more to it? like, connecting tot he db, with the config file? its for making an install file...
|
Example of how to add data to the user table in your database:
Code:
$db->query("INSERT INTO " . TABLE_PREFIX . "user(userid, username, homepage, aim, joindate, url, width, height) VALUES ('$userid', '$username', $homepage", '$aim', '' . TIMENOW . '', '$url', '$width', '$height')"); |
With vB 3.5 you don't make install files in 99% of the cases. You just provide (un)install code in the Product.
|
i dont understand vml or the product manager yet.... i need more detail to what HotLinkHosting gave me ^^
|
As I said in a previous post, you need to specify more detailed information of what you're doing and where the code is going to be.
|
All times are GMT. The time now is 05:02 PM. |
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:
|