![]() |
|
#1
|
|||
|
|||
loading an html file from a db using phpHi All,
I am new to this web stuff so be patient. All I am trying to do is load a table with the results of my SQL query. Here is the code. Thanks for you help !! PHP Code:
|
|
#2
|
||||
|
||||
|
Hello mdonovan,
Try changing this: PHP Code:
to this: PHP Code:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#3
|
||||
|
||||
|
Curious... Does:
PHP Code:
and PHP Code:
Make a difference how it displays? Also, why have a space between the ';' and '?' ;SPACE?> What would happen if there was not a space? __________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business. |
|
#4
|
||||
|
||||
|
Quote:
Quote:
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#5
|
||||
|
||||
|
Interesting... Thanks for the clarification
__________________
Mr. Bob's Web Design - Tirelessly looking for ways to enhance the customer base of your business. |
|
#6
|
||||
|
||||
|
Quote:
PHP Code:
PHP Code:
In general this difference is not noticed unless 'lastname' splits onto two lines. __________________
Cow: You're a lawyer too? Mooseblood (mosquito): Ma'am, I was already a bloodsucking parasite. All I needed was a briefcase! |
|
#7
|
|||
|
|||
|
Quote:
|
|
#8
|
||||
|
||||
|
Walt, I must admit you made me unsure of what I had written earlier (I tend to overlook details)... so I quickly cooked up a sample HTML page and was relieved to find out that this time, I was NOT wrong. The table cells are displayed the same regardless of the extra lines and spaces in the HTML itself.
Here's the example HTML... HTML Code:
I've viewed the page with Mozilla and Internet Explorer and didn't find any difference with either. __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#9
|
||||
|
||||
|
How interesting! I distinctly remember the beginning and ending spaces and/or newlines adding a space before the contents of the TD. Maybe I'm remembering NS4... I'll now have to remember not to worry about leading spaces.
Thanks J __________________
Cow: You're a lawyer too? Mooseblood (mosquito): Ma'am, I was already a bloodsucking parasite. All I needed was a briefcase! |
Recent GIDBlog
Last Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CD burner wont burn!! | robertli55 | Computer Hardware Forum | 1 | 18-Jun-2004 10:53 |
| Yet another CD burner problem: Lite-On LSC-24082K | Erwin | Computer Hardware Forum | 1 | 22-May-2004 11:28 |
| Re: Programming Techniques | WaltP | C Programming Language | 0 | 09-Mar-2004 23:56 |
| html to php | tenaki | Web Design Forum | 17 | 28-Oct-2003 16:18 |
| How Do i get php to find out the file type of a file for me? | viperman95833 | MySQL / PHP Forum | 2 | 08-Mar-2003 09:48 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The