It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming PHP and MySQL Forum

load variable value from mysql

Moderator: Malcolm

load variable value from mysql

Postby jason213123 on Wed Jun 29, 2011 6:25 pm

hi,
i have some variable defined in a php file.
for example:

DEFINE( '_clientass', 'Cliente' );

so when i do a echo of _clientass they return Cliente
now i want call _clientass from a mysql row and return Cliente
If i do this: $row['variable'] he return _clientass but i want that the
php can return Cliente.

how can i do that?
thanks a lot for your help
:)
jason213123
 
Posts: 36
Joined: Sat Mar 01, 2008 11:16 am

Re: load variable value from mysql

Postby rajmv on Sun Jul 17, 2011 5:21 pm

You didn't post enough of your code, can't help you (yet).
rajmv
100+ Club
 
Posts: 103
Joined: Thu Jul 14, 2011 7:22 am


Who is online

Users browsing this forum: No registered users and 0 guests