FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » initial value
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: initial value [message #171176 is a reply to message #171165] Tue, 28 December 2010 22:32 Go to previous messageGo to previous message
Captain Paralytic is currently offline  Captain Paralytic
Messages: 204
Registered: September 2010
Karma:
Senior Member
On Dec 28, 7:02 pm, richard <mem...@newsguy.com> wrote:
> On Tue, 28 Dec 2010 09:25:48 -0800 (PST), Captain Paralytic wrote:
>> On Dec 28, 5:16 pm, richard <mem...@newsguy.com> wrote:
>>> On Tue, 28 Dec 2010 08:47:31 -0800 (PST), Captain Paralytic wrote:
>>>> On Dec 28, 4:30 pm, richard <mem...@newsguy.com> wrote:
>>>> > $year=$_GET(yearID)
>>>> > echo $year
>
>>>> > Works just fine except for one thing.
>>>> > When the page is initially loaded, there is nothing in the space.
>>>> > I want to show a year in the space as the default.
>>>> > So that $year should have a value other than null.
>>>> > How is that done?
>
>>>> I assume that since it is you coding this, you haven't actually
>>>> defined yearID as a constant!
>
>>> I tried that too.
>
>> I wasn't suggesting that that was the cause of this problem, just that
>> it was yet another bit of extremely basic php that you haven't
>> bothered to master.
>
>> Your scatter gun approach to programming would be funny if it wasn't
>> so tragic.
>
> Ah yes, we forget how we learn things don't we?
> When you first got that amazing contraption called a computer, you were
> such an expert with it and all of it's magical wonders.

Ahh but we are not talking about the same thing here. Your first post
in CLP was in August 2008, with a large gap till November 2009. You
have thus been "learning" php for over a year. I do not consider that
"over a year" can be considered as "first getting a computer".

In over a year, you still do not know the basics. This is typical for
people such as you and JRough who show no aptitude for computer
programming. Neither of you have been able to pick up the basics and
both of you just type any old thing and then post here when,
surprisingly, the stuff you typed didn't work.

I am certainly far from an expert in php, but it didn't take me more
than a couple of weeks to pick up the basic syntax after I read the
manual.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem Connecting to PHP
Next Topic: Open Session Variables
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 22:22:25 GMT 2024

Total time taken to generate the page: 0.05105 seconds