thanks a lot, yes, I was guessing but could't get the exact code. it makes sense now.
Cheers,
vinny
Search found 8 matches
- Sun Jan 18, 2004 2:41 pm
- Forum: PHP - Code
- Topic: if condition
- Replies: 3
- Views: 403
if condition
Hi, still struggling with if condiitons. I'm trying to do the following: if $HTTP_SESSION_VARS['MM_UserAuthorization']='admin' then display link: <a href="MasterAccount.php">Account</a> Basically, after the user has logged in, if his user authentification is admin, then display the link &q...
- Wed Jan 14, 2004 7:42 am
- Forum: PHP - Code
- Topic: retrieving data from remove server
- Replies: 2
- Views: 351
retrieving data from remove server
Hi, I am trying to do the following: I would like 3 websites to "pull" data of the same MySql database on a 4th website / remote server. How can I get my 3 websites to connect to that database on the 4th server in order to retrieve and display data from it? The 4 sites are not hosted on th...
- Wed Jan 14, 2004 7:41 am
- Forum: Databases
- Topic: retrieving data from remote server
- Replies: 1
- Views: 398
retrieving data from remote server
Hi, I am trying to do the following: I would like 3 websites to "pull" data of the same MySql database on a 4th website / remote server. How can I get my 3 websites to connect to that database on the 4th server in order to retrieve and display data from it? The 4 sites are not hosted on th...
- Tue Jan 06, 2004 5:31 am
- Forum: PHP - Code
- Topic: IF condition
- Replies: 6
- Views: 620
- Tue Jan 06, 2004 2:50 am
- Forum: PHP - Code
- Topic: IF condition
- Replies: 6
- Views: 620
IF condition
Hi, I have a simple request I think. I know how to formulate it in asp, but need help in php. I need to have an example of code for the following: (I write it as I mean it) IF {rsMP3.Price}="FREE" THEN SHOW <a href="<?php echo $row_rsMP3['downloadurl']; ?>">Download free track</a...
- Mon Nov 17, 2003 5:36 am
- Forum: PHP - Code
- Topic: a simple thing?
- Replies: 3
- Views: 479
Thanks very much for your reply, Here is what I tried (still not working, can you see what I’m doing wrong?) Lert me explain better: There are 3 files involved: 1/ index.php all that is in this file is this: include('./cmsimple/cms.php'); 2/ cms.php here is where the login function is: function logi...
- Sun Nov 16, 2003 12:58 pm
- Forum: PHP - Code
- Topic: a simple thing?
- Replies: 3
- Views: 479
a simple thing?
Hi, Being a beginer with php, I'm having a few difficulties... I am trying to modify a php page form a script. In the body page there is: <?=loginbox()?> which refers to a block of code in the main.php file and generates a login box. Instead of having that login box constantly displayed on the page,...