On Thursday 26 December 2002 07:25, Stephen of Blank Canvas wrote:
> Hi Everyone,
>
> I'm trying to display the content of two mysql tables on a single page,
> I have successfully joined them with the following statement.
>
> $query = "SELECT serv.*, cat.* FROM site_services AS serv,
> site_service
Hey!
I'm using FreeBSD 4.5 as my server and I have loaded Apache 1.3.2 and
PHP 4.x . hare goes the question, sorry it isn't about php but still
maybe you can help me. When I type Http://www.example.com/~user the page
says that it doesn't exist.. But when I type in
Http://www.example.com/~user/ then
Hi!
Has anybody got documentation for UltraTemplate? I read the examples on
their website but I didn't understand it very well.
Any doc. would be apreciated. :)
--
*** s2r - public key: (http://leeloo.mine.nu/s2r-gmx.sig)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visi
There are single quotes missing before %s -> '%s'
> $insertSQL = sprintf("INSERT INTO stories (firstName, lastName,
> address1,
> address2, city, `state`, country, postCode, telephone, email, title,
> story) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
>Ge
I checked and register_globals is ON, I am new to php and I am building on a
tutorial from a book. below is the code any help would be appeciated.
Thank you,
Ed Waite
"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
000401c2ac90$8a2f77f0$7c02a8c0@coconut">news:000401c2ac90$8a2f77f0$7c02a8
Perhaps setting the ini file socket info is bypassing php using the tcp port
directly. It should be going 'through' tcp/ip to get at the port mysql is
listening to and they talk through there. I'm on a windows box and have
limited experience with unix implementations, but on the one linux box I d
> I am trying to create a form to insert records into a MySQL db what
> setting
> should I be looking at in the php.ini? My page seems to work and goes
to
> the
> next page correctly without errors, but does not enter any information
in
> the database.
Probably register_globals, if I had to guess
What does the database table(s) look like?
I don't understand what '0045' and '2354' are -- are they student no's?
Better questions get better answers :)
Justin
on 26/12/02 12:03 PM, menezesd ([EMAIL PROTECTED]) wrote:
> Hello friends.
>
> I work for a school where we need to put the clas
Hi all,
Hope everyone had a Merry Christmas.
I am trying to create a form to insert records into a MySQL db what setting
should I be looking at in the php.ini? My page seems to work and goes to the
next page correctly without errors, but does not enter any information in
the database.
Thanks in
> I work for a school where we need to put the class results on to our
web,
> one for every class. We enter the marks in the database and this
should be
> displayed in a particular varying format as follows(an example) :
>
> Grade A Pass :
> 4554 7687 9834 2354 7671
>
> Grade B Pass :
> 0045 7612
Hello friends.
I work for a school where we need to put the class results on to our web, one for
every class. We enter the marks in the database and this should be displayed in a
particular varying format as follows(an example) :
Grade A Pass :
4554 7687 9834 2354 7671
Grade B Pass :
0045 7612
Hello,
yes, I am. Because if I compile PHP from source.tar.gz (version
4.2.3), it works. But I am not sure with version of PHP from CVS. I
try
cvs -d :pserver:[EMAIL PROTECTED]:/repository co -r PHP_4_2_3 php4
but answer is only cvs [server aborted]: no such tag PHP_4_2_3.
Command
On Thursday 26 December 2002 00:57, Bc. Radek Krejča wrote:
> Fatal error: main() [function.main]: Failed opening required
> './libraries/grab_globals.lib.php' (include_path='.:/usr/local/lib/php') in
> /home/starnet.cz/dbadmin3/index.php on line 8
>
> Where is problem, what I made bad?
Hi,
are y
Hello,
I try compile PHP from CVS. I download source, configure it, compile
it and install it. All ok, but after installation I got this:
Fatal error: main() [function.main]: Failed opening required
'./libraries/grab_globals.lib.php' (include_path='.:/usr/local/lib/php') in
/home/starnet.cz/dbad
Hi Everyone,
I'm trying to display the content of two mysql tables on a single page,
I have successfully joined them with the following statement.
$query = "SELECT serv.*, cat.* FROM site_services AS serv,
site_servicescat AS cat WHERE serv.servicescat_id = cat.servicescat_id
AND serv.theme_id
"John W. Holmes" <[EMAIL PROTECTED]> schreef in bericht
000401c2ac54$142032c0$7c02a8c0@coconut">news:000401c2ac54$142032c0$7c02a8c0@coconut...
> Kind of begs the question of why can't you just select what you need
> with the proper query, instead of loading everything into an array...
Yeah, just
On Thursday 26 December 2002 03:34, Chris Wesley wrote:
> On Wed, 25 Dec 2002, @ Nilaab wrote:
> > I have an multi-dimensional array called $cat_data, which is info
> > extracted from a MySQL DB. I want to retrieve the very last item of that
> > array. How would I do that? I know the first item can
> I have an multi-dimensional array called $cat_data, which is info
> extracted
> from a MySQL DB. I want to retrieve the very last item of that array.
How
> would I do that? I know the first item can be retrieved by simply
asking
> for
> $cat_data[0][0], which contains an id number. But I can't fi
php-general Digest 25 Dec 2002 20:26:44 - Issue 1784
Topics (messages 129317 through 129327):
Re: Problem with Include
129317 by: sport4ever
Writing byte 0A to a file (LF / CR related)
129318 by: BBun
129319 by: BBun
129320 by: Thomas Seifert
CVS download
> I'm looking for a class to manage settings stored in a .ini (or other
> format) file. I could store them in a database, but they need to be
> there even when the DB's down. Any ideas?
Parse_ini_file() may be of use. Or search phpclasses.org, they are sure
to have something.
www.php.net/parse
I'm looking for a class to manage settings stored in a .ini (or other
format) file. I could store them in a database, but they need to be
there even when the DB's down. Any ideas?
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be pros
On Wed, 25 Dec 2002, Ben Edwards wrote:
> I have a fairly simple mail form which gets email, subject and message and
> posts to itself.
> It then use mail() function to send a email.
> mail( $admin_email, $subject, $message, "From: $email" );
> Problem is the message gets truncated if there is a c
I'm having some problems with MySQL. PHP just isn't working with it.
I'm running Apache 1.3.27 with PHP 4.2.3 and MySQL 3.23.49 on OpenBSD 3.2.
Apache and PHP were compiled with source (PHP was configured with
--with-mysql and --with-apxs), and MySQL was installed from a package.
I can connect
On Wed, 25 Dec 2002, @ Nilaab wrote:
> I have an multi-dimensional array called $cat_data, which is info extracted
> from a MySQL DB. I want to retrieve the very last item of that array. How
> would I do that? I know the first item can be retrieved by simply asking for
> $cat_data[0][0], which con
Hello Everyone,
I have an multi-dimensional array called $cat_data, which is info extracted
from a MySQL DB. I want to retrieve the very last item of that array. How
would I do that? I know the first item can be retrieved by simply asking for
$cat_data[0][0], which contains an id number. But I can
Hello,
I want to download PHP from CVS and a wrote this command (from
manual):
cvs -d :pserver:[EMAIL PROTECTED]:/repository co -r PHP_4_2_3 php4
But I got this message:
cvs [server aborted]: no such tag PHP_4_2_3
Where is problem?
Thanks Radek
--
PHP General Mailing List (http://www.php.ne
from the manual:
Note: On systems which differentiate between binary and text files (i.e. Windows) the
file must be opened with 'b' included in fopen() mode parameter.
Thomas
On Wed, 25 Dec 2002 11:43:13 +0100 [EMAIL PROTECTED] (Bbun) wrote:
> Hey,
>
> I am trying to write some binary data
Hey,
I am trying to write some binary data (image) to a file, but using fputs,
every 0A byte will be written as 0D 0A. This is because of the windows
representation of a new line (\r\n), but I'm not writing a text file! I'm
writing binary data! Does anyone know how I can make this work correctly?
Hey,
I am trying to write some binary data (image) to a file, but using fputs,
every 0A byte will be written as 0D 0A. This is because of the windows
representation of a new line (\r\n), but I'm not writing a text file! I'm
writing binary data! Does anyone know how I can make this work correctly?
Thanks to all whom answered me
while there is no solution for my problem (including more than one PHP file
in a HTML page through SSI) :(
I want to return to my server old configuration, It was:
RedHat Linux 7.3
Apach 1.3
PHP 4.0.1
except PHP, because I have encountered some problems with PHP 4.0.
php-general Digest 25 Dec 2002 08:26:00 - Issue 1783
Topics (messages 129295 through 129316):
What happened with zend engine version 2?
129295 by: Erik Franzén
129299 by: Rasmus Lerdorf
129308 by: Erik Franzén
129316 by: Erik Franzén
Re: Problem with Include
You don't need to answer my questions. Found almost all answers myself (Yes,
I was "triggerhappy" to post my questions here before I looked for the
answers...)
I have one question though, in which status are Zend Engine 2 in? I mean,
have you already taken the major decisions about (for an example
32 matches
Mail list logo