I'm sure I'm missing something really obvious here but
can't see it. There is a form where one of two promotional
codes can be entered. I check for the these codes and give
the user an error message if they enter the wrong code. First
one doesn't work, second one does with only one code.
//always g
John Holmes wrote:
From: "Greg Donald" <[EMAIL PROTECTED]>
You can't get the average and a count in the same query
Sure you can.
mysql> select count(number), avg(number) from numbers;
Depends how you interpret his request, I guess. I took it as a request
for the count of records per day and then
I have a database with a date field in this format
20041016
I'd like to count how many records were made on each day (except today)
and average them. Can I do this in one query or will I need to do some
more PHP stuff after I get some results? Thanks.
Bare bones so far:
$sql = "select date1 from
Is there an easy way to strip out everything but letters and numbers
from a string? I tried searching the archives and didn't come up with
much. Thanks.
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Manuel Lemos wrote:
Hello,
On 08/26/2004 02:12 PM, Jeff Oien wrote:
I'm using the code below and about a third of the posts aren't getting
through. We have no idea why and don't know where to start to trouble
shoot. Any ideas? Thanks.
Are you sure the data is always URL encode
Matt M. wrote:
can you use PEAR?
There is already a bunch of http packages
http://pear.php.net/package-search.php?pkg_name=http&bool=AND&submit=Search
I've taken a look at that and don't know the first thing about how to
implement or use it. Are there any tutorials out there? Plus, I don't
know i
Jay Blanchard wrote:
[snip]
I'm using the code below and about a third of the posts aren't getting
through. We have no idea why and don't know where to start to trouble
shoot. Any ideas? Thanks.
[/snip]
Have you checked the http access and error logs?
On their end? Yes they can see each attempt
I'm using the code below and about a third of the posts aren't getting
through. We have no idea why and don't know where to start to trouble
shoot. Any ideas? Thanks.
Jeff
function http_post($host, $path, $data)
{
$http_response = '';
$content_length = strlen($data);
$fp = fsockop
Justin Patrin wrote:
On Wed, 04 Aug 2004 16:01:31 -0500, Jeff Oien <[EMAIL PROTECTED]> wrote:
I'm using the code below to post form data to an ASP script. But I need
to redirect to a "thank you" page when it all done or the person filling
out the form sees what they're no
I'm using the code below to post form data to an ASP script. But I need
to redirect to a "thank you" page when it all done or the person filling
out the form sees what they're not supposed to see. Any way I can do
this? If take out the last line and print a header(URL) it won't post
the data. T
Jeff Oien wrote:
Does is_numeric include commas decimals and dollar signs?
How do I use this to error check form data? I'm having a hard time
figuring out what the correct syntax is for that application. Thanks.
Jeff
I think what I should have asked is how to tell if something is not
num
Does is_numeric include commas decimals and dollar signs?
How do I use this to error check form data? I'm having a hard time
figuring out what the correct syntax is for that application. Thanks.
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
I have items from a form that will be in $_POST that I want to send on.
I'll be using this:
$arr = array();
foreach($_POST as $key => $value) {
$arr[] = $key.'='.urlencode($value);
}
$URL = "https://example.com/script.asp?".implode('&',$arr);
header("Location: $URL\n");
However, there are a
Is there an easy way to make a number have no comma or decmal points?
I've tried string replace with the comma but thought there would be a
better alternative that I'm missing to cover more bases. number_format
seems to add instead of take away items.
Jeff
--
PHP General Mailing List (http://ww
The client's vendor only specifies that it's = pairs and
that it's URL encoded so I don't think that's an issue. But don't let
that squelch any discussion. :)
Jeff Oien
Vail, Warren wrote:
I believe we all missed something important here, but I've been
Thanks for the helpful examples. One other question. Is there an
advantage to sending the URL via a header as opposed to doing http_post
like this?
http://shiflett.org/hacks/php/http_post
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dumb question, sorry if it's a repeat. I will use PHP for a form with
error checking. When there are no errors I need to send all the
variables thru something like this:
$URL = "https://example.com/script.asp?First=Jim&Last=Smith";;
urlencode($URL);
header("Location: $URL\n");
How do I gather up
How can I compare a variable submitted by a form as case
insensitive? A promotional code will be entered into a form
and it's important that they can enter the code either way.
So if I have
if ($code == 'ABC123') {
I want that to match 'aBC123' 'abc123' or whatever. Thanks.
Jeff
--
PHP General Mai
When I do this:
$lastmonth = mktime(0, 0, 0, date("m")-9, date("d"), date("Y"));
echo "$lastmonth";
It prints this:
1056081600
Could you tell me what I'm missing? Thanks and thanks for the previous
help.
Jeff Oien
--
PHP General Mailing List (htt
[EMAIL PROTECTED] wrote:
On 20 Mar 2004 Jeff Oien wrote:
How do I convert this
9/8/2001
(which is Month/Day/Year)
to this
20010908
(YearMonthDay - with leading zeros)
How about:
Can I put that print (sprintf etc. into a variable? Thanks.
Jeff Oien
--
PHP General Mailing List (http
How do I convert this
9/8/2001
(which is Month/Day/Year)
to this
20010908
(YearMonthDay - with leading zeros)
Or alternatively take the Month/Day/Year format and find
anything older than 9 months ago.
Thanks.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
es.
Let me know if you want the code.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
y to do it myself
but then I'll have to bother you people with questions. :)
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> On Fri, 19 Apr 2002, Jeff Oien wrote:
> >> Far better would be to put a placeholder in $body like @@@ and then just
> >> do $body = ereg_replace('@@@', $url, $body);
> >
> > That's giving me a blank also. The form for changing the email is
> On Fri, 19 Apr 2002, Jeff Oien wrote:
> >> Use eval().
> >
> > I have $url (literally) embedded in some text in the database that is to be
> > sent as an email message. I'm using this and $url disappears with a blank
> > spot in the text:
> &
> On Friday 19 April 2002 09:31, Jeff Oien wrote:
> > I have a script which retrieves the body of an email message from
> > a MySQL database to be sent to someone who applies using a form.
> > The script contains this:
> >
> > $url = " > href=\"http
ng I can think of with $url, curly brackets, backslashes
etc. What am I missing? Thanks.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I use this on a Unix server to get yesterday's date if it's a
Saturday:
if ($day == '6') {
$today1 = date("Y:m:d", mktime(0,0,0,$month,$day-1,$year));
}
But on my Windows 2000 machine it thinks it's 1999:12:05.
How can I do this on Windows? Thanks.
Jeff Oien
I have a site here that may be helpful:
http://www.webdesigns1.com/php/
Jeff Oien
> Hello all,
> I am a beginner of php/mysql and am looking for good books for beginners
> and mostly good online php tutorials. Anybody have any suggestions?
>
>
> --
> PHP Gener
to use Snoopy?
Thanks for any help.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a number like this 0.51 and I would like it to display without
the leading 0. How can I do this? Thanks.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
> On Saturday 03 November 2001 11:28 am, you wrote:
> > If I have two forms on one page that both use the same script how
> > do I get only the fields on one of the forms to be submitted? If that
> > makes any sense.
> > Jeff Oien
>
> as long as you enclose
If I have two forms on one page that both use the same script how
do I get only the fields on one of the forms to be submitted? If that
makes any sense.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
This didn't get answered before. I'm trying to sort an array but it
won't work.
$list = file('list_main.txt');
$list = sort($list);
If I print $list it gives me 1 and print $list[0] is nothing. The list_main.txt
looks something like this:
ABC
DEFG
HIJ
etc.
Jeff Oien
--
Could someone tell me how to sort this? Each $variable1 is a 3,4 or 5
letter string that I would like sorted alphabetically. I assumed "sort" would
do it but apparently it isn't the right type of array. Thanks.
$variable1 = split("\n", $variable);
Jeff Oien
--
PHP G
echo " | Next >>"; //no link
}
elseif ($photo_pos < $count) {
$next_pos = $photo_pos;
$next = $array[$next_pos];
echo " | Next >>";
}
Comments from more experienced programmers welcome. I don&
ound will be white. If this is possible what's the best
way to go about it? Thanks.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I found the problem. A user was logged in under their username
with a different case (capital/small letters) and that caused a problem.
Jeff Oien
> I have a user who is unable to upload files but I don't know where
> to start with the troubleshooting process. I have this:
>
I have a user who is unable to upload files but I don't know where
to start with the troubleshooting process. I have this:
@copy("$img1", "/blah/$username/$img1_name")
or die("File upload didn't work.");
and they are getting the die message. All
However even the permission of 0777 doesn't let me do anything to
the directory or files in it. I can't even chown or chmod anything in
it using Telnet once it's created.
Jeff Oien
> Jeff
> JO> mkdir ("/usr/www/users//blah/blah/$username", 0777);
> J
When using this command:
mkdir ("/usr/www/users//blah/blah/$username", 0777);
it sets it to nobody instead of my username. I'm then unable
to delete or modify files in that directory. Is there a way around
this? Thanks.
Jeff Oien
--
PHP General Mailing List (http://w
I want to check if an uploaded file is an image. This isn't working.
Could anyone help me out?
if (!eregi("\\.gif$", $img1_name) ||
!eregi("\\.jpg$", $img1_name) ||
!eregi("\\.jpeg$", $img1_name)) {
error message
}
Jeff Oien
--
PHP General Ma
You can read the notes lower on the page here to get a good idea:
http://www.php.net/manual/en/function.print.php
Jeff Oien
> I am fairly new to PHP Scripting, and I am learning from a book.
> Throughout the book, print is used as the basic command to output
> text/variables.. yet I s
http://www.php.net/manual/en/function.header.php
> Hi,
>
> I am sure there is an easy way to do this...
>
> But when my script is done doing whatever I want it to do - RATHER than
> print text and all to a page, I want the browser (within the same window) to
> go to a specific URL
>
> Can this
Apache and PHP4
on Windows 2000 Professional. Thanks.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Fabulous. Thanks to Steve and Mark. Exactly what I needed.
Jeff Oien
> >Something like this, perhaps (untested):
>
> I needed this too so I just tested it.
>
> >function smart_ucwords($String)
> >{
> >
> > $ExceptionList = array('the
Is there a prewritten function for capitalizing the first letter of each
word in a string except for the common words you wouldn't want
to capitalize in a title? Like
Come Learn the Facts From an Industry Leader
Thanks.
Jeff Oien
--
PHP General Mailing List (http://www.php.net
Thank you. That worked and I'm sure will have made it work a lot
faster later on when there is a lot of data in the database.
Jeff Oien
> On Sat, 4 Aug 2001 12:40:42 -0500, Jeff Oien ([EMAIL PROTECTED])
> wrote:
> >After a sign up page I want to check if someone is already
name doesn't. Not sure what I'm doing wrong. Thanks.
Jeff Oien
while ($row = mysql_fetch_array($result)) {
$First_Name = $row['First_Name'];
$Last_Name = $row['Last_Name'];
$Address = $row['Address'];
if ((
Is there a routine out there to strip all characters from a phone
number except the numbers? I was going to write my own but
figured there must already be one out there I can use. Thanks.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
I've looked all over and can't find a content-type declaration for text.
This is my guess
header("Content-Type: text/txt");
but I'm not sure if this is right. I know this is more HTTP than PHP.
I want info to be displayed in a browser as plain text not HTML.
Thanks.
J
One thing I would like to see is using PGP (or gnu) encryption on the server,
not via e-mail.
Jeff Oien
> Hi there,
>
> I'm currently in the process of writing a new book about PHP entitled PHP Exertion.
>
> I've read several other books, and none of them covered everyth
between each other.
Here is what I have for the first script/page after the form. I don't know what
to do after this on the second page in order to pass the variables on to it.
Thanks for any help.
Jeff Oien
-
$title
If you can see this message you are
Aren't the trims just for white space?
Jeff Oien
> since you know exactly which 4 characters you want to keep you can use a
> simple string trimming routine. I forget the name of the function in php
> but it's there and it'll be something like
>
> trimstring($
I want to replace a string like this 1B335-2G with this B335. So for all the
strings I want to remove the first character and the last three characters.
I'm not sure which replace function to use or how to go about it. Thanks.
Jeff Oien
--
PHP General Mailing List (http://www.php.net
http://www.webdesigns1.com/php
Jeff Oien
> Can someone please make a list of the best places to learn PHP as I have 6
> weeks of school holidays and I want to put the m to good use (i have the
> PHP reference guide from www.oreilly.com and i have the big ass document
> files from
I forgot to say I deleted tabs so that the width might fit in a
typical mail reader.
Jeff Oien
> This code assigns rooms to kids signing up for Sunday school
> at a very large church. Each subsequent registration is put into
> the next room on the list. It looks up in the MySQL databa
x27;ve had a couple other
problems and am wondering if there is a better way to do this
or if I have any syntax problems. Thanks.
Jeff Oien
$x = 1;
while ($x <= $Number_Children) {
if (${"category".$x} == 'SS KidZone - Kindergarten') {
if ((${"Grade"
thing. :)
Jeff Oien
> I get a 30 timeout on the line indicated when executing this code
> and can't figure it out. Does anyone know why? Thanks.
> Jeff Oien
>
> -
>
> if ($missing == "1") {
>
> echo "
>
>
>
I don't know. :) I tried again without $Number_Children in quotes
and still get the timeout but on a different line (3 lines down). It
seems it isn't necessarily a specific line causing it.
Jeff Oien
> Why is "$Number_Children" in quotes?
>
> On Mon, 16 Jul 2001, J
I know $Number_Children is 2. I printed it. And $z starts out as 1.
I don't think that's it.
Jeff Oien
> > while ($z <= "$Number_Children") {
> > >>error>if (${"element2$z"} == "select") {
>
> Looks to me like
I get a 30 timeout on the line indicated when executing this code
and can't figure it out. Does anyone know why? Thanks.
Jeff Oien
-
if ($missing == "1") {
echo "
Error
Error
Required inf
What I'm doing is having a form page ask, "How many
children do you want to sign up?" Then it spits out form
fields for as many children as they asked for. So each
field has name="C_Last_Name$x" and $x in incremented
for each child. Should I make it name="C_Las
I like this idea but it's giving me a parse error on this code:
if (!{$C_Last_Name}{$y})
I'm looking at the other ideas also.
Jeff Oien
> > if (!$C_Last_Name$y) {
> > The form submitting information to this code has field name like
> > C_Last_Name1 C_Last
Last_Name1 C_Last_Name2 depending on how many Children
are signing up for something. So I need $y to represent the number.
Hope that makes sense. Thanks for any help.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
> this one and there are a few concerning issues.
>
> Regards,
>
> Joseph
(I'm a different Jeff) I searched through the archives and couldn't find
your message. I'm interested in this also. The PHP PGP tutorials
all deal with sending e-mail using PGP. I would like to be ab
http://www.hotscripts.com/PHP/
Jeff Oien
http://www.webdesigns1.com/php/
> Can someone pass on the URL for searching for PHP shopping cart programs
> and shopping cart related questions.
>
> Many thanks...
>
> Todd
>
> --
> Todd Cary
> Aris
n for lines to wrap in email.
Jeff Oien
http://www.webdesigns1.com/php/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Has anyone read this new book yet?
PHP and MySQL Web Development
by Luke Welling, Laura Thomson
http://www.amazon.com/exec/obidos/ASIN/0672317842/ref=ase_hotscrcomyourgui/1
07-0943347-2161363
Would be interested in hearing opinions.
Jeff Oien
--
PHP General Mailing List (http://www.php.net
You need to use style sheets:
http://www.awlonline.com/cseng/titles/0-201-41998-X/liebos/
http://www.builder.com/Authoring/CSS/?tag=st.bl.7258.dir1.bl_CSS
http://www.wdvl.com/Authoring/Style/Sheets/
Jeff Oien
> Hi,
>
> I would like to know how to make different link in different
Here are some recommendations:
http://www.webdesigns1.com/php/books.php
Jeff Oien
> Hello
> Could I get a recommendation on some good starting PHP books?
> Thanks
>
> --
> Later Days:)
> Michael Clesceri
>
> ""Perfection (in design) is achieved not when
I got it to work. I would still like to know how to open a command
window in W2K though.
I had a reference to d:/php4/ instead of d:/php/ which is where I
have it.
Jeff Oien
> When I try to run a PHP script through a Web browser it just
> displays the code. I did a clean install of W
When I try to run a PHP script through a Web browser it just
displays the code. I did a clean install of W2K and installed
Apache. I copied the php.ini to the WINNT and system folders.
Not sure where to go from here.
BTW how do you open a command window in W2K? Thanks.
Jeff Oien
--
PHP General
> I'd really like to learn PHP but where ?
> I know some basic perl but havent lookt that deep in PHP yet. any leads ??
> =)
>
> sincerly // Ken
http://www.webdesigns1.com/php/
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTE
";
setcookie($cookie_name, $cookie_value, $cookie_expire, "/" , $cookie_domain, 0);
Thanks.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
> H-
>
> Just a quick question.
>
> Is there any difference between using print or echo?
>
> >From what I have read and seen there isn't any.
> Than why the two different commands?
>
> Thanks.
> -Sterling
See this:
http://www.php.net/manual/en/function.print.php
"As for a print vs. echo
> "Jeff Oien" <[EMAIL PROTECTED]> wrote:
> > This code won't work. I'm trying to get an error if the username
> > is entered incorrectly but it won't go through the if brackets. I even
> > tried printing out $num and it's 0. I also tried
&g
This code won't work. I'm trying to get an error if the username
is entered incorrectly but it won't go through the if brackets. I even
tried printing out $num and it's 0. I also tried
if ($num = "0") {
if ($num = '0') {
error message etc.
exi
Could anyone point me to some good basic SSL tutorials?
I would like to be able to have people submit credit card
numbers for a site in the future that will be for a yearly conference
registration. Very simple but I don't know the first thing about
how SSL works. Thanks.
Jeff Oien
--
I want to check if a variable contains a price, like
$19.99
It definitely would be a dollar sign, two integers a dot and
two integers. Here is what I tried which doesn't work.
if (ereg("\$([0-9]{2}).([0-9]{2})", $Price))
or
if (ereg("\$([0-9]{2})\.([0-9]{2})", $P
Try this:
http://hotwired.lycos.com/webmonkey/00/05/index2a.html
Jeff Oien
PHP >start here
http://www.webdesigns1.com/php/
> What is the best method for tracking a user through a website ?
>
> I want to assign a username to a user which I can call up at anytime.
> Should I use
y technical stuff
>
> ok thnx :p
I hope this site will be helpful:
http://www.webdesigns1.com/php/
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
I don't know if this will be helpful but you can look at this
JavaScript code:
http://www.webdesigns1.f2s.com/js_typing_text.php
---
Jeff Oien
PHP >start here
http://www.webdesigns1.com/php/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTEC
products there are. I'm not sure how to set it up to
print every other like that.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
ays and it
always returns:
3\
What am I doing wrong? Sorry this is probably the 1000th time
this has been asked.
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
PHP >start here
Internet resources and book reviews for those just starting out
with PHP and MySQL
http://www.webdesigns1.com/php/
Jeff Oien
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To cont
If you have time please take a look and let me know
there are any corrections you would make in terminology
and accuracy. I'm fairly new to PHP. I want everything
to be correct.
http://www.webdesigns1.com/php/tutorial_test.php
Jeff Oien
--
PHP General Mailing List (http://www.php.net
>From the doc:
---
How can I remove the file extensions...
...from my URIs in a practical file-based web server?
If you are using, for example, Apache, you can set it
up to do content negotiation.
--
How is this done?
Jeff Oien
> On 3/20/2001 at 6:49 PM Jeff Arm
http://www.fatbrain.com/
http://www.booksamillion.com/
Jeff Oien
PHP >start here - Web site coming soon
>I actually think this is the book I have been waiting for. A bookstore in
>New Zealand told me not until March 2001. It must be pretty good, all the
>Sams books are. The only prob
les, but if there
> was a preference, I would probably prefer a more stable place that's not
> on/offline a lot.
>
> Any links/help is much appreciated.
Not sure about stability but here is one in the UK:
http://www.f2s.com/
Jeff Oien
PHP >start here - Web site coming soon
--
pful for someone new like me.
Jeff Oien
> I know very little about php, but since you have already received a bunch of
> useless answers, I thought I add my guesswork.
>
> In php 4 you can access MS documents through Microsofts OLE interface. That
> means you can manipulate
Could anyone help me out with how to print the entire contents of a
database as an Excel file? I'm familiar with the header:
header("Content-Type: application/vnd.ms-excel");
just not sure how to go about it beyond that. I have this code and
am not sure what do do after it. Th
I'm curious as to why you need to combine them. Wouldn't
it be easier just to display the images side by side?
Jeff Oien
> We always use 0-9 images to generate the image counter but this image
> counter contains more than one image. Does any body know how to combine
> these
ORDER BY hits
default is ascending (ASC). Otherwise
ORDER BY hits DESC
Jeff Oien
> hi
>
> I have a database with some urls and numbers. There are currently 2 records
> in the database. I wanna sort them by the numbers. How should i do it?
> my table is like
>
> name
then create
a report for the hours that I haven't been paid for yet. How do I
-best tell the database when I've been paid
-there may be more than one entry for each day
-create a report for the dates since I was last paid
Jeff Oien
--
PHP General Mailing List (http://www.php.ne
MySQL by Paul DuBois is a very good one.
Jeff Oien
> hi,
>
> i'm looking for some good tutorials / articles / books on database
> design, no, i'm not talking about the classic employee contact database
> that nearly every site has lingering somewhere... i'm af
> ""Jeff Oien"" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I've modified a script for uploading multiple files
> > and am trying to get it to produce an error if the
> > size of the fil
ror. Everything else works
fine.
Jeff Oien
if(${"infile".$i}!="none") $noinput=false;
if(${"infile".$i."_size"} > 200) {
echo "Sorry, file size limit is 2MB. ${"infile".$i} is too large.";
LOL.
The evolutionists will tell you they came from worms. So
according to them the worm came first and it "evolved" into
something else. Tough to know where the egg came into
the picture according to that theory.
Jeff Oien
> Of course... where did you think they came fr
1 - 100 of 145 matches
Mail list logo