Building for Linux in 2.7

2006-03-08 Thread Benjamin Bacon

Hi,

I just purchased 2.7 and I was wondering if and when (if anyone  
knows) it will be able to build for Linux.


Thanks!
Benjamin
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Standalone Application and dB

2006-02-17 Thread Benjamin Bacon

Hey Everyone,

Trying to save a standalone application that uses MySQL. I am quite the 
newbie, start using Revolution yesterday, so this maybe in the manual 
but I couldn't find it. When saving a standalone application, do I need 
to move the MySQL libraries (dll I guess on Windoze)  somewhere to use 
them? I am developing on a Windows machine right now but I am more 
familiar with Linux/OS X.


Thanks!!

Benjamin

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Database query for pull down option/menu

2006-02-17 Thread Benjamin Bacon
Hey thanks! I will give this a try too. Scott pointed me to a great 
example he made and it solved the problem!


/Benjamin

Josh Mellicker wrote:

Wow! One I might be able to help on.

___

In Revolution, put this script into your option menu:


ON menupick pChoice

put pChoice into queryValue
put  pChoice   chosen into field status

get libUrlFormData(queryvalue, queryValue)
post it to url 
http://www.yourweburl.com/thepathtoyour/phpscript.php;


IF the result is empty THEN -- executed OK
put it into fld listOfFiles
ELSE
put the result into field task_desc -- there was some 
error in executing the PHP script

END IF


END menupick

___

Now, make a text file on your server (called phpscript.php or 
whatever.php):



?php
require_once('dbinfo.inc');   //this is the file with your connect info


$sql = 
SELECT
myFileName

FROM
fileNameTable
;

$result = mysql_query($sql) or die(Error # . mysql_errno() . : . 
mysql_error() );



if (mysql_num_rows($result)) {

//found at least one

while ($row=mysql_fetch_array($result)) {
echo $row['myFileName'].\n;
}


} else {

//didn't find any

echo I did not find any records.;


}


?




On Feb 16, 2006, at 9:59 PM, Benjamin Bacon wrote:


Hi everyone,

I am trying to create two pull down menu's that are based on MySQL 
query's. Then based on what the user choses from the pull down menu's 
they can get a listing of available files based on what is already in 
the database. Can anyone help me on this one. I greatly appreciate 
the help. I am quite fresh with Revolution development and I have 
look in the manual and searched the web/documentation.


Thanks!
Benjamin
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Database query for pull down option/menu

2006-02-16 Thread Benjamin Bacon

Hi everyone,

I am trying to create two pull down menu's that are based on MySQL 
query's. Then based on what the user choses from the pull down menu's 
they can get a listing of available files based on what is already in 
the database. Can anyone help me on this one. I greatly appreciate the 
help. I am quite fresh with Revolution development and I have look in 
the manual and searched the web/documentation.


Thanks!
Benjamin
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution