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
database and I am using the
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
html
head
meta http-equiv=Content-Language content=it
meta http-equiv=Content-Type content=text/html; charset=windows-1252
titleenter tour code/title
/head
body
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);
if(!isset($cmd))
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.
Hristo
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
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 example if
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. i
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']
you need a db based approach, just setup a couple of tables in mysql
items table
one record per item
current cart table
one record per each item added to cart with unique session id
order table
one record per each item ordered with unique order id
you'll transfer records here from current cart
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, adriano ghezzi wrote:
you need
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 problems.
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 :P
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
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 if0n=4
f=2 if 5n=7
f=3 if 8n=12
f=4 if n12
due to my fatigue I coded four if-if else statement,
in other languages it is possible use conditional epression in switch case
like
;
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
ok var n could be from 0 to 12
var f must be set
f=1 if0n=4
f
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
-- 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 project with php in a linux
19 matches
Mail list logo