hi u all
Here's what i'm trying to do:
In a Mobile Phone Forum i want to users to choose a mobile phone on registration, that will be shown on their 'postbit_legacy' every time they post a message.
to do this i've divided my project in 3 steps:
1st - Create a table on MySQL database
I've created a table on my database called mobilephone with 3 fields: userid, model, image
2nd - Add form to register template and write to database code on register.php:
on register template i've added
You must first be a
registered member to view any code.
on register.php file i've added
You must first be a
registered member to view any code.
3rd - Read from database the model chosen by the user on register and display it on postbit_legacy
Now is when the problems start...
I've tryed to use this code:
You must first be a
registered member to view any code.
on global.php
and this code:
You must first be a
registered member to view any code.
on postbit_legacy template
Resuming:
the 1st and 2nd steps are working fine, cause i can see the information added on the database
The 3rd step isn't working, because the image is not visible on postbit_lecacy...
I've verified that there's no variable read on load...
So what i'n doing wrong here? What code should i use to get that info from database?
this is only on test mode, so the images are on the root of the forum, and that leads me to another question:
the database has this information
userid...........model...........image
1................6630..........6630.gif
6................6680..........6680.gif
should i add a field on the database with the path to the images, or may i put the path on 'postbit_legacy' template before the variable?
=============
any help or tip is welcome

if any of u know another way to do this, please don't be shy... post it here...
Thanks in advanced
Se7eN