Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #9393 > unrolled thread

simple PHP question

Started byfir <profesor.fir@gmail.com>
First post2018-11-18 02:11 -0800
Last post2018-11-23 13:46 -0800
Articles 9 — 4 participants

Back to article view | Back to comp.programming


Contents

  simple PHP question fir <profesor.fir@gmail.com> - 2018-11-18 02:11 -0800
    Re: simple PHP question JJ <jj4public@vfemail.net> - 2018-11-18 17:32 +0700
      Re: simple PHP question Chad <cdalten@gmail.com> - 2018-11-19 03:54 -0800
        Re: simple PHP question JJ <jj4public@vfemail.net> - 2018-11-20 10:41 +0700
          Re: simple PHP question Chad <cdalten@gmail.com> - 2018-11-21 16:51 -0800
            Re: simple PHP question JJ <jj4public@vfemail.net> - 2018-11-22 11:47 +0700
              Re: simple PHP question Chad <cdalten@gmail.com> - 2018-11-23 13:43 -0800
    Re: simple PHP question Richard Damon <Richard@Damon-Family.org> - 2018-11-21 21:01 -0500
      Re: simple PHP question Chad <cdalten@gmail.com> - 2018-11-23 13:46 -0800

#9393 — simple PHP question

Fromfir <profesor.fir@gmail.com>
Date2018-11-18 02:11 -0800
Subjectsimple PHP question
Message-ID<d7bf1172-54f1-4063-a4c9-fb1370347cd3@googlegroups.com>
hello, im ery noob in php (being noob im really bad even in searching the exact answer in wast of tutorials etc) thats why i got some
question 

imagine you got some "form" edit box on www page yu enter the text into it then on pres button you can get this teks in php code than you can "echo" it into this same www page you got that form, you know

this way you enter a text and this text appears on page below this edit box - but each time you enter that text this text is replaced

what i want i want to add new entry of thext
before or after this preious one, you know, making some kind of primitive notes

do maybe somebady know and can explain to me how to do that? tnx

[toc] | [next] | [standalone]


#9394

FromJJ <jj4public@vfemail.net>
Date2018-11-18 17:32 +0700
Message-ID<p8wweohjbrnb$.1ryog4veqc9td$.dlg@40tude.net>
In reply to#9393
On Sun, 18 Nov 2018 02:11:41 -0800 (PST), fir wrote:
> hello, im ery noob in php (being noob im really bad even in searching the
> exact answer in wast of tutorials etc) thats why i got some question 
> 
> imagine you got some "form" edit box on www page yu enter the text into
> it then on pres button you can get this teks in php code than you can
> "echo" it into this same www page you got that form, you know 
> 
> this way you enter a text and this text appears on page below this edit
> box - but each time you enter that text this text is replaced 
> 
> what i want i want to add new entry of thext before or after this preious
> one, you know, making some kind of primitive notes 
> 
> do maybe somebady know and can explain to me how to do that? tnx

Use DHTML and AJAX.

[toc] | [prev] | [next] | [standalone]


#9397

FromChad <cdalten@gmail.com>
Date2018-11-19 03:54 -0800
Message-ID<2df96f9e-9f90-4f33-b8c2-1c6afb8f1ffc@googlegroups.com>
In reply to#9394
On Sunday, November 18, 2018 at 2:34:11 AM UTC-8, JJ wrote:
> On Sun, 18 Nov 2018 02:11:41 -0800 (PST), fir wrote:
> > hello, im ery noob in php (being noob im really bad even in searching the
> > exact answer in wast of tutorials etc) thats why i got some question 
> > 
> > imagine you got some "form" edit box on www page yu enter the text into
> > it then on pres button you can get this teks in php code than you can
> > "echo" it into this same www page you got that form, you know 
> > 
> > this way you enter a text and this text appears on page below this edit
> > box - but each time you enter that text this text is replaced 
> > 
> > what i want i want to add new entry of thext before or after this preious
> > one, you know, making some kind of primitive notes 
> > 
> > do maybe somebady know and can explain to me how to do that? tnx
> 
> Use DHTML and AJAX.

And I suppose you also think it's okay for women 30 years and older to be wearing leggings as pants in public?

[toc] | [prev] | [next] | [standalone]


#9400

FromJJ <jj4public@vfemail.net>
Date2018-11-20 10:41 +0700
Message-ID<6v4au1yvd9z1.1aonflc0sz8es.dlg@40tude.net>
In reply to#9397
On Mon, 19 Nov 2018 03:54:29 -0800 (PST), Chad wrote:
> 
> And I suppose you also think it's okay for women 30 years and older to be
> wearing leggings as pants in public?

Is that the best question you can come up with?

[toc] | [prev] | [next] | [standalone]


#9403

FromChad <cdalten@gmail.com>
Date2018-11-21 16:51 -0800
Message-ID<81431906-b16c-41f2-85fb-7ae4bcc79b91@googlegroups.com>
In reply to#9400
Well, the way I see it, people who think that sometimes using AJAX is a good idea are the same people who think that it's okay for women 30 and above to wear leggings as pants out in public.

[toc] | [prev] | [next] | [standalone]


#9405

FromJJ <jj4public@vfemail.net>
Date2018-11-22 11:47 +0700
Message-ID<cpfs3bjljxmz.daa01i6frely.dlg@40tude.net>
In reply to#9403
On Wed, 21 Nov 2018 16:51:45 -0800 (PST), Chad wrote:
> Well, the way I see it, people who think that sometimes using AJAX is a
> good idea are the same people who think that it's okay for women 30 and
> above to wear leggings as pants out in public.

PHP can't be left out in this case, so they must wear pants.

Besides... Frankly, I don't like JavaScript because it's not really
necessary in most cases.

So, does that mean that I like pants more than leggings?

[toc] | [prev] | [next] | [standalone]


#9411

FromChad <cdalten@gmail.com>
Date2018-11-23 13:43 -0800
Message-ID<9dfd51f5-0dd2-445f-8dfa-efb0424cf2f8@googlegroups.com>
In reply to#9405
On Wednesday, November 21, 2018 at 8:47:35 PM UTC-8, JJ wrote:
> On Wed, 21 Nov 2018 16:51:45 -0800 (PST), Chad wrote:
> > Well, the way I see it, people who think that sometimes using AJAX is a
> > good idea are the same people who think that it's okay for women 30 and
> > above to wear leggings as pants out in public.
> 
> PHP can't be left out in this case, so they must wear pants.
> 
> Besides... Frankly, I don't like JavaScript because it's not really
> necessary in most cases.
> 
> So, does that mean that I like pants more than leggings?

Well, assuming that you're a dude, it means that you aren't a feminine type of male.

[toc] | [prev] | [next] | [standalone]


#9404

FromRichard Damon <Richard@Damon-Family.org>
Date2018-11-21 21:01 -0500
Message-ID<T5oJD.766227$cL2.587095@fx43.iad>
In reply to#9393
On 11/18/18 5:11 AM, fir wrote:
> hello, im ery noob in php (being noob im really bad even in searching the exact answer in wast of tutorials etc) thats why i got some
> question 
> 
> imagine you got some "form" edit box on www page yu enter the text into it then on pres button you can get this teks in php code than you can "echo" it into this same www page you got that form, you know
> 
> this way you enter a text and this text appears on page below this edit box - but each time you enter that text this text is replaced
> 
> what i want i want to add new entry of thext
> before or after this preious one, you know, making some kind of primitive notes
> 
> do maybe somebady know and can explain to me how to do that? tnx
> 
> 

You just need to put the text from the previous form into something that
is submitted back when you submit the form, and then combine them on the
page when you display it again.

[toc] | [prev] | [next] | [standalone]


#9412

FromChad <cdalten@gmail.com>
Date2018-11-23 13:46 -0800
Message-ID<ece17c0a-feca-4651-9d29-2be902be962b@googlegroups.com>
In reply to#9404
On Wednesday, November 21, 2018 at 6:01:26 PM UTC-8, Richard Damon wrote:
> On 11/18/18 5:11 AM, fir wrote:
> > hello, im ery noob in php (being noob im really bad even in searching the exact answer in wast of tutorials etc) thats why i got some
> > question 
> > 
> > imagine you got some "form" edit box on www page yu enter the text into it then on pres button you can get this teks in php code than you can "echo" it into this same www page you got that form, you know
> > 
> > this way you enter a text and this text appears on page below this edit box - but each time you enter that text this text is replaced
> > 
> > what i want i want to add new entry of thext
> > before or after this preious one, you know, making some kind of primitive notes
> > 
> > do maybe somebady know and can explain to me how to do that? tnx
> > 
> > 
> 
> You just need to put the text from the previous form into something that
> is submitted back when you submit the form, and then combine them on the
> page when you display it again.


Couldn't this be done using some kind of postback or PRG mode?

[toc] | [prev] | [standalone]


Back to top | Article view | comp.programming


csiph-web