hi,
do try this - select * from my_table orer by rand() limit my_max_rows like
select * from questions order by rand() limit 5. works for me. i'm
surprised too. but if u still want to do it in PHP, do go ahead.
warm regards,
-shiva
Scott [EMAIL PROTECTED] wrote in message
news:[EMAIL
Hi friends,
I wanted help on how to achieve persistent database connections in PHP. The
database i use is MySQL. I would be grateful if u could also guide me to
resources that tell me how to do it.
Thanks,
-shiva
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
responses.
I'm sorry for the confusion arising coz of incorrect statement.
Thanks and Regards,
-shiva
- Original Message -
From: - Edwin - [EMAIL PROTECTED]
To: Shivanischal A [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, July 03, 2003 1:55 PM
Subject: Re: [PHP] mail + regex
Hi friends,
I was just wondering about this. Whenver we reply to the posts here, we just
click on the reply button and fire off our messages. This results in long
messages (fresh content + earlier content) within a single mail. Now, the
question is how would we use the regex functions to remove
try http://www.phpclasses.org
-shiva
Mike Mannakee [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Anyone know of an easy way to add or subtract dates in php the way you can
in mysql? Easier, that is, than coding the logic by hand? This seems
like
a total pain.
Mike
--
hi,
seems u have complicated task on hand mate. cant u simply consider span the
user input over multiple pages? i mean using 2 or more form on different
pages instead of a single form on one single page. if this cant be done,
we'll think of other measures. but this is by far the most simple
working for you.
You see, the main thing here is that I need to KNOW when someone who
says they have submitted something actually have, and that they are not
trying their luck...
On Tue, 2003-07-01 at 13:43, Shivanischal A wrote:
hi,
seems u have complicated task on hand mate. cant u simply
hi,
PHP dos have some printer_* functions. had a look? :-)
-shiva
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Dear all,
I have research about library automation engine in my library.
developing on PHP + MySQL
We need to develop printer utility at some module to get print out
option value=?=$row['area']??=$row['area']?/option
is the culprit. instead use
option value=?=$row['area']??=$row['area']?/option
what u missed were the double quotes around the value. u HAVE TO do that for
values with space in between .
regards,
-shiva
Nabil [EMAIL PROTECTED] wrote in
hi,
this is what i found...
--
?
session_start();
error_reporting(E_ALL);
if ( (isset($_POST['validuser'])) (isset($_POST['password'])) ) {
mysql_connect( 'localhost', 'abc', 'pwd' ) or die ( 'Unable to connect to
server.' );
// Select database on
you probably cant ge this to work in PHP. try creating a temporary table
-shiva
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
hi i'm trying to get this sql query to work, i'm trying to update and
select at the same time, i'm not even sure if this is even possible
update
you probably cant ge this to work in MySQL. try creating a temporary table
Shivanischal A [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
you probably cant ge this to work in PHP. try creating a temporary table
-shiva
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED
12 matches
Mail list logo