Can you help me get this foreach loop to work..
$field = array('cus_fname','cus_sname', 'cus_gender');
function isEmpty($field, $msg = NULL)
{
if ($msg == NULL) {$msg = 'Field Empty';}...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_24327079.htm...
Zones:
PHPDate Answered: 04/16/2009 Rating: 9.3 Views: 0
Can you help me sort out this function... $field is an array of field names that need to be checked.
For example:
$field = ['cus_id', 'cus_fname', 'cus_sname']
function isEmpty($field, $msg =...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_24324297.htm...
Zones:
PHPDate Answered: 04/15/2009 Rating: 9.3 Views: 0
Is there any way to get the name of the current function in PHP? For example:
<?php
function DoSomething($var)
{
if ($var == "")
{
print "name must be specified - ".<FUNCT...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_20248289.htm...
Zones:
PHPDate Answered: 03/26/2002 Rating: 7.4 Views: 0
Hello, expert!
I have some problems with mySQL and PHP. I have found C API function in MySQL manual -
mysql_field_count() .
I wanted to ask you, how to use this API function in my php code....
http://www.experts-exchange.com/Web_Development/Miscellaneous/Q_20326589.html
I would like to Set Apache so that each Virtual Host will have different settings on using Sockets.. Some must not be able to use sockets, and the mail functions and some Virtual hosts should be ab...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_20411692.htm...
Zones:
PHPDate Answered: 12/04/2002 Rating: 8.2 Views: 4
Hi ladies, gents,
I have used the date function to display the date from a table in the format below, but I keep getting the date as 'January 01, 1970' on all results. I haven't got this date ...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_20419662.htm...
Zones:
PHPDate Answered: 04/26/2003 Rating: 7.2 Views: 0
I am getting the error
Fatal error: Call to undefined function: ftp_connect() in /web/dev/ftp.php on line 6 when i execute the program in the browser.
But , if i execute the same php code in t...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_20488834.htm...
Zones:
PHPDate Answered: 08/09/2004 Rating: 7.0 Views: 0
Hi
When I define a function is there any of getting the Line, number and file of the script that called the function? I want to do this to improve error handling in my PHP functions.
Lets say...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_20797344.htm...
Zones:
PHPDate Answered: 11/14/2003 Rating: 8.8 Views: 0
Hi, I am wondering is there a function in PHP allowing to parse a PHP code and return the resulting string? I tried parse_str on PHP code but it doesn't return anything..perhaps, I am using it inco...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_21104649.htm...
Zones:
PHPDate Answered: 08/25/2004 Rating: 5.8 Views: 0
Here's the include statement:
<?php include("http://".$_SERVER['HTTP_HOST']."/includes/application_top.php");?>
Which refers to a file containing:
define('PATH_FUNCTIONS','http://'.$_SERVE...
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_21281277.htm...
Zones:
PHP,
SSIDate Answered: 03/06/2005 Rating: 9.2 Views: 0