473,320 Members | 2,098 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Probably Very simply but how?

Hi,

I am very new to php and I want to display item informaion in a
table, but I only want items to appear that have been ordered. I can
get the purchased items to appear in a table cell without prblems but
I need them to appear on a new line, how is this done? I have tried
using the <br> but this creates a new line even for the items that are
not going to be shown and so I end up with a large cell with one or
two items in it.

<tr class=tah11>
<td>$Ip_Block <br> $Ip_Class_C_Block
<br> $Bandwidth_Block<br>$Remote_Reboot_Port<br>$Daily_ Backup<br>$Weekly_Backup<br>$External_Backup
<br>$Firewall <br> $SSl_Certificate</td>

Is there any other way I can do this, I am not using a database, just
a php html form and a php script to collect the information.

Thanks for any help.
Hong
Jul 17 '05 #1
1 1557
I noticed that Message-ID:
<7a**************************@posting.google.com > from Hong contained the
following:
<tr class=tah11>
<td>$Ip_Block <br> $Ip_Class_C_Block
<br> $Bandwidth_Block<br>$Remote_Reboot_Port<br>$Daily_ Backup<br>$Weekly_Backup<br>$External_Backup
<br>$Firewall <br> $SSl_Certificate</td>

Is there any other way I can do this,


You could add the <br> to the variable
e.g

$Ip_Block .= $Ip_Block<br>;

--
Geoff Berrow
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: malcolm | last post by:
How does one get the primary key of the row that is joined in via a group by aggregate clause when the aggregate is not performed on the primary key? For example, Person table ( PersonID...
9
by: noone | last post by:
I have a database file that I use an autonumber field as the primary key index. Because of some rearrangements in the past, this index does not match the order that I would like it to be in, that...
3
by: John Salerno | last post by:
I have two files: public class Tester { public static void Main() { Program begin = new Program(); begin.StartCalculator(); } }
4
by: Tomas Machala | last post by:
Hi, I'm trying to make an application communicating over TCP/IP. It should do only one thing - write received data to console and terminate itself when "exit" received. Problem is that if I send some...
3
by: Rob Meade | last post by:
Hi all, I have a login page which has username and password fields, a login button, and 2 validation controls (one for each field) - currently I have controls to display to the summary if the...
5
by: matthewtec | last post by:
This may be something that is painfully easy and I'm just missing, or it could be something that I should learn a bit more in order to do. But, if I have a simple windows form application, with...
4
by: Adrian von Bidder | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yo! Mostly as a finger-exercise (and because I'm annoyed again and again how bad the existing solutions are), I'm hacking up a web-based forum...
2
by: RAM | last post by:
Could anyone explain me the problem in simple application attached? (undexpected exception) Thank you vary much! /RAM/
3
by: Rangy | last post by:
Hi, I've decided to take the plunge and move from tables to a pure css layout. I still "think" in tables when I do my layouts and I was wondering the following: I have a simple, standard two...
6
by: sheldonlg | last post by:
Simple overview: I want to call a function in a javascript duntion where the name of the called function is an argument value passed into the javascript function. Here is what I want: On the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.