Perhaps. I always use the same phrase to open up an array.
foreach($myarray as $var=>$val) { $$var= $val; }
You can also nest it into another foreach statement to extract from an
associative array.
Alberto
__
Renovamos el Correo Yahoo
of the main guidelines such as trying to put
meaningful titles in the "Subject", doing research before posting, reminding
of the php.net manual and the url of the archives, and the like.
I hope this helps
Respectfully
Alberto Brea
http://estudiobrea.com
--
PHP General Mailing
Thanks Chris, Dorgon and Esteban for putting me back on the track.
- Original Message -
From: "Chris Hayes" <[EMAIL PROTECTED]>
To: "Alberto Brea" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, June 24, 2003 4:34 PM
Subject: Re: [PHP] MSWord
Dear list,
What header must I use to send a MSWord attachment with mail()?
I have looked it up in the manual and on php.net but cannot find it.
Thanks anyone,
Alberto Brea
http://estudiobrea.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
t and many contributions very generous
indeed, and I'm here to meet a group of programmers, not diplomats.
Cheers
Alberto Brea
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
enter your ID the password automatically fills in,
giving free access to the unauthorized user.
Does anybody know why this happens? Something in the php.ini or httpd.conf
files perhaps?
Thanks for any comment
Alberto Brea
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
corresponding to the relevant
gif
You can make it horizontal too.
If you want a line graph, you make a second transparent gif, make this the
variable-height image, and put the visible gif at the top, so you make the line.
Hope this helps
Alberto Brea
http://estudiobrea.com
Hi, list
I had certain information in a text file, which showed ok upon fopen() and parsing,
but when I put it into a MySQL database, instead of echoing directly into the browser,
the spaces in the strings collapsed, so that "One Two & Three" became "OneTwo&Three"
in the database table. When I r
Hi, list
Is there any way in PHP to pass the emails received automatically into a local MySQL
database on the same machine (i.e. the fields "date&time", "from", "to", "message",
"subject", etc), without copying and pasting each message? Maybe by retrieving and
parsing the Outlook Express files t
Dear list,
My home page is index.html, that doesn't run PHP.
I also have index.php which shows the same content with PHP.
Can I do to automatically redirect a visitor from index.html to index.php?
TIA
Alberto
Does anybody know of an online tutorial explaining how to access ODBC databases with
PHP?
Thanks
Alberto
;
Thanks a lot in advance and happy new year!
Alberto Brea
http://estudiobrea.com
others the screen just refuses to save the new settings.
Could anybody tell me why is this?
Thanks in advance and merry Xmas and new year to everyone.
Alberto Brea
All these variables show on the browser quite well from a regular .php file, so they
are still pre-defined, but I can't fprint() them to a text file.
Hi,
Could somebody please tell me why I can't print pre-defined variables to a file with
fwrite()?
The code I use is this:
$filename = '../vlog.txt';
$fd= fopen($filename, 'a');
$a= date(YmdHi);
$b= basename($PHP_SELF);
$c= $HTTP_USER_AGENT;
$d= $HTTP_HOST;
$e= $_SERVER['HTTP_HOST'];
");
print("$textos[$h]");
print(" - ");
elseif($k=="2"):
print("$textos[$h]");
endif;
endif;
endforeach;
?>
Could anybody help?
Thanks in advance
Alberto Brea
http://estudiobrea.com
I am moving my website over to PHP but there are two things I'm not sure of.
First:
Do search engines find their keywords if they are in an include instead of the main
PHP file? (strictly speaking, I think they are not really in the URL you gave them)
In other words, does it read the source code
I have php (as an apache module) and mysql up and running on Windows in the same
computer, but they seem to be unconnected.
How do I configure php.ini, my.ini, etc for a php script to find and query a database
in the mysql server?
Thanks for any help
Alberto Brea
18 matches
Mail list logo