Hello Tom,
Thursday, February 27, 2003, 7:39:52 PM, you wrote:
TR> Hi,
TR> Friday, February 28, 2003, 12:20:38 PM, you wrote:
RK>> I really need somebody to help me with this I am totally lost on what
RK>> to do
RK>> I need a way to read the following text file and add to or delete from
RK>> o
Hi,
Thursday, February 27, 2003, 2:55:48 PM, you wrote:
JTJ> Thanks!
>> exec("mysqldump -c -q database -u user -ppassword", $sql);
JTJ> Why is there no space between the -p and password?
>>-ppassword
JTJ> Am I wrong?
JTJ> Thanks,
JTJ> John
Probably because a space is a valid char in password
Hi,
Friday, February 28, 2003, 4:24:54 PM, you wrote:
AS> so i have a function that creates objects (with member variables) and
AS> pushes those objects onto the array. after adding all of the objects,
AS> the function then returns the array...
AS> i'm having trouble accessing the members of ea
http://www.php.net/manual/en/security.registerglobals.php
Mike wrote:
Hi,
I'm running Apache 2.0 and PHP 4.2.2 on a RedHat 8.0 Machine. I'm unable
to pass variables through a URL like index.php?test=something. Can
anyone help here? I've looked through both my httpd.conf and php.ini
files and did
Hey guys,
Im having problems getting my helloworld.php file to
Work on the apache server.
My phpinfo.php works perfect.
I know the code is write
The error message I get is
#
Internal Server Error
The server encountered an internal error or m
Hi,
I'm running Apache 2.0 and PHP 4.2.2 on a RedHat 8.0 Machine. I'm unable
to pass variables through a URL like index.php?test=something. Can
anyone help here? I've looked through both my httpd.conf and php.ini
files and didn't see anything...
-Michael
--
PHP General Mailing List (http://www
so i have a function that creates objects (with member variables) and
pushes those objects onto the array. after adding all of the objects,
the function then returns the array...
i'm having trouble accessing the members of each object in the
array...i'm trying to do something like this:
class
snip from manual for -p option:
|-
-p[password], --password[=...]
Password to use when connecting to server. If a password is not given on the
command line, you will be prompted for it. Note that if you use the short
form -p you can't have a space between the option and the password
G'day Karl
> Hey guys I finally got my phpinfo file to show on apache server
> But when I try to do a hello world or browser check I get a 500 error
> message
FWIW, I've seen this error when I've had mac line endings instead of unix.
cheers
kim
--
PHP General Mailing List (http://www.php.
Title: Message
Hey guys I finally got my phpinfo file to show on apache server
But when I try to do a hello world or browser check I
get a 500 error message
Can anyone help me out, and educate me what I’m doing
wrong.
This is my
script
PHP Test
php
if (strst
Please don't send MS Word content in your email. It crashed Mozilla before
I was able to reply.
Karl James wrote:
Hey guys I finally got my phpinfo
file to show on apache server
But when I try to do a hello world or browser check
I g
Hey guys I finally got my phpinfo
file to show on apache server
But when I try to do a hello world or browser check I get
a 500 error message
Can anyone help me out, and educate me what I’m
doing wrong.
This is my script
PHP
Test
php
if
(strst
Hi,
I've got to sort the $numeric_arry
This doesn't seem to work:
sort ($numeric_array, SORT_NUMERIC);
I think its sorting $key
asort ($numeric_array, SORT_NUMERIC);
sorts as a string
THANKS AGAIN IN ADVANCE,
Jim Long
JanetVal Wrote:
> Well, as long as you know exactly what you are looking fo
Hi Everyone,
OK I have looked through the archives and all over the net. I apologise if
this has been seen before but here goes :
No matter what switches I use I get the same error when I "make" ./configure
goes fine. RedHat 8.1 beta PHP 4.3.1 the error is :
ext/mysql/libmysql/my_lib.lo(.text+0x3
I want to thank those who tried to help with my questions about using the GD
libraries.
I still have not gotten them to function using PHP.
I've put two screenhots of the phpinfo() page at:
www.gonefishingguideservice.com/php_page.htm
If you care to take a look at those images, you'll see that
I am trying to run a PHP CLI script from cron using PHP 4.3 and FreeBSD
5.0
This is what I have verified:
My clock is set right
I can run bash scripts from cron
I have tried running the script as root and as other users
If I run the PHP CLI script by had it works fine
I set cron to run the scri
Hi all,
I'm using JPGraph on a localhost for a website opened via a host redirect.
My problem is that nobody can see the graphs but me ('cause I'm on
localhost).
Any clues?
Thx.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey does anyone know if you can use PHP and ASP 3.0 or I.I.S on the same hard drive on XP pro?
I need to know for school, because I’m taking
classes for both languages.
ultimatefootballleague.com/index.php
[EMAIL PROTECTED]
Ok I created an engine, an extremely simple engine that parses a template
file and then according to whatever page and language it is on it calls that
template.
Now the problem is that, well let me give you an example:
I have a page called index.php which only has an include_once function in
it
Hi,
Thanks to those who have helped me.
Jason Lange Wrote:
> Try this code (tested):
>
> <-- Begin Code -->
> foreach ($list as $key => $value) {
> // If elements value is a numeral add to numeric_array
> if (is_numeric($value)) {
> $numeric_array[$key] = $valu
In a message dated 2/27/2003 12:47:25 PM Pacific Standard Time,
[EMAIL PROTECTED] writes:
>First time poster here and a 1 week old PHP/Mysql programmer
>
>I have bought several books and scoured the net for any and all PHP/MySQL
>tutorials. Here is the problem I am running into:
>
>1. The docs tel
Hi,
Friday, February 28, 2003, 12:20:38 PM, you wrote:
RK> I really need somebody to help me with this I am totally lost on what
RK> to do
RK> I need a way to read the following text file and add to or delete from
RK> or change the data.
RK> I have been able to move it all into an array using th
You can't display an image like that in HTML. You need to make a second
PHP script that displays just the image, and call it with a tag.
Kevin Waterson wrote:
>I am having some problems with ob_*
>
>My goals is basically this
>
>Stuff goes here
>
>More stuff here
>
>The code below works until th
Hi,
Friday, February 28, 2003, 1:16:56 PM, you wrote:
TR> Hi,
TR> Friday, February 28, 2003, 12:09:30 PM, you wrote:
JWH>> Can anyone with Apache verify that you can pass arguments inside of a
JWH>> virtual() call? Something like:
JWH>> Virtual("script.pl?id=1")
JWH>> And have $id available wit
Hi,
Friday, February 28, 2003, 12:09:30 PM, you wrote:
JWH> Can anyone with Apache verify that you can pass arguments inside of a
JWH> virtual() call? Something like:
JWH> Virtual("script.pl?id=1")
JWH> And have $id available within script.pl.
JWH> I don't have access to an Apache server right
That is why I suggested passing all that over SSL which would make it
very difficult to get the data even if you were able to get the
packets. If you are operating with data that you care about you
probably need SSL. There is not much point in creating some type of
applet combination that your us
I really need somebody to help me with this I am totally lost on what
to do
I need a way to read the following text file and add to or delete from
or change the data.
I have been able to move it all into an array using this code
$groups= file("group");
for ($i=0; $i<$number_in_group; $i++){
$grou
On Thu, 27 Feb 2003 14:31:45 -0800 (PST), you wrote:
>Basically, it runs on the
>MS-SQL server and allows requests in XML format on a certain port.
That's actually pretty cool, from a tech standpoint, but why not
access the MS-SQL database directly? From Windows it's easy, you just
need the SQL
Can anyone with Apache verify that you can pass arguments inside of a
virtual() call? Something like:
Virtual("script.pl?id=1")
And have $id available within script.pl.
I don't have access to an Apache server right now to test, so thank you
very much.
---John W. Holmes...
PHP Architect - A mo
I am having some problems with ob_*
My goals is basically this
Stuff goes here
More stuff here
The code below works until the showImage method is called, it does show the image
however, it does not output the 'Stuff goes here!' line.
any guidance greatfully recieved.
Code is below..
Kevin
Try this code (tested):
<-- Begin Code -->
foreach ($list as $key => $value) {
// If elements value is a numeral add to numeric_array
if (is_numeric($value)) {
$numeric_array[$key] = $value;
// If value is not a numeral (presumably 'n/a') add to na_array
} e
> What about using a MySQL database? Insert the picture into a field in
> a table, then use a php script to call the data. I've been working on
> something like this. Is it practical, or am I barking up the wrong
> tree?
Too much overhead, in my opinion. Same result if you just stored the
files
Begin forwarded message:
From: Pushpinder Singh Garcha <[EMAIL PROTECTED]>
Date: Thu Feb 27, 2003 7:57:38 PM US/Eastern
To: olinux <[EMAIL PROTECTED]>
Subject: Re: [PHP] Help with Arrays
Thanks
My question was that each line of the file should be stored as one
element of the array.
This is be
Right, well there's a few issues here.
1.
You're asking if there's a way to parse a QXD file so retrieve the text from
it. I doubt this can be done. I had a quick google for it, to no luck. I
also bothered to open up a Quark 3.32 file in my text editor, to check out
the source. It looks prett
Hi,
Origninal Post:
> I have an array with an html link as key and different $vars as val:
>
> $list = array (
> 'http://someplace.com/";>some place' => $vendor1_total,
> 'http://anotherplace.com/";>another place' => $vendor2__total,
> [snip] etc..
>
> some vals are numeric and some vals are "
Don't know if this is appropriate or not but here we go.
I need help with a project. requires a PHP developer. The two programs
we're using are php and MySQL. Anyone interested or anyone who can help
guide me to a place to find help please reply to me directly or to the
list as you feel appr
hey guys, just a quick question re: creating pdf files on the fly.
i was wondering if anyone knew if it is possible to fully justify text?
thanks in anticipation, john
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thanks it's working now
- Original Message -
From: "Matt Honeycutt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 7:23 AM
Subject: RE: [PHP] problem in writing into an html text file
> Check stripslashes(), I think that will help you.
>
> ---Matt
>
> -O
> When using the COM functions in PHP what is the equivalent of
> ASPs "set object=nothing"?
> I am using the Crystal Report objects and I cannot seem to
> destroy my Report object.
Have you tried setting it to NULL?
Rich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Hi guys ,
Seams like ini_set('session.use_trans_sid',0) does not work right on PHP
4.3.1 on Linux.
//--
PHP config is:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml'
'--enable-bcmath' '--enable-calendar' '--with-curl'
'--with-swf=/usr/local/flash' '--enabl
When using the COM functions in PHP what is the equivalent of
ASPs "set object=nothing"?
I am using the Crystal Report objects and I cannot seem to
destroy my Report object.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Check stripslashes(), I think that will help you.
---Matt
-Original Message-
From: Michael P. Carel [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 27, 2003 4:53 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] problem in writing into an html text file
this code add a backslashes in all d
this code add a backslashes in all doubleqoutes in the html file.
sample:
before editing my.html file
after editing my.html file
any idea why and how can i avoid this?
> sorry here's the sample code:
>
> if(!$submit){
> ?>
>
> $filename="my.html";
> $fd=fopen($filename,"r+") or die("
> New to PHP, I was wondering if PHP, running as a module under Apache 2,
> had an automatically included script that would run prior to any/each
> PHP script served by Apache?
>
> Tks,
> Dwayne
Dwayne
Look into the auto_prepend_file directive that you can specify in php.ini -
this may suit your n
Hello,
On 02/27/2003 04:27 PM, Joseph Bannon wrote:
Why don't you just use phpAdsNew?
Because I prefer to write it myself so I can learn
more.
You can learn more studying the solutions provided by those that already
attempted to implement the same problem. Just study phpAdsNew and you
will lea
New to PHP, I was wondering if PHP, running as a module under Apache 2,
had an automatically included script that would run prior to any/each
PHP script served by Apache?
Tks,
Dwayne
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thought I would throw this out if anyone is interested. We have some
proprietary accounting software that uses MS-SLQ as it's backend. Not my
choice, trust me.
Anyhow, I hassled the guy who made the software long enough that he
created a solution until we can swith to MySQL. Basically, it runs on
On Wed, 26 Feb 2003, Philip Hallstrom wrote:
|
|Use the w option of date() and loop through adding 86400 to $t until you
|get to a number between 1 and 5.
|
| w - day of the week, numeric, i.e. "0" (Sunday) to "6" (Saturday)
I may of gotten ahead of myself, but I tried it using if/else. Looks lik
> From: "Alexander Tsonev" <[EMAIL PROTECTED]>
>
> Hello,
> I would ask you a question about date type
> if I have a variable from date type ($newdate) such as 2003-02-17
> how can I separate $newdate into 3 different variables? I want to create
> such variables:
> $day=17
> $month=2
> $year=2003
This might help:
http://www.tutorbuddy.com/software/phpcpp/phpcpp/
J
Michel M. Dos Santos wrote:
>
>
> Hi,
>
> I have a doubt about extending functions in PHP. I want to use C++
> language rather than C pure. I saw that dotnet module has cpp file. Is it
> possible ?
>
> Thanks a lot,
>
>
$date_array=explode("-",$newdate);
$day = $date_array[2];
$month = $date_array[1];
$year = $date_array[0];
Or,
$timestamp - strtotime($newdate);
$today = getdate($timestamp);
$month = $today['month'];
$mday = $today['mday'];
$year = $today['year'];
"Alexander Tsonev" <[EMAIL PROTECTED]> wrote in
I'm considering making a dynamic application for Mozilla/Netscape using
PHP and XUL. Has anyone here done this? Anything I should be aware of?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I would ask you a question about date type
if I have a variable from date type ($newdate) such as 2003-02-17
how can I separate $newdate into 3 different variables? I want to create
such variables:
$day=17
$month=2
$year=2003
I searched a lot, but I didn't find how to do this.
I'll be very h
and what problem is that?>
how about just using the example?
http://www.php.net/manual/en/function.file.php
$lines = file ('http://www.example.com/');
// Loop through our array, show html source as html
source; and line numbers too.
foreach ($lines as $line_num => $line) {
echo "Line #{$line
Hello all
I am having some problem with arrays
THIS IS THE PHP CODE
$temp = file("file.txt");
if(!$temp)
{
echo "File could not be read by array !! ";
exit;
}
else
echo "Array was opened !!";
$x = count($temp);
echo "Array Count is: $x";
echo "$temp[0]";
//$P = str
take a look at the database abstraction layer ADODB at php.weblog.com Even
if you are like me and never use more than just MySQL, it makes like a lot
easier.
=C=
* Cal Evans
* Stay Plugged Into Your Audience
* http://www.christianperformer.com
-Original Message-
From: Hunter, Jess [mail
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey Jim,
- From the WINE Faq (http://www.winehq.org/).
"3.8. Do I need to have a DOS partition on my system to use Wine?
You do not need a licensed and installed copy of DOS or MS Windows to
install, configure and run Wine. However, Wine has to b
Hi,
I have a doubt about extending functions in PHP. I want to use C++ language
rather than C pure. I saw that dotnet module has cpp file. Is it possible ?
Thanks a lot,
Michel M. dos Santos
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
Greets all,
First time poster here and a 1 week old PHP/Mysql programmer
I have bought several books and scoured the net for any and all PHP/MySQL
tutorials. Here is the problem I am running into:
1. The docs tell how to access MySql through the MySql monitor
2. any docs that tutor how to make P
I'm looking for a way to have php automatically log a user into an htaccess
protected directory.
My problem is as follows. I currently have a large number of php scripts
which use a database authentication system. Unfortunately, there are also
a number of old CGI scripts which need to be prot
Hello ,
I need a way to read the following text file and add to or delete from
or change the data.
I have been able to move it all into an array using this code
$groups= file("group");
for ($i=0; $i<$number_in_group; $i++){
}
But I can not figure out how to search the array and delete from or add
Have you seen phpAdsNew ?
It really kicks ass. High quality development going on with that
project. Plus, they've already worked out all the issues you are having
with cookies and what not by using sessions. It's really fast too, and
they have some caching options to make performance even be
Actually, there's a threads extension in PECL:
http://cvs.php.net/cvs.php/pear/PECL/threads
J
Justin Garrett wrote:
> PHP does not support threading. Depending on what you're trying to do you
> may find the process control functions useful
> http://www.php.net/manual/en/ref.pcntl.php
>
> Ju
Don't reinvent the wheel :)
http://www.phpadsnew.com/one/
--- Joseph Bannon <[EMAIL PROTECTED]> wrote:
> Anyone? Reply?
>
>
> I recently created some scripts to rotate ad banners
> on my site. One script is called show.php, which
> serves the banner. The other is called click.php,
> which redire
HI Paul,,,
On Wednesday 26 February 2003 22:10, Paul Nicholson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Wednesday 26 February 2003 02:19 pm, James Hatridge wrote:
> [snip]
>
> > Thanks for the address. I looked into it closer and I find that it is
> > only for Windows. Pity.
> Why don't you just use phpAdsNew?
Because I prefer to write it myself so I can learn
more.
J.
=
RisingMusic.com
450,000 registered users.
14,000 registered bands and artists.
__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips,
Anyone? Reply?
I recently created some scripts to rotate ad banners
on my site. One script is called show.php, which
serves the banner. The other is called click.php,
which redirects the people to the proper site for
the banner they clicked on.
Some people have noticed that when they click on t
To append my own answer. In order to sort the non "n/a" values you're going
to have to build a separate array and perhaps this will simplfy the problem.
So instead of what I suggested below.. loop the array and start TWO new
arrays within the loop. One array for "n/a" values and one for non-"n/a"
My friends, why this program no function in php4, just in php3?
Pessoal, esse algoritmo é conhecido como Dijkstra, ele calcula o melhor caminho entre
pontos( num grafo, por exemplo), mas nao consigo rodar ele no php4, so funciona no 3.
Alguem sabe me dizer se há algo errado?
2, d => 3);
$neigh
I seem to be having trouble with htmlentities(). Maybe someone has a clue I can
borrow. Here's my function:
function FitForHTML($string) {
$asciitable = get_html_translation_table(HTML_ENTITIES);
$string = htmlentities($string, ENT_COMPAT);
$string = str_replace($asciitable[chr(255)],
Hmm well upon first glance looks like all you need to do is loop that array
and start a new array within the loop. An If/Else construct checks If the
value is "n/a" then append to the back of the new array Else prepend to the
front of the new array.You append the values manually or use
array_p
> Secondly, I'd like to trace a basic X/Y graph with data provided from a DB,
> any PHP help?
JPGraph is good.
--
Jordan Elver
Put the key of despair into the lock of apathy. Turn the knob of mediocrity
slowly and open the gates of despondency - welcome to a day in the average
office. -- David
Hi,
I have an array with an html link as key and different $vars as val:
$list = array (
'http://someplace.com/";>some place' => $vendor1_total,
'http://anotherplace.com/";>another place' => $vendor2__total,
[snip] etc..
some vals are numeric and some vals are "n/a"
asort works to sort the arra
Hi guys,
I would like to read the IP address from a PC that connects to my web site.
Any function does that in PHP?
Secondly, I'd like to trace a basic X/Y graph with data provided from a DB,
any PHP help?
Thx.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
Hi all,
I'm trying to get a vanila installation of php 4.3.1(only the cli version)
on a solaris 8 system. This is my first day on a solaris box so I don't know
much about it. I'm running into some errors in the final linking stage. Any
one experienced this problem and got any idea to fix it? (error
Hi Merlin,
What you are describing is named Hot Linking. A quick search on Google gave me this:
http://www.htmlbasix.com/disablehotlinking.shtml
Regards,
Daniel Kushner
Need PHP Training? http://www.nyphp.org/training.php
> -Original Me
you can provide only one variable in the array:
http_post(
'195.57.250.36',
80,
'/barceloDS/interface/xml',
array(
"xml"=>$xml
)
);
On some date, Diana Castillo wrote:
>thanks a lot I have a question, how would I specifiy the name of the
>variable I am sending if I am
First of all, are they paying you to automate or to repurpose the content
for the web? Taking a page designed for print and then "automating" it into
a page for the web is the wrong approach, your problem is not technical it
is a design problem. Technically it is easy, I think, does Quark not have
Use $category_list = array() instead.
When you do $category_list[] = array(), you are creating
an array of arrays. $category_list becomes an array with 1 element and this
element is an empty array. So use $category_list = array();
"Michael Zornek" <[EMAIL PROTECTED]> wrote in message
news:[EMAI
What about using a MySQL database? Insert the picture into a field in
a table, then use a php script to call the data. I've been working on
something like this. Is it practical, or am I barking up the wrong
tree?
-Original Message-
From: John W. Holmes [mailto:[EMAIL PROTECTED]
Sent:
By including "\n" the html source looks like this, which is fine. I'll RTFM
about $_SERVER and post back if in trouble.
Thanks for help.
Stephen
$_SERVER['PHP_SELF']=
$_SERVER['SCRIPT_NAME'] (etc)=
__FILE__=/path/sfindex03.php
$SCRIPT_FILENAME=/path/sfindex03.php
Basename=sfindex03.php
--
Hello,
On 02/27/2003 02:22 PM, Ricardo Fitzgerald wrote:
I've dl your class and read some of your test scripts, but it's not
working at all
I tested using test_personalized_bulk_mail.php
And I got :'Error: it was not possible to send email message'
You most likely have a PHP configuration problem
The
Jason k Larson wrote:
> I disagree. While I tend to stay away from short tags in general, the
> use of the short echo tag has yet to cause any trouble for me. And it
> makes code exceptionally easier to read, which proves to be a
> valueable asset. Maybe you could provide and example w
I disagree. While I tend to stay away from short tags in general, the
use of the short echo tag has yet to cause any trouble for me. And it
makes code exceptionally easier to read, which proves to be a valueable
asset. Maybe you could provide and example where a short tag is causing
some trouble
I've checked up on strings, and it seems like the quoting is like the Korn
shell.
You can see below that I found basename() which works fine with __FILE__,
but $_SERVER['PHP_SELF'] etc print nothing. Any ideas?
Stephen
=PHP==
$_SERVER[\'PHP_SELF\']= '.$_SERVER['PHP_SELF']."";
echo '$_
Mike
Try ...
Rich
> -Original Message-
> From: rentAweek support [mailto:[EMAIL PROTECTED]
> Sent: 27 February 2003 17:32
> To: [EMAIL PROTECTED]
> Subject: [PHP] Counting table fields having specific values
>
>
> I have a table where the row named "hide" can have a value 0 or 1.
> I
Actually, echo can handle multiple arguments, which it thinks those are.
echo 'foo', "bar", $foobar; //one example
//echo x3
echo 'foo';
echo "bar";
echo $foobar;
echo 'foo'."bar".$foobar; //yet another echo example
There are even more complex ways too and, of course, the use of ()s ...
but I t
--On Wednesday, February 26, 2003 06:05:20 PM -0500 Jim Greene
<[EMAIL PROTECTED]> wrote:
> So you suggest turning the $info into an array... How would I go
> about using the:
No, I don't suggest "turning the $info into any array". It already is
an array. Quoting from the www.php.net docum
I currently do this:
$raw="Nov 28 18:26:35 2002";
$when=`date -jf '%a %b %e %T %Y' "$raw" '+%s'`;
when I'd much rather do this:
$raw="Nov 28 18:26:35 2002";
$when=strptime($raw, '%a %b %e %T %Y');
which is of course a non-existent function in PHP. I'd like to stop
calling a su
if ($array = mysql_fetcharray($result))
{echo $array["SUM( hide = 0 )"];
}
although for readability I'd prefer an
" AS sum_hide " in the query and then use
$array["sum_hide"]
in general for reading from a mysql result ...
// for a single return row (or the just the first row)
if ($result =
With the output you are getting you will not see the output from the .' '.
As it inserts a space into the ouputted text. There is an error after the
$_SERVER['PHP_SELF'] the , should be a . (is this just a typo in the
e-mail?)
Thanks
Mark
-Original Message-
From: Stephen Ford [mailto:[E
I have a table where the row named "hide" can have a value 0 or 1.
I want to obtain a count of all the rows where "hide" has value 0.
The following works on mysqladmin:
SELECT SUM( hide = 0 ) FROM `names` LIMIT 0, - 1
Giving
SUM( hide = 0 )
7
The PHP script statements generated are:
$sql =
I'm fairly certain we decided not to count you anyhow. ;)
John
> Nope. It's 41 (I don't use Emacs)
>
> At 15:30 27.02.2003, Larry Brown spoke out and said:
> [snip]
> >Oops...I stand corrected.
> >
> >Larry S. Brown
> >Dimension Networks, Inc.
> >(727) 72
> I'm working on a form that will submit multiple lines of data to a
> database.
>
> The form's style is that of an order form, where there are lines for
each
> item available, and a single submit button at the foot of the page.
>
> For example:
>
> ===
> Item Quantity
> ---
Hi Manuel,
I've dl your class and read some of your test scripts, but it's not
working at all
I tested using test_personalized_bulk_mail.php
And I got :'Error: it was not possible to send email message'
Thank you,
Rick
Off Price Closeouts
1700 W 8 Ave
Miami, FL 33010
(305) 888 2555
FAX (305) 8
> I recently discovered the reason why the traffic is rising so high on
my
> server. Some people are "stealing" bandwidth. They include
> the link of an image into a forum posting. Now everytime somebody
reads
> this
> threat on the other site this image is
> served by my server!! No one cares abou
$category_list = array();
On Thu, 2003-02-27 at 12:17, Michael Zornek wrote:
I want to create an empty array so I can add elements to it later
I'm currently using:
$catergory_list[] =array();
But when I try to print this list I discover
I want to create an empty array so I can add elements to it later
I'm currently using:
$catergory_list[] =array();
But when I try to print this list I discover the element zero has the string
"Array" in it. How can I create a truly empty array?
~ Mike
--
MikeZornek.com
New blog, new Q&A column,
My understanding is:
- each time a request causes a *session file to be created or accessed*.
--
Jason k Larson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I am sending an xml request as part of the url using urlencode to
encode
> my
> xml. It doesnt work like that so the server that is receiving it
doesnt
> seem to like the data in the query string.
> However, if I send it from a form using the method post then it works
> fine.
> Is there a way to
1 - 100 of 161 matches
Mail list logo