|
|
|
|
|
Is there a method/implementation for constants in php3?
Yup.
eg.
<?
define("MY_CONSTANT","abc");
if(defined("MY_CONSTANT")) echo MY_CONSTANT;
?>
|
|
| Query2Report : Generating Html, Pdf and Csv Reports from SQL Query Categories : PHP, PHP, HTML, PDF, Excel | | | chdir -- change directory Categories : PHP, PHP Functions, Directories | | | REALTIME SHIPPING QUOTE Categories : Complete Programs, Ecommerce, PHP | | | A script to generate a report from a valid mysql connection. The user has to supply which fields he wants to display in table. All properties are changable.
Categories : PHP, PHP Classes, Databases, MySQL, HTML and PHP | | | Why do i get a Save As dialog box when I type in the url of a php3 file Categories : PHP Configuration, PHP, Apache, Web Servers | | | Simple PHP control CSS Calendar Categories : PHP, HTML and PHP, Calendar, Date Time, CSS | | | PHP class generator, must be used from Command line interface. Categories : PHP, PHP Classes, Shell Scripting | | | Automatically printing the contents of an sql table in MySQL. Categories : MySQL, PHP, HTML and PHP, Databases | | | XPertMailer - Sends TRUE Mails Categories : PHP, Mail, SMTP, PHP Classes | | | error_log -- send an error message somewhere Categories : PHP, PHP Functions, Errors and Logging | | | My Box - PHP Class that calculates the volumetric weight of a package.
Categories : PHP, Object Oriented, PHP Classes, Beginner Guides, Payment Gateways | | | ECHO-PHP Class Real Time Transaction Processor v1.4.4 for Credit Cards and
Checks / ACH Categories : PHP Classes, Cybercash, Classes and Objects, Ecommerce, PHP | | | Easily Grant Temporary SSH Access to yourself when in remote location Categories : PHP, Linux, Cron, Security | | | Calculate the great circle distance between two latitude/longitudes
Categories : Algorithms, PHP | | | ElfReader: An ELF (Executable and Linking Format) header information in PHP. Shows how to use the UNPACK function to read data. Categories : PHP, Linux, PHP Classes | |
| |
| | | | | Andy Krause wrote :220
...but why do these constants do not work in a sql-query
like e.g. "select * from _table_constant"?
Anyone knows the answer and what to do?
Andy
| |
|
|