Jason Gerfen wrote:
Not sure about this one, I am trying to execute a SQL query to retrieve
records then loop over the records and display X amount per line. Any
X ammount of what per 'line'? db records (or elelphants)?
and by line do you mean 'html table row'?
assuming I got that correct, c
Not sure about this one, I am trying to execute a SQL query to retrieve
records then loop over the records and display X amount per line. Any
help is appreciated.
$sql = @mysql_query( "SELECT * FROM subnets", $db );
$num = @mysql_num_rows( $sql );
$subnets .= "class=\"fntTR\" colspan=\"$num\">
You find a reasonable example if you go googling for 'PHP tutorial' and then
sit down for an evening and read the manual.
C
-Original Message-
From: Shaun van den Berg [mailto:[EMAIL PROTECTED]
Sent: 25 September 2003 07:14
To: [EMAIL PROTECTED]
Subject: [PHP] Databases
Hi
On Thursday 25 Sep 2003 08:14, Shaun van den Berg wrote:
> Hi
>
> Im kinda new to php. I have a linux server witch has our website on it. I
> want to make a download page. If a person clicks on a link , they must be
> able to download from our server. How difficult is this , can you send me
> an ex
Hi
Im kinda new to php. I have a linux server witch has our website on it. I
want to make a download page. If a person clicks on a link , they must be
able to download from our server. How difficult is this , can you send me an
example ?
Thanks
Shaun van den Berg
--
Novtel Consulting
Tel: +2
Totally depends on the data in question.
I tend to organise my data in a mySQL database, for easy queries, sorting,
categorisation, etc etc. However sometimes I associate a file to a record
(eg a photo of a member or employee)... so the employee with the id 45 will
have a photo stored in the file
I am going to be dealing with a ton of data shortly and my goal is to make
it accessible via the web. I am curious about the performance differences
between using a database or leaving the data in the individual files they
originated in. Can anyone offer any recommendations?
--
PHP General Mai
http://hotwired.lycos.com/webmonkey/programming/php/tutorials/tutorial4.html
-Stewart
-Original Message-
From: Kyle Smith [mailto:[EMAIL PROTECTED]]
Sent: 26 October 2001 00:49
To: [EMAIL PROTECTED]
Subject: [PHP] Databases?
Can someone please give me the simplest tutorial to
Can someone please give me the simplest tutorial to databases they can find?
'.$row['place abbr'].'';
//...
}
//...
?>
or maybe I missed something?
- Original Message -
From: Kath <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 30, 2001 3:17 PM
Subject: [PHP] Databases, arrays and woes
> I have a My
I have a MySQL table which stores information like this:
| Type | Place Name | Place Abbrv |
and lets say I have data in the table like:
Example #1:
| Office | Bill's Office | bo |
| Store | Millcreek Supply | mcs |
| Office | Harry's Office | ho |
| Store | Sam's Discount Taxidermy | sdt |
| S
check out phpMyAdmin
i use it everywhere
Serge
-Original Message-
From: Manuel Lemos [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 07, 2001 4:22 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Databases and HTML forms
Hello Michael,
On 20-Apr-01 14:38:48, you wrote:
>I'm ne
Hello Michael,
On 20-Apr-01 14:38:48, you wrote:
>I'm needing to have a form that pulls a bunch of database fields into it and
>then allows you to modify the fields and does the subsequent update in the
>database. This seems like something that has to be done all the time. Is
>there a right wa
Just Kinda code it up
--
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'm needing to have a form that pulls a bunch of database fields into it and
then allows you to modify the fields and does the subsequent update in the
database. This seems like something that has to be done all the time. Is
there a right way to go about doing this? Some kind of class library o
15 matches
Mail list logo