Jeff (and John) --
...and then [EMAIL PROTECTED] said...
%
...
% $r = mysql_query($q,$dbro) ;
% $row = mysql_fetch_array($r) ;
% $i = $row[0] ;
...
% this one row (not looping), could I just
%
% $i = mysql_fetch_array($r)[0] ;
%
% Hi David
Hi!
% How about:
% $i
David T-G wrote:
Jeff (and John) --
...and then [EMAIL PROTECTED] said...
%
...
% $r = mysql_query($q,$dbro) ;
% $row = mysql_fetch_array($r) ;
% $i = $row[0] ;
...
% this one row (not looping), could I just
%
% $i = mysql_fetch_array($r)[0] ;
%
% Hi David
Hi!
% How
Justin, et al --
...and then Justin Patrin said...
%
% David T-G wrote:
%
% ...and then [EMAIL PROTECTED] said...
% %
...
% % How about:
% % $i = mysql_result(mysql_query($q,$dbro),0);
%
% Oooh! Cool! Just right.
...
%
% Of course, this leaves the result handle open. It's best
David T-G wrote:
Justin, et al --
...and then Justin Patrin said...
%
% David T-G wrote:
%
% ...and then [EMAIL PROTECTED] said...
% %
...
% % How about:
% % $i = mysql_result(mysql_query($q,$dbro),0);
%
% Oooh! Cool! Just right.
...
%
% Of course, this leaves the result
While calling a php with a parameter, the plus sign is interpreted as a
white space.
Is any solution to prevent this in the php page, not before calling it or
previously urlencoding?
---
While calling
http://mysite.com/mypage.php?id=29d9f+Kr2/4=otherdata=xx
?php echo id = $id; ?
Hello,
I have problem for downloading files from MySQL database.
Although I store and I see the filename and the extension in the database,
when I try to download it, if there are blank spaces inside the filename,
like my book store.doc
I cannot open it and see it.
Best regards
Stelios Karapas
Why not just provide them with two different links to the document-- one
version includes the tag, the other doesn't.
-Mike Forbes
Ng Hwee Hwee wrote:
hi,
header(Content-type: application/vnd-ms.word); is not what my customers
want. They may or may not want to save it in their harddisk.. but
I've not run into this problem before, but the solution seems obvious:
replace your filename spaces with underscores, or get rid of them
completely.
-Mike Forbes
Phpdiscuss - Php Newsgroups And Mailing Lists wrote:
Hello,
I have problem for downloading files from MySQL database.
Although I
The BEST encryption software in the world is now available!
Virtually Unbreakable!
Try To Break It Yourself!
ICSAtlanta.NetFirms.Com
(This is a one time mailing, you will not be contacted again)
From: PHPDiscuss - PHP Newsgroups and mailing lists
[EMAIL PROTECTED]
I have problem for downloading files from MySQL database.
Although I store and I see the filename and the extension in the database,
when I try to download it, if there are blank spaces inside the filename,
like my book
Hi, all --
I have some code which looks about like
if ( $_POST['signup']['referrer'] ) # a friend?
{
$q = select InvitedBy from customer where EMail =
'{$_POST['signup']['referrer']}' ;
$r = mysql_query($q,$dbro) ;
$row = mysql_fetch_array($r) ;
$i = $row[0] ;
}
Hi, all --
I have some code which looks about like
if ( $_POST['signup']['referrer'] ) # a friend?
{
$q = select InvitedBy from customer where EMail
= '{$_POST['signup']['referrer']}' ;
$r = mysql_query($q,$dbro) ;
$row = mysql_fetch_array($r) ;
$i =
From: David T-G [EMAIL PROTECTED]
$r = mysql_query($q,$dbro) ;
$row = mysql_fetch_array($r) ;
$i = $row[0] ;
$r = mysql_query($q,$dbro) ;
$i = mysql_result($r,0);
---John Holmes...
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit:
Just offer them a link to the next page. Put amp;format=word in as the
query string if they choose the 'view word document' link or no query
string if they choose the plain text view as html page. Then go for
if ($_GET[format]=='word') {
header(Content-type: application/vnd-ms.word);
}
To help me learn using these awesome tools together, I'm creating a sample
application for myself - a movie database. In this database (which is named
movies), I have five tables. One named moviemain, one named actors,
one named genre, and then two tables that are designed to link these
tables
News.Php.Net [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
To help me learn using these awesome tools together, I'm creating a sample
application for myself - a movie database. In this database (which is
named
movies), I have five tables. One named moviemain, one named actors,
Hi all,
I recently change my apche, php mysql server for a better one. I
installed all the same versions of software on the new server (except
for php which was 4.36 RC2). I have apache 1.3 + mysql 3.23.58 + php
4.36. Im on a WinXp Pro os. I copy the exact config for the my.ini,
httpd.conf and
17 matches
Mail list logo