![]() |
Translating PHP to vB specifications
Hi I've been using vB for a while now, while coding on the side I never got up the courage to ask for help on how to incorporate my style of coding with vB.
I learn best by visual representation and I was wondering if someone could a snippet of an example code that I provide, and rebuild it so that it fits the qualifications of vB. Actually several little codes so that I can get the gist of how to do it myself, anyway here are the examples I need to be shown to translate into vB: Code:
$query = "SELECT * FROM ".$prefix."users WHERE username='$loggedinname'"; I realize my style of PHP is far from the effenciency that vB uses, which is why I am having so much trouble grasping it without visual representation. Code:
$act=$_REQUEST["act"]; |
For queries, instead of:
PHP Code:
PHP Code:
|
@Lynne - Your help is appreciated.
As I mentioned before, I work best with visual representation. If there are any coders out there experienced enough with working with vB, please PM if you can help this new comer get started. I can't do this properly if I don't have someone who can answer my questions and better understand the coding that goes with vBulletin. All help is appreciated. |
All times are GMT. The time now is 08:02 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:
|