If this is mysql, you can use
SELECT * FROM konkuranse ORDER BY RAND() LIMIT 1
To get a random row and skip all that stuff you have...
---John Holmes...
> -Original Message-
> From: Raymond Lilleodegard [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 05, 2002 5:36 PM
> To: [EMAIL
I'm running a few simple php scripts from the (windows) command line.
Since I'm not using a web browser to view it, the HTTP headers are
annoying and pointless. I've turned expose_php off in php.ini, but
commenting out default_mimetype changes nothing, and setting it to an
empty string sends a
On Thu, 5 Dec 2002, Leif K-Brooks wrote:
> I'm running a few simple php scripts from the (windows) command line.
> Since I'm not using a web browser to view it, the HTTP headers are
> annoying and pointless. I've turned expose_php off in php.ini, but
> commenting out default_mimetype changes noth
Ok, thanks a lot. For what it's worth, here's my simple .bat file for
executing php files:
@ECHO OFF
IF NOT EXIST %1.php goto usage
php.exe -q %1.php
goto end
:usage
echo ÚÄÄÄ¿
echo ³ USAGE ³
echo ³Type "php.bat" (without quotes)³
echo ³ follow
Hello Everyone,
I have a simple problem that, I think, might require a little trick to be
used. I have a list of products in a database that is organized by
categories and subcategories. Categories can have as many subcategories as
it wants, but some categories don't need to have a subcategory at
On Thu, 5 Dec 2002, Gundamn wrote:
> I have a hosted account. As such, I am unable to use the default location
> for files when used with the include command. So could somebody tell me how
> I can either make it go to a different directory, or to link to something
> (and how to add the variable as
Help need one on one
I was wondering if anyone would be willing to be a mentor
While im doing this project.
Im using mysql and php
To do a login script with username and passwords.
And also to do insert to database from a register form.
Then I want to do a online fantasy football league whe
Hello,
Finally I made time to release a full blown application based on MetaL
compiler persistence module.
Here is the release announcement that may also be found on the site:
http://www.meta-language.net/news-2002-12-05-metastorage.html
__
Hello,
Finally I made time to release a full blown application based on MetaL
compiler persistence module.
Here is the release announcement that may also be found on the site:
http://www.meta-language.net/news-2002-12-05-metastorage.html
__
* Manuel Lemos wrote:
> Here is the release announcement that may also be found on the site:
Where's the PEAR context within the marketing text?
--
35 Kundenportale mit 24.000 Nutzern erstellen.
Bei geringen Kosten und einer großen Anzahl an
Modulen (DMS, CMS, CRM, Community-Funktionen).
Wie d
> Where's the PEAR context within the marketing text?
Please, don't start any troll/flame war.
Arnaud.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hey all -
I'm trying to track down a problem with someone else's
code. Our hosting service changed PHP versions on us
(up to 4.0.6), and everything broke. I think I have
tracked down at least part of the problem. We have a
function:
funA($args)
{
$file = substr($args[0],0, -1); //file t
1. there is a MySQL mailing list, details can be found on mysql.com
2. i just did a really simple search on php net for "mysql table", and got
the following amongst a few results:
mysql_field_table()
mysql_list_tables()
mysql_tablename()
it would be good if you could search the php (and mysql) s
On Friday 06 December 2002 11:35, [EMAIL PROTECTED] wrote:
> Hello Everyone,
[lots of irrelevant stuff snipped]
> The second thing that should happen is that if there are actually no
> subcategories for the selected category then subcat_id should equal 0 and
> the script should redirect back to t
Nilaab,
This sounds similar to what I was trying to do recently, i.e creating
dependent dropdown boxes. Here's a link to a demo of the code that might be
of interest to you.
http://www.onlinetools.org/tools/easyselectdata/index.html
Cheers.
Roger
-Original Message-
From: @ Nilaab [mail
Great Jason, thanks a lot. I was just looking for some direction and I think
you just helped me find it. Thanks for taking the time to look at my
problem.:)
- Nilaab
> -Original Message-
> From: Jason Wong [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 05, 2002 11:46 PM
> To: [
Hi,
Friday, December 6, 2002, 2:08:42 AM, you wrote:
h> I am really sorry but i can't find any good mySQL good mailing list...
h> How can i make a little php function to check if a table exists ?
h> Thanks a lot,
h> Hacook
function table_exists($table){
return (@mysql_query('SELEC
Hey. Is there a way to get the actual word/phrase from the long string that
the md5 hash creates. Lets say, is there a way find out what
b9f6f788d4a1f33a53b2de5d20c338ac
stands for in actuall words ?
Lee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
On Fri, 6 Dec 2002, conbud wrote:
> Hey. Is there a way to get the actual word/phrase from the long string that
> the md5 hash creates. Lets say, is there a way find out what
> b9f6f788d4a1f33a53b2de5d20c338ac
> stands for in actuall words ?
In all cases, an md5sum string means, "You've got bette
101 - 119 of 119 matches
Mail list logo