I'm so new to this, in fact, that I may not be able to
even frame my question correctly. Please bear with me.
Suppose that I had a list in a data base of, say, countries
and that I built an array as
$states = array (
array("abbr"=>"MA", "name"=>"Massachusetts"),
Still, read this
php.net/date
it has a variety of functions, dates with zeros and without...
Another thing you can do is using the mySQL manual. Did you know that mySQL
has a WHOLE BUNCH of date functions?
Cheers,
Maxim Maletsky
-Original Message-
From: CGI GUY [mailto:[EMAIL PROT
PHP docs are weak on debugger_on() because the debugger isn't a feature
in PHP 4 :)
It was not included in the transition from PHP 3 to 4. You'll have to
use a 3rd-party debugger for PHP code. Search the archives for this
list, it has been discussed in the past.
-Original Message-
You know, what you can do (strongly not recommended, but still) is to insert
that whole thing into a database and then pull this string out and pass it
through eval().
ie: eval($record);
another way would be to take all that, addslashes($it) and then write into a
file with stripslashes($it).
Bu
The last page browser visited and clicked on 'you' would be available in
$HTTP_REFERER.
But, as the whole history, you would need some javascript to do that. It
should also be impossible to do due security reasons.
Cheers,
Maxim Maletsky
-Original Message-
From: Ing. Raul Glez Rdguez [
how about ScreamingMedia
http://www.screamingmedia.com
Tom Malone
Web Designer
http://www.tom-malone.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [
Anyone made good experiences
with the ADODB Library for PHP4?
--
WA-P : Jochen Kaechelin
Programmierung - Beratung - Hosting
Stuttgarter Strasse 3, D-73033 Göppingen
Tel. 07161 - 92 95 94, Fax 92 95 98
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Sveiki, php-general,
I want to put cookies to know how I have to open window (new window
or same window), but I'm making some mistake. Please help me.
Here is the code
--- Pasirinkite ---
Same Window
New Window
lm -ldl -lnsl -lresolv -lcrypt
stub.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr/local/cvs/php4'
make: *** [all-recursive] Error 1
grrr.
Any ideas? I have the latest stable version alrea
Dear PHP gurus:
I've been following here the ever-growing-never-to-be-stopped discussions
related to the largest sites using PHP. Apparently, most of the PHP
developers are trying to convince their bosses to use Open Source language
PHP instead of other 'silly' commercial solutions those 'brains
Hi,
for a well-known PHP advocacy site we are searching
for motivation studies of (big) companies who decided
to use PHP.
A "PHP motivation study" is not like a normal case study
where you tell the reader about the application foobar.com.
Instead, you tell 'em about why, when and how you decided
Hey all,
I'm wondering if anyone's created a custom function that'll perform SQL
highlighting, similar to the highlight_file/string functions for PHP source.
I made a quick hack, but I'd love to have something more consistent. Any
ideas?
/* Chris Lambert, CTO - [EMAIL PROTECTED]
WhiteCrown Netwo
On Vie 17 Ago 2001 20:41, Dave.O wrote:
> I was looking for the command something like mysql_insert or something,
> just found dba_insert() is this it ?!?
dba is not MySQL!
Saludos... :-)
--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
I'm having problems with the require_once command. I have an ini_set,
changing my include_path variable, but the starge thing is that some files
get included and others don't, and I have to right the full relative path.
Any ideas on what that can be? It's on a PHP-4.0.4pl1.
Saludos... :-)
--
Thanks
- Original Message -
From: "ERISEN, Mehmet Kamil" <[EMAIL PROTECTED]>
To: "Dave.O" <[EMAIL PROTECTED]>; "Martín_Marqués"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, August 18, 2001 12:42 AM
Subject: Re: [PHP] Adding records to a MySql database
> Here is how this
On Vie 17 Ago 2001 19:17, you wrote:
> I am new to MySql but wanting to use PHP to update and maintain a database.
> I thought I might use MySql.
>
> I have installed MySql, and in PHP have created a database called 'mydir'.
> I am trying to find php functions to add new records/fields to the
> da
Thanks
- Original Message -
From: "Martín Marqués" <[EMAIL PROTECTED]>
To: "Dave.O" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, August 18, 2001 12:43 AM
Subject: Re: [PHP] Adding records to a MySql database
> On Vie 17 Ago 2001 20:39, Dave.O wrote:
> > No offence but you
I have read the documentation already.
I am trying to create a directory, which information can be added and
maintained through a the web browser. I thought that using a MySql database
would be a good idea rather than writing it all to a file. You saying that
MySql is a waste of time for this ?
On Thursday 16 August 2001 7:35 pm, Elias Santiago wrote:
> I believe that IIS passes the script name to php.exe with the first %s. I
> think IIS replaces the first %s with the script name. From the second
> article, I suppose that if the %s is changed to %S, the name passed to
> php.exe would be
Me too, I've never had any problems with PHP running it with or without the
%s %s. I guess that IIS 3 required that, but IIS 4./5 not necessarily
require it (a useful bug??). Nevertheless, it work without them anyways.
I only wish that the PHP ISAPI module is FINALLY made stable (production
qua
On Vie 17 Ago 2001 20:14, Dave.O wrote:
> I have read the documentation already.
>
> I am trying to create a directory, which information can be added and
> maintained through a the web browser. I thought that using a MySql
> database would be a good idea rather than writing it all to a file. Yo
I sended this E-mail to two PHP mailing lists yesterday. Both this one and the
installation mailing list. Doesnt
seem that anyone can solve this problem for me but i dont believe that.
Can someone PLEASE help me!
> I get the following error message:
>
> gcc -I. -I/expor
Sorry! Here comes more information.
This is how my configure looks when i am trying to compile.
The ldap directory is were i installed OpenLDAP.
The compilation of OpenLDAP was succesfull and uses BerkeleyDB's ldbm.
I compile on a Solaris 8 machine and the compilation of PHP works without any erro
No offence but you are telling me stuff I already know ! This mailing list
is very good so dont take offence due to my frustration. I know how to
connect to the server, create the database and more or less query it, but
cant find the command to add/insert records or am I doing something very
wr
Jim,
I'm trying to figure out what in the world you are doing differently than me that you
are getting any failures without the %s %s ? I have been running php for 9 months
now, and having at one point 10 extensions turned on including added ones not from the
php.net package, and I have never
I was looking for the command something like mysql_insert or something, just
found dba_insert() is this it ?!?
- Original Message -
From: "Martín Marqués" <[EMAIL PROTECTED]>
To: "Dave.O" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, August 18, 2001 12:23 AM
Subject: Re: [PH
Here is how this is done:
$sql = "insert into employees
values ('10','John','Smith','Engineer') ";
$result = mysql_query($sql) or die ('Insert failed');
with php, you can execute any SQL statement as long as you
have access...
to update a table
$sql = "update employees
set job
On Vie 17 Ago 2001 20:39, Dave.O wrote:
> No offence but you are telling me stuff I already know ! This mailing
> list is very good so dont take offence due to my frustration. I know how
> to connect to the server, create the database and more or less query it,
> but cant find the command to ad
Elias,
I spoke with the original developer for the windows version of php, Shane Caraveo. He
told me and many others at the PHP conference last month that his #1 objective for php
in the upcoming months is to build a stable version of the isapi module for windows.
So it may be sooner than you
101 - 129 of 129 matches
Mail list logo