On Thu, 30 Sep 2004 14:33:30 -0400, Kevin Coyner <[EMAIL PROTECTED]> wrote:
> What does work is:
>
> $cid = $_GET($varname);
>
> But that is only for when a single variable is passed, not when a bunch
> of them get passed and need to be put into an array.
$_GET is already an array, why reassign
Hi,
to create a list of all months in drop-down menu I use this code:
'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul',
'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
?>
$i ";
}
?>
Is there any better way?
Thanks for any help.
Afan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vi
On Thu, 2004-09-30 at 15:50, Cosmin wrote:
> you could try in_array()
>
> if (in_array(1,2,3,4,5), 6)
Just for farts and giggles... possibly better speed with such a basic
datatype:
if( strpos( ' 1 2 3 4 5 6 7 ', " $a " ) !== false )
Cheers,
Rob.
--
.---
I suppose if you are thinking that mysql and zend may have collaborated
to make stored procedures available in veriosn 5, then i suppose this
is on topic.. otherwise, check the mysql list.
Jason
"Sagar C Nannapaneni" <[EMAIL PROTECTED]> wrote:
>
> Hi folks,
>
> I wonder whether Mysql supports p
[snip]
I wonder whether Mysql supports procedures and triggers
[/snip]
I wonder if people RTFM or STFW any more?
http://dev.mysql.com/doc/mysql/en/ANSI_diff_Triggers.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
HEre is a question that I have been wondering about:
- Does the image file use more space in the db or as a file itself
(Do Not count the extra data that one would store in the db along with
the image... ie. ID number)
[/snip]
While better asked on a SQL list, I'll give you an answer fr
Not Really.
On 30 Sep 2004, at 21:50, Sagar C Nannapaneni wrote:
Hi folks,
I wonder whether Mysql supports procedures and triggers
:?
/sagar
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks to Jay B, the puzzle is no more. Turns out assigning a field
length to the text field type caused the problem. I left out the field
length for this data type and the script now works.
He also offered a helpful explanation about this data type:
http://dev.mysql.com/doc/mysql/en/BLOB.html
I'm not any kind of expert on this, but you just read the file byte
for byte, dont you? So it should be the same amount of data.
On Thu, 30 Sep 2004 15:51:28 -0400, GH <[EMAIL PROTECTED]> wrote:
> HEre is a question that I have been wondering about:
>
> - Does the image file use more space in
--- Jay Blanchard <[EMAIL PROTECTED]> wrote:
> [snip]
> > You can win a free pass to take the exam by being the first to
> > solve this puzzle:
> >
> > http://shiflett.org/archive/55
>
> Which part on this page is the puzzle?
> [/snip]
>
> The clock. BEWARE - real time eater-upper!
Yeah, it's j
I have a series of questions that are multiple choice. Some of the
questions have multiple answers to them.
Those questions have answers that are indicated by a checkbox that is
named something like;
Q4_1
Q4_2
etc...
Of those, each one of the checkboxes that indicate a correct answer is
given a
> You can win a free pass to take the exam by being the first to solve this
> puzzle:
>
> http://shiflett.org/archive/55
>
> Enjoy. :-)
I think I have it, why dont you email me the answer and I will double
check that against what I got.
--
PHP General Mailing List (http://www.php.net/)
To unsu
You can do it:
"
for ($i=1;$i<13;$i++)
{
echo "$month[$i]";
}
echo
--- [EMAIL PROTECTED] wrote:
> Hi,
> to create a list of all months in drop-down menu I
> use this code:
>
> $month_names = array(1=>'Jan', 'Feb', 'Mar', 'Apr',
> 'May', 'Jun', 'Jul',
> 'Aug', 'Sep', 'Oct', 'Nov', 'Dec')
[snip]
> You can win a free pass to take the exam by being the first to solve
this
> puzzle:
>
> http://shiflett.org/archive/55
>
> Enjoy. :-)
I think I have it, why dont you email me the answer and I will double
check that against what I got.
[/snip]
Hey Matt, want me to check your work?
--
P
What you have is basically what I do, but the current month check could be
tidied up and display the month name seeing as you have the array:
$selected_QuoteMonth = (date('m')==$i)?'SELECTED':'';
echo " $month_names[$i] ";
** CODE IS UNTESTED **
I'm sure if there is a better way then someone h
Images take up more space when stored in the db, because you're storing raw
binary data. Gif and jpeg are compression methods that convert binary data
into something smaller that can be stored in a file.
The recent tests I did took 270megs of images and stored them into 180megs
of jpg files.
-Ed
> -Original Message-
> Not Really.
Are you sure?
http://dev.mysql.com/doc/mysql/en/Stored_Procedures.html
>
> On 30 Sep 2004, at 21:50, Sagar C Nannapaneni wrote:
>
> > Hi folks,
> >
> > I wonder whether Mysql supports procedures and triggers
> >
> > :?
> >
> > /sagar
--
PH
do not make the story too complicated , its too simple .
On Thu, 30 Sep 2004 23:59:25 +0400, M Saleh EG <[EMAIL PROTECTED]> wrote:
> Mr. Alawi
>
> I'm not making fun of you!
yeah yeah tell me about it thats right and clear !
> I'm saying wat's right! How can you right a book about a programmin
Ed Lazor wrote:
-Original Message-
Not Really.
Are you sure?
http://dev.mysql.com/doc/mysql/en/Stored_Procedures.html
Stored procedures and functions are a new feature in MySQL version 5.0.
That means you can only experiment with them, not realy use them in your
projects.
--
PHP Genera
Well, if you are running you own server at home, or have a dedicated
server, you can install your own MySQL server, and use version 5, which
has all this, but if you have a shared space, then you are probably
running version 4.whatever, and don't have them.
That's why I said not really, instead
On Friday 01 October 2004 05:52, Ed Lazor wrote:
> Images take up more space when stored in the db, because you're storing raw
> binary data. Gif and jpeg are compression methods that convert binary data
> into something smaller that can be stored in a file.
??
If you store a jpeg file into a da
Please ignor...
I got it...
alex
On Thu, 30 Sep 2004 16:22:02 -0500, Alex Hogan <[EMAIL PROTECTED]> wrote:
> I have a series of questions that are multiple choice. Some of the
> questions have multiple answers to them.
>
> Those questions have answers that are indicated by a checkbox that is
On Friday 01 October 2004 05:22, Alex Hogan wrote:
> if($key == ereg("^Q4_.[0-9]$", $key)){
"^Q4_[0-9]$"
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
On Sep 30, 2004, at 2:22 PM, Alex Hogan wrote:
Is my ereg() wrong?
My understanding is ereg("^Q4_.[0-9]$", $key) should look for a $key
starting with 'Q4_' followed by a single number and place those values
into an array named $Q4scores.
Yes, your understanding of "^Q4_.[0-9]$" is wrong. This says
[snip]
"^Q4_[0-9]$"
&
Yes, your understanding of "^Q4_.[0-9]$" is wrong.
[/snip]
Thanks guys..,
I did take the '.' out of the expression, but I also had to change the
way I was using it.
I replaced;
if($key == ereg( "^Q4_.[0-9]$", $key)){
with
if(ereg( "^Q4_.[0-9]$", $key)){
alex hogan
--
PHP
On Thu, 30 Sep 2004 10:20:19 -0700 (PDT), in php.general
[EMAIL PROTECTED] (Chris Shiflett) wrote:
>You can win a free pass to take the exam by being the first to solve this
>puzzle:
>
>http://shiflett.org/archive/55
This is just too easy:
The shown times are posting-times for one day on this li
> This is just too easy:
>
> The shown times are posting-times for one day on this list, for posts
> regarding mysql.
ah ha.
could also be unsubscribe emails
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Time since last post to this list
On Thu, 30 Sep 2004 18:56:56 -0500, Matt M. <[EMAIL PROTECTED]> wrote:
> > This is just too easy:
> >
> > The shown times are posting-times for one day on this list, for posts
> > regarding mysql.
>
> ah ha.
>
> could also be unsubscribe emails
>
>
>
> --
>
On Thu, 30 Sep 2004 19:24:42 -0500, j kensler <[EMAIL PROTECTED]> wrote:
> Time since last post to this list
I ran strings on it thinking maybe there was some hidden text, turned
up nothing.
But if you disassemble the gif into individual frames, there are some
interesting patterns in the graphica
How to get information from URL. I need to get information after /
http://www.domain.com/thisIneedtoget.
I want to get information after / '"thisIneedtoget"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 30 Sep 2004 20:48:52 -0400, php mysql <[EMAIL PROTECTED]> wrote:
> How to get information from URL. I need to get information after /
> http://www.domain.com/thisIneedtoget.
>
> I want to get information after / '"thisIneedtoget"
parse_url()
--
Greg Donald
Zend Certified Engineer
http:
1:11
1:15
1:19
1:26
1:27
1:28
1:30
1:34
1:42
1:46
1:47
1:48
1:52
2:10
2:12
2:14
2:16
2:18
2:20
2:26
2:30
2:34
2:41
2:48
3:08
3:10
3:12
3:14
3:16
3:18
3:26
3:27
3:30
3:34
3:41
3:44
4:11
4:15
4:16
4:18
4:19
4:23
4:24
4:28
4:30
4:32
4:34
4:36
4:40
4:41
4:42
4:47
4:51
5:08
5:10
5:12
5:16
5:18
5:20
5:2
php mysql wrote:
How to get information from URL. I need to get information after /
http://www.domain.com/thisIneedtoget.
I want to get information after / '"thisIneedtoget"
a bit suprised that someone whose name is 'php mysql' needs to ask such
questions.
--
Raditha Dissanayake.
Can anyone tell why the mail (see below) is not being relayed to
[EMAIL PROTECTED]:
#Note: There were 2 "To:" addresses. Below is the header from the successful
mail to the second address.
Return-Path: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 70862 invoked by uid 399
On Thu, 30 Sep 2004 22:16:46 +0200 (CEST), [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,
> to create a list of all months in drop-down menu I use this code:
>
> $month_names = array(1=>'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul',
> 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
> ?>
>
>
>
> for
Hello,
On 10/01/2004 12:47 AM, Sam Smith wrote:
Can anyone tell why the mail (see below) is not being relayed to
[EMAIL PROTECTED]:
#Note: There were 2 "To:" addresses. Below is the header from the successful
mail to the second address.
Each address will receive different message copies.
--
Regards
Hi,
Friday, October 1, 2004, 6:16:46 AM, you wrote:
aan> Hi,
aan> to create a list of all months in drop-down menu I use this code:
aan> $month_names = array(1=>'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul',
aan> 'Aug', 'Sep', 'Oct', 'Nov', 'Dec');
?>>
aan>
aan>
aan> for($i=1; $i<=12; $i++
I'm new to PHP and installed as follows (not for production use with Apache 2):
PHP 5.0.2 and Apache 2.0.50 on Suse 9.1.
When I try to use dbx_connect(), I get this:
Fatal error: Call to undefined function dbx_connect() in /www2/htdocs/test1.php on
line 9
phpinfo() shows that it was configured -
I have the first part figured out.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The code is:
j896c5kk.fi7/
d89635bb
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
101 - 140 of 140 matches
Mail list logo