It supports to be mysql_fetch_array.
while($r=mysql_fetch_array($result))
"Zeus" <[EMAIL PROTECTED]> wrote in message
news:000201c28788$00d50e20$0200a8c0@;ncus...
> I try to display mysql database using fetch_array but there seem to
problem,
> i m new with PHP and mysql.
> I didn't quite sure, wh
john,
creating script snippits on the fly is generally not much use in an echo
statement because echos just stream to the clients browser - nothing in that
stream is actually ever going to be "executed"
The various solutions offered by other list members are particularly
relevant to the
creatio
Erm.. isn't the addslashes() just needed to protect the SQL query?
IMO the data in the db will not have any slashes embedded in normal
circumstances, so there is no reason to stripslashes() any data coming from
a database column...
Rich
-Original Message-
From: Dash McElroy [mailto:dash.p
I am using PHP 4.2.3 with Apache 1.3..11 on Windows 2000 Pro. I have a
form that
POSTs a variable to the next page. PHP code at the top of the second
page checks the
POST variable against values in a flat file. If the POST variable and
one of the values in
the file match, the code breaks out of
[EMAIL PROTECTED]
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Zeus,
2 notes:
1. Data you insert into a database should be addslashes($varname) first (or
another encoding) to protect against MySQL injection vulnerabilities. A nice
stripslashes($varname) on the way out gets rid of the slashes. You could
also use urlencode($varname) and urldecode($varname). He
I try to display mysql database using fetch_array but there seem to problem,
i m new with PHP and mysql.
I didn't quite sure, what's worng with my codes.i havent include the form
yet.
the error messages:
Warning: mysql_fetch_field(): supplied argument is not a valid MySQL result
resource in c:\ap
php-windows Digest 9 Nov 2002 00:32:27 - Issue 1430
Topics (messages 16808 through 16821):
Re: enabling extensions
16808 by: Sven Schnitzke
Re: header:location question
16809 by: Maxim Maletsky
How to echo the end marker '?>'
16810 by: Philipp Bolliger
16811
I made directories uder htdocs, and i put my php files.
But, Apache cannot parse the php
how to change apache config to work with php files under subdirectories
Apche 1.3.6
PHP 4.2 as Apache module
Thanks
.zeus:.
http://www.redrival.com/zeussama
--
PHP Windows Mailing List (http://www.p
Prachait,
You were like Ronaldo, player of Brazilian soccer that
acts in the Real Madri of the Espanish: you made a
great goal!
Thanks very much for this help me!
Next, I write a step-by-step explaining how I solved
my problem. I believe that this procedure can help
other users.
I solve the pro
If you're trying to get a LITERAL ?> Use > for your > symbol so that
you have
?>
I also noticed you didn't have a
Does this help?
John W. Holmes wrote:
>subject's allready my question ! I want to echo something like :
"
action = \",?php echo $PHP_SELF ?> \" >" so that the action becomes
ec
> subject's allready my question ! I want to echo something like :
" action = \",?php echo $PHP_SELF ?> \" >" so that the action becomes echo $PHP_SELF ?> !! But I can't figure out how to escape ?> so that
the
> interpreter doesn't take it as the end of the script ! Any idea ?
Maybe I don't und
Ciao Franco
> After many test and many consideration I decide to use SAX
> instead DOM or XSLT
> because XPath it is must stable. But the performance it is not
> equal like DOM.
Do you had successed to parse the external parameters entities with Expat?
If yes, could you explain me how you make it
The php_value only works when php is added in apache as a Module not as
Intrepruter.
Please check it as who php is added as Module or php.exe
Prachait
Marcelo laia wrote:
> Hi list,
>
> I am trying to configure a site (gallery) and I am not
> getting to obtain success.
>
> When inserting the
Actually, you don't even have to concatenate them at all. Just treat ';
?>
will output you:
--
--
without any parse errors.
--
Maxim Maletsky
[EMAIL PROTECTED]
"Cam Dunstan" <[EMAIL PROTECTED]> wrote... :
> Ernest, your solution is quite correct, I write lots of scripts that "write
> scripts
At 14:12 08.11.2002, Cam Dunstan spoke out and said:
[snip]
>If you have a really sick and twisted mind you can create functions that do
[snip]
Hehe - fits me, that's why I code in PHP *lol*
--
>O Ernest E. Voge
Ernest, your solution is quite correct, I write lots of scripts that "write
scripts" and it works fine. just concatenate little strings together
"<"."?"."php" and "?".">" pretty much as you suggested to Philipp.
If you have a really sick and twisted mind you can create functions that do
this in
At 12:15 08.11.2002, Philipp Bolliger spoke out and said:
[snip]
>subject's allready my question ! I want to echo something like : "action = \",?php echo $PHP_SELF ?> \" >" so that the action becomes echo $PHP_SELF ?> !! But I can't figure out how to escape ?
Philipp Bolliger:
> Hi everyone,
>
> subject's allready my question ! I want to echo something like :
> " \" >" so that the action
> becomes !! But I can't figure out how to escape
> ?> so that the interpreter doesn't take it as the end of the script
> ! Any idea ?
you want to do this:
echo "
Hi everyone,
subject's allready my question ! I want to echo something like : " \" >" so that the action becomes !! But I can't figure out how to escape ?> so that the
interpreter doesn't take it as the end of the script ! Any idea ?
cheers, phibo
--
PHP Windows Mailing List (http://www.php.
Header-Location is simply what your browser will go to. So, if that link
pasted into the address bar of the browser works - header works too.
Perhaps the protocol is not available for you - that could be the reason.
mms: is supposed to launch some application and things get a bit dirty.
--
Maxim
Hello Tim
I am using PHP 4.2.2 on Win98 for eval and I have encountered problems with
extension_dir
too. Basically it comes to that:
PHP is not yet consistent in the usage and basing of relative pathnames in the
different
contexts (extensions, session_save, ...). In addition, absolute pathnames
php-windows Digest 8 Nov 2002 10:18:00 - Issue 1429
Topics (messages 16794 through 16807):
PHP vs ASP headers
16794 by: Charles P. Killmer
16795 by: Maxim Maletsky
16796 by: Maxim Maletsky
16798 by: Charles P. Killmer
Invalid command 'php_value' in .htaccess
im was eariler using this function
header("Location: http://www.somestreamingserver.com/actualstream.wmv";);
now the provider wants me to use the following url to access the stream
"mms://www.anotherstreamingserver.com/actualstream.wmv" and this doesnt
work at all with the header redirect
any i
24 matches
Mail list logo