473,378 Members | 1,347 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,378 software developers and data experts.

cross platform problem - advice needed

Hello
I would appreciate some help from someone who has knowledge of working with
css, php javascript and how they interact.
Ive been working on a task for the last few days and have started to hit a
brick wall. I need general advice on whether I m tackling the problem the
correct way and some solutions for my current problems

Ive posted my project below where ive detailed the current problems im
having
http://www.iddsoftware.co.uk/test.php

in short im trying to allow my users to take their records from my database
and arrange them dynamically on a web page into custom reports. which they
can them print directly or download into something like Word

Hope you can help as that brick wall is looming

Ian
Jul 31 '06 #1
27 1222
Ian Davies wrote:
Hello
I would appreciate some help from someone who has knowledge of working with
css, php javascript and how they interact.
Ive been working on a task for the last few days and have started to hit a
brick wall. I need general advice on whether I m tackling the problem the
correct way and some solutions for my current problems

Ive posted my project below where ive detailed the current problems im
having
http://www.iddsoftware.co.uk/test.php

in short im trying to allow my users to take their records from my database
and arrange them dynamically on a web page into custom reports. which they
can them print directly or download into something like Word

Hope you can help as that brick wall is looming
Javascript ain't my strong point, so I will just think about php and css.

First of all you should have some default starting points, as you already
have. Store those into variables, as $xh1=40;, you will also need to check if
the page has been updated or show for the first time, you can add the

<input name="updated" type="hidden" value="1">

to your form

in your php you will need to make a check something like

if($_REQUEST['updated']==1) {
$xh1=$_REQUEST['xh1'];
} else {
$xh1=40;
}

Then you have your inputs in html

<input name="xh1" class="BodyText" value="<?PHP echo $xh1;>" size="1" type="text">

You should include the css code that handles the location of the text in the
php file, and with usage of php in the same manner that in the input tag, you
will dynamically change the coordinates in the css/style part of the code.

//Aho
Jul 31 '06 #2
Ian Davies wrote:
Hello
I would appreciate some help from someone who has knowledge of working with
css, php javascript and how they interact.
PHP doesn't interact with either CSS or Javascript. To PHP, CSS and
Javascript are just strings being written out as part of the web page,
just as they HTML is. To CSS and Javascript, PHP doesn't exist, since
they operate only within the browser, and the browser only knows what's
on the HTML page it has been sent, and nothing about the programming
used to generate and send that page.

By the way, please do not post questions to six different groups. It
isn't necessary and annoys people who read multiple groups. One or two
of these would probably have been sufficient.
Jul 31 '06 #3
Unless it's absolutley neccesary, don't bother giving this much contorl to users for a report.
Really think if is't worth the hassle.

I suggest give the users maybe 3 or 4 templates to pick from, possibly show a picture of example
report they pick the template then select and the data is 'replaced' with your template. Here is a
example of what I do.

first make your report templates - make it elaborate as needed with css whatever...
this is just one simple sample

save this as template1.html

<html>
<head></head>
<body>
Thank you for signing up, %%name%%! <br>
Company: %%companyName%% <br>
Email: %%email%% <br>
Phone: %%phone%% <p>
Event: %%title%%, %%grpdate%% <p>
Description: <br%%data%% <p>
Time & Location: %%time%%, %%location%% <p>
Content goes here: %%content%% <p>
Sincerely,<br>
The Team<p>
</body></html>
on another page give them a choice to select a template and do a content replacement...

// after a user selects a template and submits form here is code replacement example...
if (isset($_POST["submit"]){
$report = $_POST['report'];
...... blah blah other code here as needed
// at this point generate the content variables with query
$name = $data['name'];
$companyName = $data['companyName'];
$password = $data['password'];
$email = $data['email'];
$phone = $data['phone'];
$data = $data['data'];

if($report=='1') $message = implode(file("template1.html"));
if($report=='2') $message = implode(file("template2.html"));
if($report=='3') $message = implode(file("template3.html"));

$message = str_replace("%%companyName%%", $companyName, $message);
$message = str_replace("%%name%%", $name, $message);
$message = str_replace("%%password%%", $password, $message );
$message = str_replace("%%phone%%", $phone, $message );
$message = str_replace("%%data%%", $data, $message );
}
the above is just an example to follow. From there you can email the entire doc, display on
screen, or make it a pdf doc look into html 2 pdf at sourgeforge

Note you don't have to use %%somevalue%% it can be anything
~somevalue~
Good Luck
On Mon, 31 Jul 2006 13:55:33 GMT, "Ian Davies" <ia********@virgin.netwrote:
>Hello
I would appreciate some help from someone who has knowledge of working with
css, php javascript and how they interact.
Ive been working on a task for the last few days and have started to hit a
brick wall. I need general advice on whether I m tackling the problem the
correct way and some solutions for my current problems

Ive posted my project below where ive detailed the current problems im
having
http://www.iddsoftware.co.uk/test.php

in short im trying to allow my users to take their records from my database
and arrange them dynamically on a web page into custom reports. which they
can them print directly or download into something like Word

Hope you can help as that brick wall is looming

Ian
Jul 31 '06 #4
Some useful tips Gleep that I can use somewhere else
Unfortunately I do need this level of flexibility wher euser creates their
own report as there will be large variations between users.
Thanks for the feedback
"Gleep" <Gl***@Gleep.comwrote in message
news:2u********************************@4ax.com...
Unless it's absolutley neccesary, don't bother giving this much contorl to
users for a report.
Really think if is't worth the hassle.

I suggest give the users maybe 3 or 4 templates to pick from, possibly
show a picture of example
report they pick the template then select and the data is 'replaced' with
your template. Here is a
example of what I do.

first make your report templates - make it elaborate as needed with css
whatever...
this is just one simple sample

save this as template1.html

<html>
<head></head>
<body>
Thank you for signing up, %%name%%! <br>
Company: %%companyName%% <br>
Email: %%email%% <br>
Phone: %%phone%% <p>
Event: %%title%%, %%grpdate%% <p>
Description: <br%%data%% <p>
Time & Location: %%time%%, %%location%% <p>
Content goes here: %%content%% <p>
Sincerely,<br>
The Team<p>
</body></html>
on another page give them a choice to select a template and do a content
replacement...
>
// after a user selects a template and submits form here is code
replacement example...
if (isset($_POST["submit"]){
$report = $_POST['report'];
..... blah blah other code here as needed
// at this point generate the content variables with query
$name = $data['name'];
$companyName = $data['companyName'];
$password = $data['password'];
$email = $data['email'];
$phone = $data['phone'];
$data = $data['data'];

if($report=='1') $message = implode(file("template1.html"));
if($report=='2') $message = implode(file("template2.html"));
if($report=='3') $message = implode(file("template3.html"));

$message = str_replace("%%companyName%%", $companyName, $message);
$message = str_replace("%%name%%", $name, $message);
$message = str_replace("%%password%%", $password, $message );
$message = str_replace("%%phone%%", $phone, $message );
$message = str_replace("%%data%%", $data, $message );
}
the above is just an example to follow. From there you can email the
entire doc, display on
screen, or make it a pdf doc look into html 2 pdf at sourgeforge

Note you don't have to use %%somevalue%% it can be anything
~somevalue~
Good Luck
On Mon, 31 Jul 2006 13:55:33 GMT, "Ian Davies" <ia********@virgin.net>
wrote:
>
Hello
I would appreciate some help from someone who has knowledge of working
with
css, php javascript and how they interact.
Ive been working on a task for the last few days and have started to hit
a
brick wall. I need general advice on whether I m tackling the problem the
correct way and some solutions for my current problems

Ive posted my project below where ive detailed the current problems im
having
http://www.iddsoftware.co.uk/test.php

in short im trying to allow my users to take their records from my
database
and arrange them dynamically on a web page into custom reports. which
they
can them print directly or download into something like Word

Hope you can help as that brick wall is looming

Ian

Jul 31 '06 #5
Thanks for your response Aho

First of all you should have some default starting points, as you already
have. Store those into variables, as $xh1=40;, you will also need to check
if
the page has been updated or show for the first time, you can add the

<input name="updated" type="hidden" value="1">

to your form

How will this value =1
remain. wont it disapear when the browser is closed. meaning that if the
user visits again it will not remember him? or have I missuderstood?

in your php you will need to make a check something like

if($_REQUEST['updated']==1) {
$xh1=$_REQUEST['xh1'];
} else {
$xh1=40;
}

Then you have your inputs in html

<input name="xh1" class="BodyText" value="<?PHP echo $xh1;>" size="1"
type="text">
>
You should include the css code that handles the location of the text in
the
php file, and with usage of php in the same manner that in the input tag,
you
will dynamically change the coordinates in the css/style part of the code.
This last bit sounds interesting, but Im not clear what you mean? Do you
know how to retreive the coordinates of the position the user dragged the
text to and put them in the text boxes? The drag bit of the code I used was
taken from elswhere and my java script isnt up to much. What I really whish
to do is to have the text boxes update continuously as te text is dragged so
that it is constantly displaying the new coordinated.

Jul 31 '06 #6
By the way, please do not post questions to six different groups. It

I know
but is wasnt a specific question so the greater the postings in relevant
groups would increase the chanceof a solution.

isn't necessary and annoys people who read multiple groups. One or two
They'll live :)



Jul 31 '06 #7
On Mon, 31 Jul 2006 09:39:40 -0700, Gleep <Gl***@Gleep.comwrote:
>save this as template1.html

<html>
<head></head>
<body>
Thank you for signing up, %%name%%! <br>
Company: %%companyName%% <br>
Email: %%email%% <br>
Phone: %%phone%% <p>
Event: %%title%%, %%grpdate%% <p>
Description: <br%%data%% <p>
Please don't do this.

1. The HTML markup is poor. No DTD and it's not even valid HTML.

2. There's no need to do this. Half-decent HTML and CSS will provide
just as much flexibility, without having to change the page generation
at all.

3. If you must use templating in HTML, then you can do better markers
than "%%title%%"
Jul 31 '06 #8
Ian Davies wrote:
>>By the way, please do not post questions to six different groups. It


I know
but is wasnt a specific question so the greater the postings in relevant
groups would increase the chanceof a solution.
>>isn't necessary and annoys people who read multiple groups. One or two


They'll live :)


But many of them won't answer your questions.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Jul 31 '06 #9
Jerry Stuckle wrote:
Ian Davies wrote:
>>By the way, please do not post questions to six different groups. It


I know
but is wasnt a specific question so the greater the postings in relevant
groups would increase the chanceof a solution.
>>isn't necessary and annoys people who read multiple groups. One or two


They'll live :)
And you'll live if people choose not to answer your questions, if that's
how you want to play the game.
Jul 31 '06 #10
Another thing that is annoying when you open a reply to your post eagerly
thinking someone has answered your question, only to find it is just someone
moaning about something. That actually wastes time and is probably even more
annoying.
"Jerry Stuckle" <js*******@attglobal.netwrote in message
news:fY******************************@comcast.com. ..
Ian Davies wrote:
>By the way, please do not post questions to six different groups. It

I know
but is wasnt a specific question so the greater the postings in relevant
groups would increase the chanceof a solution.
>isn't necessary and annoys people who read multiple groups. One or two

They'll live :)




But many of them won't answer your questions.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Jul 31 '06 #11
Harlan Messinger <hm*******************@comcast.netwrote:
By the way, please do not post questions to six different groups. It
isn't necessary and annoys people who read multiple groups. One or two
of these would probably have been sufficient.
He crossposted properly; something is wrong with your newsreader if you
are seeing the question more than once.

Still 6 groups does seem like overkill.

miguel
--
Photos from 40 countries on 5 continents: http://travel.u.nu
Latest photos: Malaysia; Thailand; Singapore; Spain; Morocco
Airports of the world: http://airport.u.nu
Jul 31 '06 #12
Ian Davies wrote:
Another thing that is annoying when you open a reply to your post eagerly
thinking someone has answered your question, only to find it is just someone
moaning about something. That actually wastes time and is probably even more
annoying.
"Jerry Stuckle" <js*******@attglobal.netwrote in message
news:fY******************************@comcast.com. ..
>>Ian Davies wrote:
>>>>By the way, please do not post questions to six different groups. It
I know
but is wasnt a specific question so the greater the postings in relevant
groups would increase the chanceof a solution.


isn't necessary and annoys people who read multiple groups. One or two
They'll live :)



But many of them won't answer your questions.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================


Not nearly as annoying as opening a message thinking you could help them
and finding it posted to umpteen different newsgroups - and the question
not even being applicable to many of those newsgroups (including the one
you're looking at it from).

You go ahead and keep posting to all kinds of newsgroups. Watch your
responses drop to zero.

A friendly suggestion - do a little homework. Find 2 or 3 newsgroups
which are appropriate to your question and post in those.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Jul 31 '06 #13
In article <xI********************@newsfe6-gui.ntli.net>,
Ian Davies <ia********@virgin.netwrote:
>Another thing that is annoying when you open a reply to your post eagerly
thinking someone has answered your question, only to find it is just someone
moaning about something. That actually wastes time and is probably even more
annoying.
Then don't use usenet as your tech support service if you don't like
the fact that anybody can post anything in a public forum. Go to a
moderated newsgroup, or hire a consultant and you'll get more direct
answers.

-A
Jul 31 '06 #14
In article <4r********************************@4ax.com>,
Andy Dingley <di*****@codesmiths.comwrote:
>3. If you must use templating in HTML, then you can do better markers
than "%%title%%"
For templating, personally I'm a big fan of smarty -- see
http://smarty.php.net

CSS lets you separate styling from markup.

Smarty lets you go further, separating php scripts from HTML
content.

The HTML content is all in templates and the php scripts perform
all the logical operations, set the smarty template variables to be
filled in, etc. The smarty templates have directives to include
other templates, if/elseif/then logic, math and logic operators,
etc.

-A
Jul 31 '06 #15
Ian Davies wrote:
>
"Jerry Stuckle" <js*******@attglobal.netwrote in message
news:fY******************************@comcast.com. ..
>Ian Davies wrote:
>>>By the way, please do not post questions to six different groups. It

I know
but is wasnt a specific question so the greater the postings in relevant
groups would increase the chanceof a solution.

isn't necessary and annoys people who read multiple groups. One or two

They'll live :)
But many of them won't answer your questions.
Another thing that is annoying when you open a reply to your post eagerly
thinking someone has answered your question, only to find it is just
someone
moaning about something. That actually wastes time and is probably
even more
annoying.
Top-posting is another annoying thing.

So is ignoring the fact that someone did in fact provide a valid answer
to your question, as I did.

But beyond that, one of the most annoying things is someone who solicits
help but then, when someone explains posting etiquette to him, gives a
response like "they'll live", showing a puzzling disregard for the very
people whose assistance he's hoping to enlist.
Jul 31 '06 #16
Miguel Cruz wrote:
Harlan Messinger <hm*******************@comcast.netwrote:
>By the way, please do not post questions to six different groups. It
isn't necessary and annoys people who read multiple groups. One or two
of these would probably have been sufficient.

He crossposted properly; something is wrong with your newsreader if you
are seeing the question more than once.
Granted that he crossposted rather than multiposting.
Still 6 groups does seem like overkill.
Yes. In fact, I think six is the maximum my news provider will allow me
to post to, reflecting their enforcement of Usenet etiquette.
Jul 31 '06 #17
In message <xI********************@newsfe6-gui.ntli.net>, Ian Davies
<ia********@virgin.netwrites
>even more annoying
Not as annoying as top-posting.

A: Because it messes up the order in which we read text
Q: Why is top posting such a bad thing?
A: Top posters
Q: What's the most annoying thing on usenet?

FU set
--
Andy Mabbett
Say "NO!" to compulsory ID Cards: <http://www.no2id.net/>

Free Our Data: <http://www.freeourdata.org.uk>
Aug 1 '06 #18

"Harlan Messinger" <hm*******************@comcast.netwrote in message
news:4j************@individual.net...
Ian Davies wrote:

"Jerry Stuckle" <js*******@attglobal.netwrote in message
news:fY******************************@comcast.com. ..
Ian Davies wrote:
By the way, please do not post questions to six different groups. It

I know
but is wasnt a specific question so the greater the postings in
relevant
>groups would increase the chanceof a solution.

isn't necessary and annoys people who read multiple groups. One or
two
>>
They'll live :)

But many of them won't answer your questions.
Another thing that is annoying when you open a reply to your post
eagerly
thinking someone has answered your question, only to find it is just
someone
moaning about something. That actually wastes time and is probably
even more
annoying.

Top-posting is another annoying thing.

So is ignoring the fact that someone did in fact provide a valid answer
to your question, as I did.

But beyond that, one of the most annoying things is someone who solicits
help but then, when someone explains posting etiquette to him, gives a
response like "they'll live", showing a puzzling disregard for the very
people whose assistance he's hoping to enlist.

I make a great point of thanking those who provided me with useful
information even if it couldnt help me. Check back over the previous posts
(about first 3 except yours) and you will quickly realise my gratitude.
>PHP doesn't interact with either CSS or Javascript. To PHP, CSS and
Javascript are just strings being written out as part of the web page,
just as they HTML is. To CSS and Javascript, PHP doesn't exist, since
they operate only within the browser, and the browser only knows what's
on the HTML page it has been sent, and nothing about the programming
used to generate and send that page.
Your response, I feel wasnt that valid really, much of this I already knew I
was, like most on these forums looking for something a little more specific
that addresses the problems I was having. I was going to say that your info
was as useless as a one legged man in an arse kicking competition, but I
detect a lack of sense of humour, as you took too very seriously the
following

"they'll live :)"

note the :) bit
Aug 1 '06 #19
Ian Davies wrote:
>PHP doesn't interact with either CSS or Javascript. To PHP, CSS and
Javascript are just strings being written out as part of the web page,
just as they HTML is. To CSS and Javascript, PHP doesn't exist, since
they operate only within the browser, and the browser only knows what's
on the HTML page it has been sent, and nothing about the programming
used to generate and send that page.

Your response, I feel wasnt that valid really,
You mean, ignoring the fact that it was true?
much of this I already knew I
was,
If you already knew that PHP doesn't interact with Javascript and CSS,
then why did you ask how PHP interacts with Javascript and CSS (as well
as JS and CSS with each other)?
like most on these forums looking for something a little more specific
that addresses the problems I was having.
That's hard to find if the question you ask is, at least in part, not
the one you want an answer to.
I was going to say that your info
was as useless as a one legged man in an arse kicking competition, but I
detect a lack of sense of humour, as you took too very seriously the
following

"they'll live :)"

note the :) bit
It wouldn't be the first time I've seen someone say something flip and
then follow it with a smiley in the sense of, "yeah, I know I just said
something obnoxious, but you're not going to hold me responsible for it,
are you?" I guess the difference between this and a smiley I would buy
is that in this case the flip line came by itself, rather than as an
amusing follow-up to some acknowledgment of the point that had been
brought to your attention.
Aug 1 '06 #20
Harlan Messinger wrote:
Ian Davies wrote:
By the way, please do not post questions to six different groups. It
isn't necessary and annoys people who read multiple groups. One or two
of these would probably have been sufficient.
Even if it's quite many PHP newsgroups, all the groups are relevant, which is
quite unusual. 4-5 is what are recommended as a max, so one more don't make so
much difference and it's not one of those even more annoying multiposts.

There is no one forcing you to reread the posts in all the newsgroups you
subscribe to.
//Aho
Aug 1 '06 #21
Ian Davies wrote:
Thanks for your response Aho

>First of all you should have some default starting points, as you already
have. Store those into variables, as $xh1=40;, you will also need to check
if
>the page has been updated or show for the first time, you can add the

<input name="updated" type="hidden" value="1">

to your form


How will this value =1
remain. wont it disapear when the browser is closed. meaning that if the
user visits again it will not remember him? or have I missuderstood?
you add it to the form, when you load the page for the first time, the input
line will be there, but as long as it's not been submitted there aren't any
$_REQUEST['updated'].

>in your php you will need to make a check something like

if($_REQUEST['updated']==1) {
$xh1=$_REQUEST['xh1'];
} else {
$xh1=40;
}

Then you have your inputs in html

<input name="xh1" class="BodyText" value="<?PHP echo $xh1;>" size="1"
type="text">
>You should include the css code that handles the location of the text in
the
>php file, and with usage of php in the same manner that in the input tag,
you
>will dynamically change the coordinates in the css/style part of the code.

This last bit sounds interesting, but Im not clear what you mean? Do you
know how to retreive the coordinates of the position the user dragged the
text to and put them in the text boxes? The drag bit of the code I used was
taken from elswhere and my java script isnt up to much. What I really whish
to do is to have the text boxes update continuously as te text is dragged so
that it is constantly displaying the new coordinated.
As I don't touch javascript, this will be updated each time you submit the new
values (no dragging of text sorry).

If you want to use javascript, then you need to write a code (javascript) that
updates the input fileds, but how you have to ask the javascript group.

If would do something like this, I think I would have selected to make a JAVA
applet. http://java.sun.com/docs/books/tutor...ts/applet.html

//Aho

Aug 1 '06 #22
"J.O. Aho" <us**@example.netwrote in message
news:4j************@individual.net...
Ian Davies wrote:
Thanks for your response Aho

First of all you should have some default starting points, as you
already
have. Store those into variables, as $xh1=40;, you will also need to
check
if
the page has been updated or show for the first time, you can add the

<input name="updated" type="hidden" value="1">

to your form

How will this value =1
remain. wont it disapear when the browser is closed. meaning that if the
user visits again it will not remember him? or have I missuderstood?

you add it to the form, when you load the page for the first time, the
input
line will be there, but as long as it's not been submitted there aren't
any
$_REQUEST['updated'].

in your php you will need to make a check something like

if($_REQUEST['updated']==1) {
$xh1=$_REQUEST['xh1'];
} else {
$xh1=40;
}

Then you have your inputs in html

<input name="xh1" class="BodyText" value="<?PHP echo $xh1;>" size="1"
type="text">
You should include the css code that handles the location of the text
in
the
php file, and with usage of php in the same manner that in the input
tag,
you
will dynamically change the coordinates in the css/style part of the
code.

This last bit sounds interesting, but Im not clear what you mean? Do you
know how to retreive the coordinates of the position the user dragged
the
text to and put them in the text boxes? The drag bit of the code I used
was
taken from elswhere and my java script isnt up to much. What I really
whish
to do is to have the text boxes update continuously as te text is
dragged so
that it is constantly displaying the new coordinated.

As I don't touch javascript, this will be updated each time you submit the
new
values (no dragging of text sorry).

If you want to use javascript, then you need to write a code (javascript)
that
updates the input fileds, but how you have to ask the javascript group.

If would do something like this, I think I would have selected to make a
JAVA
applet.
http://java.sun.com/docs/books/tutor...ts/applet.html
>
//Aho

Hello
Java Applets are new teritory for me. I will take a look at your link and
see what they are all about perhaps they can help.
Regarding my orginal problem. I think Ive cracked it. Its to do with
the'relative' bit in the style. it limits how widely the bits of text can be
moved arround. I found that putting <brbetween each seems to help but it
still means that they can only move around within their natural order.
Unfortunately changing it to absolute will only solve the problem if one
record is dispayed. but because I have many records populating a table using
absolute dumps them all on top of each other.

Looks like I will have to use relative and allow less manipulation by the
user

Ian
Aug 1 '06 #23
J.O. Aho wrote:
Harlan Messinger wrote:
>Ian Davies wrote:

>By the way, please do not post questions to six different groups. It
isn't necessary and annoys people who read multiple groups. One or two
of these would probably have been sufficient.


Even if it's quite many PHP newsgroups, all the groups are relevant,
which is quite unusual. 4-5 is what are recommended as a max, so one
more don't make so much difference and it's not one of those even more
annoying multiposts.

There is no one forcing you to reread the posts in all the newsgroups
you subscribe to.
//Aho
Actually, 3 is the max recommended by most usenet gurus. This was twice
that.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================
Aug 1 '06 #24
J.O. Aho wrote:
Harlan Messinger wrote:
>Ian Davies wrote:
>By the way, please do not post questions to six different groups. It
isn't necessary and annoys people who read multiple groups. One or two
of these would probably have been sufficient.

Even if it's quite many PHP newsgroups, all the groups are relevant,
which is quite unusual. 4-5 is what are recommended as a max, so one
more don't make so much difference
"4-5" is already acknowledges the fuzziness of the boundary, and I can
one-more-doesn't-make-so-much-difference you up to a million and beyond.
Yes, I agree that this is a rare case where the newsgroups were all
relevant.

and it's not one of those even more
annoying multiposts.

There is no one forcing you to reread the posts in all the newsgroups
you subscribe to.
So, is it your stance that in any environment where others are free not
to participate, it's OK to ignore the established etiquette, rendering
it null and void?
>
//Aho
Aug 1 '06 #25
Ian Davies wrote:
Another thing that is annoying when you open a reply to your post eagerly
thinking someone has answered your question, only to find it is just someone
moaning about something. That actually wastes time and is probably even more
annoying.
So is top-posting.
--
Jack.
http://www.jackpot.uk.net/
Aug 1 '06 #26
On Tue, 01 Aug 2006 09:50:17 GMT, "Ian Davies" <ia********@virgin.net>
wrote:
>Java Applets are new teritory for me.
Yes, there's a reason for that.

I don't know what your problem is. But the answer isn't a Java applet.
Aug 1 '06 #27

It's just a sample!! a guide to follow a suggestion... daaa
On Mon, 31 Jul 2006 20:05:06 +0100, Andy Dingley <di*****@codesmiths.comwrote:
>On Mon, 31 Jul 2006 09:39:40 -0700, Gleep <Gl***@Gleep.comwrote:
>>save this as template1.html

<html>
<head></head>
<body>
Thank you for signing up, %%name%%! <br>
Company: %%companyName%% <br>
Email: %%email%% <br>
Phone: %%phone%% <p>
Event: %%title%%, %%grpdate%% <p>
Description: <br%%data%% <p>

Please don't do this.

1. The HTML markup is poor. No DTD and it's not even valid HTML.

2. There's no need to do this. Half-decent HTML and CSS will provide
just as much flexibility, without having to change the page generation
at all.

3. If you must use templating in HTML, then you can do better markers
than "%%title%%"
Aug 2 '06 #28

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

Similar topics

2
by: Karsten | last post by:
Hi I'm a really a new with this cross platform development, so I have some dumb questions, which I hope you can help me with. If there is a better newsgroup for this question, please point...
7
by: Web Master | last post by:
Are there any good websites or books that deal with cross platform XML? I'd like to target Internet Explorer/Netscape Navigator 5 or later, as well as Opera, possibly konqueror on Linux as well. ...
22
by: Trammel | last post by:
Hi, I am here to request support from anyone that has idea's on cross-browser HTML (Mainly Firefox and IE). My personal website http://trammel.no-ip.info works fine on Firefox but IE decides to...
35
by: Alex Martelli | last post by:
Having fixed a memory leak (not the leak of a Python reference, some other stuff I wasn't properly freeing in certain cases) in a C-coded extension I maintain, I need a way to test that the leak is...
28
by: Ian Davies | last post by:
Hello I would appreciate some help from someone who has knowledge of working with css, php javascript and how they interact. Ive been working on a task for the last few days and have started to...
2
by: maha | last post by:
Dear DB2 experts! I'm stuck with the following issue: from a customer I got a DB2 backup file, created on an AIX-32 machine that I cannot restore on my windows platform. I admit that I posses...
3
by: techtonik | last post by:
Hello, everyb. Does anybody know simple cross-platform method of probing if executable binary is available and launching it. Problem no.1: test if executable file is available I'll take...
12
by: Acrobatic | last post by:
I'm trying to store user passwords in a MySQL database. I learned the hard way that using MySQL "DECODE" and "ENCODE" doesn't seem to work cross-platform, but if I encrypt on the server side with...
12
by: Tomás Ó hÉilidhe | last post by:
I don't know the first thing about cross-platform GUI programming, so I'd like to ask a few quick questions. Which library is best for someone who appreciates portable programming and correct...
42
by: =?ISO-8859-1?Q?Tom=E1s_=D3_h=C9ilidhe?= | last post by:
I'm currently writing a program and I've got in mind to keep it as portable as possible. In particular I want it to run on Linux and Windows, but I'm also keeping an open mind to any machine that...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.