holes in sequence of auto increment happen using transaction for insert
new record but you don't commit transaction itself
it seems that the autoincrement is incremented anyway
at least this is my case.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
Whoa. No need to get snippy. I was being sincere in my gratitude for
the suggestions. If nothing else, I'm sure I'll be making more use of
Xdebug in the future.
On Feb 27, 2008, at 3:55 PM, Shawn McKenzie wrote:
Adriano Manocchia wrote:
Well, I just spent more time messing wi
uess this issue is solved. Thanks for the help.
Adriano
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
OK. I just went through about 10 minutes' worth of cachegrinds,
including several httperf tests on that empty php file (which had the
usual poor results). According to the cachegrind files, nothing
(including the other active web pages) took more than 15ms and the
empty php file never excee
I'm trying to get it working but it doesn't seem to want to write the
profile info at the moment. Correct me if I'm wrong, but wouldn't this
just show problems within actual code? If the problem is occurring on
a PHP file with no PHP in it whatsoever, it seems to fall outside the
scope of w
ce issues whatsoever. And also, for what it's worth, none of
the other services on the server have problems.
On Feb 27, 2008, at 1:00 PM, Daniel Brown wrote:
On Wed, Feb 27, 2008 at 12:39 PM, Adriano Manocchia <[EMAIL PROTECTED]
> wrote:
Hi all,
I've been chasing what I think is
Hi all,
I've been chasing what I think is the same performance issue for about
a year and it's driving me batty. First off, the server is a dual core
2.8 P4 with 2G RAM running RHEL5 hosted at The Planet and is under
very light load. This problem started last year while the server was
RHEL4 and I
on the fly:
use date_format function in select statement, format should be a string
like %d%m%y not sure about it check on manual.
hth
adriano
2006/3/17, Tom Chubb <[EMAIL PROTECTED]>:
>
> Please can you help me. I've created a page where problems are posted into
> a
well I don't well understand the problem hope these two snippets can solve
your problem: i tested them seems fine
file 1 form.php
enter tour code
enter tour code
user
code
file 2
--
get_card.php
Nuova pagina 1
pls could you point out which instruction should insert record in db
thanks...
2005/12/18, Anasta <[EMAIL PROTECTED]>:
>
> It just wont insert new data into DB--any ideas as i have gone over and
> over.
>
>
>
> mysql_connect("localhost","anasta","silteren");
>
> mysql_select_db("mytipperv1");
>
just put the "wrong" lines in a file and run it from the shell
with php -f
you should get more info about what's going wrong
hyh
ciao!
2005/12/16, Tim Meader <[EMAIL PROTECTED]>:
>
> What difference are you seeing in the files I give in the example? Are
> they not identical paths?
>
> Thanks.
>
imho
I agree always declare all kinds of variables before using
in the specific situation you have to consider that you are using two
different variables
rthe $foo inside the function and the $foo outside the function I think
its' correct to declar both, imho you should use different names
if y
server and client are logical definitions, in the environment here
normally discussed these are meanings
server : a pc (cpu) where a web server is running (usually apache) and
php is parsing pages served to the client
client: is a pc (cpu), normally remote, who is asking for a page to the server
could you give us all source lines, just cut and paste ?
hy
ag.
2005/11/26, Matt Monaco <[EMAIL PROTECTED]>:
> Somewhat, but its what you need to do for the post and get arrays to work.
> What you need to do is make sure check the values in the global variables
> before you use them. For exampl
bye
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to be redirected to login must have at least one of (
if(!isset($_SESSION['student_username']) &&
!isset($_SESSION['student_password'])) )
not set, which one (or both) fail under i.e. ???
hth
ag.
2005/11/11, sunaram patir <[EMAIL PROTECTED]>:
> Hi, i am having problem with internet explorer
if i understand well you need to get an array from html post
if you use the same name for your html fields you automatically have
an array in $_POST
eg
input type=text name=myfield value="field_1"
input type=text name=myfield value="field_2"
you'll get the array ar_myfield = $_POS['myfield']
et up your
persistent system unless you trust a lot sessions that basically is a
file on disk
but as everything it's up to you
I really suggest you to go on db I can't see any disadvantage
bye
2005/10/1, Robert Cummings <[EMAIL PROTECTED]>:
> On Sat, 2005-10-01 at 11:41, adria
cart when user checkout
hope help
adriano
2005/10/1, Emil Novak <[EMAIL PROTECTED]>:
> Hi!
>
> The best way is already presented in PHP manual:
> http://www.php.net/oop . In this example you create an object, which
> you can - naturaly pass over Session, etc.
>
did you tried to run the script from the shell as www-data user ?
(if not su www-data) an then run the script may be something regarding
permission
hth
2005/9/21, John Nichel <[EMAIL PROTECTED]>:
> [EMAIL PROTECTED] wrote:
> > I have two programs on two servers, and they both have similar proble
$f=3;
if ( $ar[0]>18)
$f=4;
2005/9/21, Robert Cummings <[EMAIL PROTECTED]>:
> On Tue, 2005-09-20 at 19:20, adriano ghezzi wrote:
> > hy guys this night I'm quite tired
> >
> > I need a little tip
>
hy guys this night I'm quite tired
I need a little tip
ok var n could be from 0 to 12
var f must be set
f=1 if012
due to my fatigue I coded four if-if else statement,
in other languages it is possible use conditional epression in switch case
like
switch $n
case (0http://www.php.net/)
well I did it in the past, at the end after a lot of tests and
simulation i decided for
warehouse table
id_hotel, date, num_total_rooms, num_booked_rooms
this is day by day handling it is really flexible you can satisfy each
kind of request with very
simple queries
you also gain more flexibility
should be not too difficult to setup using a couple of web pages
running on localhost e socket
hope help
2005/9/20, Vinicius Mapelli Schmaedek <[EMAIL PROTECTED]>:
> Somebody knows a chat module to be used for conversation between only
> two people?
>
> PS: sorry, my english is not very good
-- Forwarded message --
From: Jasper Bryant-Greene <[EMAIL PROTECTED]>
Date: 14-set-2005 9.01
Subject: Re: [PHP] linux embedded no db which way
To: php-general@lists.php.net
adriano ghezzi wrote:
> guys hi all, quite new in this list
> I'm involved in a proj
guys hi all, quite new in this list
I'm involved in a project with php in a linux embedded environment,
it's impossibile to use a db server,
any suggestion on how to handle few hundreds of simple records ?
tia
-
happy work with php!
--
PHP General Mailing List (http://www.php.net/)
To un
What should I do in order to view a currency format field?
For example: I have a double-type field in my table that receives values in
currenct,
and I want to show the user the following message:
print "Your monthly fee is R$50,00" ?
thanks
--
PHP General Mailing List (http://www.php.net/)
To
Thanks.
My php.ini: error_reporting = E_ALL & ~E_NOTICE
I have a form to send of the variables, but my page do not receive values.
This my code:
thanks
"Derick Rethans" <[EMAIL PROTECTED]> escreveu na mensagem
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Adriano Sa
Hi,
I'm with problem: Undefined Variable.
I'm using :
PHP 4.2.3
MySql 3.2.39
Windows 2000
How do I make to soluction my problem ?
thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e($_SERVER["REQUEST_URI"]).'";'."\n"
.'';
where the index.php works like:
http://yourdomain.com/">
As Stephen reported me recently, this also works with iframes.
Sascha
Am Sonntag, 6. Oktober 2002 21:37 schrieb Adriano:
> Hi people,
Hi people,
@ Edwin wrore:
> 'Not really sure, but perhaps, with Javascript.
>
> But I'd rather recommend you to give up iframes... ;)
>
Can you post an example of Javascript code checking for _parent frame?
By the way, what's wrong with iframes?
bye,
Adr
--
PHP General Mailing List (http://
32 matches
Mail list logo