big file upload in php problem Programming Web Development by Awah Mohamed …->select("pics"); // my own db class $elb = mysql_real_escape_string($_COOKIE['elb']); $uid = mysql_real_escape_string($_COOKIE['ln']); $q = mysql_query("SELECT…name, des, md5, gallery) VALUES ('', '$uid', '$file', '$des', '$md5', '$elb'"); } else { echo "error ".$_FILES['uploadfile']['error']."… Re: big file upload in php problem Programming Web Development by Jaklins …->select("pics"); // my own db class $elb = mysql_real_escape_string($_COOKIE['elb']); $uid = mysql_real_escape_string($_COOKIE['ln']); $q = mysql_query("SELECT…name, des, md5, gallery) VALUES ('', '$uid', '$file', '$des', '$md5', '$elb'"); } else { echo "error ".$_FILES['uploadfile']['error']."… Really need Help with Syntax Programming Databases by LORPHI … OR ABE OR EKE OR CAE OR LAE THEN "ELB" ELSE TE9 OR TE1 OR TECR OR TEWP THEN… Re: C++ File Input Not Working Programming Software Development by shmeeps … 14 2 12.00 p T 12/5 P G ELB 117 30.00 30 0 2009 BioMedical Engineering 490 58… Re: How to get this C program running on my computer? Programming Software Development by TrustyTony … AES AME AMI ASE AST AWA AWE AWL BLO BUT ELB ELI ELM FAE FAM IMA LEI LEO LIE LIM LOB… Re: Such thing as a binary compiler? Programming Software Development by Schol-R-LEA … of Mel, A Real Programmer](http://www.cs.utah.edu/~elb/folklore/mel.html). (And yes, [Mel Kaye](http://en.wikipedia… Re: big file upload in php problem Programming Web Development by G&G Designing ^ He has it correct, but if your not on a dedicated hosting environment, for example if your on a shared hosting environment, forget it.. the hoster won't let you change the php.ini file, and even if they do.. they will restrict your file upload amount down again. it's set to 500mb for a reason... Re: Really need Help with Syntax Programming Databases by iamthwee [LIST=1] [*]Are you using crystal or basic syntax with your reports? [/LIST] Re: Really need Help with Syntax Programming Databases by LORPHI basic syntax Re: Really need Help with Syntax Programming Databases by LORPHI basic syntax Re: Really need Help with Syntax Programming Databases by iamthwee Right, I mainly use crystal syntax but I'll try to help anyway. iF {Part_Master.COMCDE_01}.STRING = EC9 or C09 or CO0 OR ECC OR COC OR ECT OR COT OR ECCR OR CRF OR ECWP OR WPF THEN Try testing the below and tell me if it works. iF {Part_Master.COMCDE_01} ="EC9" or "C09" THEN "YES" ELSE "NO" END IF Re: Really need Help with Syntax Programming Databases by LORPHI The first line of code is no error, but it is highlighting the "Yes" with an error that a statement is expected here Re: Really need Help with Syntax Programming Databases by iamthwee What happened? Re: Really need Help with Syntax Programming Databases by iamthwee Are you using only the code I posted and nothing else. Did you copy and paste it into the formula? Have you put the quote marks around the EC9 etc. Re: Really need Help with Syntax Programming Databases by LORPHI I deleted my complete code and did a copy and paste of yours including the quotes. Re: Really need Help with Syntax Programming Databases by iamthwee What happens if you do iF {Part_Master.COMCDE_01} = "EC9" or "C09" THEN 1 ELSE 0 END IF Re: Really need Help with Syntax Programming Databases by iamthwee What version of crystal reports are you using? Re: Really need Help with Syntax Programming Databases by LORPHI My security company wants me to leave. I am out of the office tomorrow...thank you for your help and I will look again Tuesday to see if available Re: Really need Help with Syntax Programming Databases by LORPHI Oh it is version 10 Re: Really need Help with Syntax Programming Databases by iamthwee Ok, I'll look at this tomorrow, at the moment I'm working blind, so there could be a syntax error (possibly the newline), as I said I normally use Crystal syntax. Re: Really need Help with Syntax Programming Databases by iamthwee I believe you need to something like:- [code] If {Part_Master.COMCDE_01} = "002" Then Formula = "ok" ElseIf {Part_Master.COMCDE_01} = "001" Then Formula = "no" Else Formula = "maybe" End If [/code]