Re: PHP and MySQL help please !

2002-04-25 Thread Jan-Michael Ong
Hello, Try this good luck Andrew Rich wrote: > Further to this, I removed the "@" symbol and got:- > > Fatal Error: Call to undefined function: mysql_connect() in > /var/www/html/results.php > > @ $db = mysql_pconnect("localhost", "user", "password"); > > $db = mysql_pconnect("localhost", "us

Re: Math Computations

2002-04-17 Thread Jan-Michael Ong
I agree with the suggestion below strip the character and typecast it if necessary. In JSP I think you can convert it to a number and then typecast it. In PHP, I think the principles might be the same. In addition, it might be a good idea to restrict the columns that require computation to a nume

Re: Encrpt/Decrypt

2002-04-17 Thread Jan-Michael Ong
Just want to add a few more things here that might spark your brain cells. All in all I agree with the suggestions presented. Use an encrypt function in your code, for something simple I've created a very basic encryption function in perl using Crypt::Blowfish modules and then I have control of t

Re: mysql+jdbc+international character support

2002-04-17 Thread Jan-Michael Ong
gt; [gweMySQL Driver] > http://www.t3-jpn.com/jdbc/jdbcmysql.html > i.e. > String url = "jdbc:mysql://server:3306/dbname?characterEncoding=EUC_JP"; > > [MM.MYSQL Driver] > http://mmmysql.sourceforge.net/ > > Jan-Michael Ong wrote: > > > > G