Search found 92 matches
- Tue Feb 18, 2003 11:18 pm
- Forum: General Discussion
- Topic: Why use PHP instead of ASP.NET
- Replies: 24
- Views: 8432
- Tue Feb 18, 2003 9:51 pm
- Forum: General Discussion
- Topic: Why use PHP instead of ASP.NET
- Replies: 24
- Views: 8432
- Tue Feb 18, 2003 6:34 pm
- Forum: General Discussion
- Topic: Why use PHP instead of ASP.NET
- Replies: 24
- Views: 8432
Having just spent the better part of 3 months heavily immeresed in .NET, C# and ASP.NET I read with interest all the posts in this thread. First things first: PHP Rocks! Now, to the reality of it all: The whole .NET idea and accompanying framework rocks even more. C# is a better JAVA, and ASP.NET is...
- Thu Nov 14, 2002 7:34 am
- Forum: General Discussion
- Topic: Opera 7.0 beta now available
- Replies: 1
- Views: 1850
- Sun Sep 22, 2002 7:08 am
- Forum: PHP - Code
- Topic: Drop Down Styles...
- Replies: 5
- Views: 2091
If you want to change the include() arguments on the page you are currently displaying, you can't, since by the time you see the page, PHP is done with it's processing for that page on the server, so you're viewing the finished page in your browser, the client. You can simulate it by having the page...
- Wed Sep 18, 2002 9:55 pm
- Forum: Databases
- Topic: Database Design
- Replies: 4
- Views: 3362
Nielsene, that's a great way of putting it all in laymens terms!
One thing I like to do is determine the kind of reports/output needed, it helps me to get a handle on the relationships etc...
I've used this site a lot, and it's quite good for beginners:
http://www.sqlcourse.com/
cheers
Pete
One thing I like to do is determine the kind of reports/output needed, it helps me to get a handle on the relationships etc...
I've used this site a lot, and it's quite good for beginners:
http://www.sqlcourse.com/
cheers
Pete
- Sun Sep 15, 2002 6:09 am
- Forum: PHP - Code
- Topic: Alphabetical order? Help!
- Replies: 1
- Views: 986
try using the function asort() in place of sort, asort will sort an array and maintain index association
http://www.php.net/manual/en/function.asort.php
http://www.php.net/manual/en/function.asort.php
- Sun Sep 15, 2002 5:55 am
- Forum: PHP - Code
- Topic: Echo v's Print
- Replies: 15
- Views: 3511
Alas while this should work:
it does not...
and Takuma, you may be right, but it's there if you need it.
Code: Select all
<?php (5 < 10 ) ? echo("True") : echo("No"); ?>and Takuma, you may be right, but it's there if you need it.
- Sat Sep 14, 2002 10:26 pm
- Forum: Javascript
- Topic: Neato Input + javascript color "trick"
- Replies: 14
- Views: 10255
- Sat Sep 14, 2002 10:22 pm
- Forum: PHP - Code
- Topic: Echo v's Print
- Replies: 15
- Views: 3511
Can't use echo in a ternary operator, but you can use print.
This works
This doesn't:
illustrates the language construct VS function
This works
Code: Select all
(5 < 10 ) ? print("True") : print("No");Code: Select all
(5 < 10 ) ? echo "True" : echo "No";- Wed Sep 11, 2002 8:58 pm
- Forum: PHP - Code
- Topic: DAMN }else{
- Replies: 12
- Views: 3067
Yes the colon works, it's an alternative syntax.
http://www.php.net/manual/en/control-st ... syntax.php
http://www.php.net/manual/en/control-st ... syntax.php
Code: Select all
if($var == 0 ):
echo $someThing;
elseif ( $var !=0 ):
echo $someThingElse;
else:
echo $catchAll;
endif; //< -- note semi - colon on the endif- Tue Sep 10, 2002 9:28 pm
- Forum: PHP - Code
- Topic: how to update php 4.0.6 to 4.1.1
- Replies: 3
- Views: 1217
- Sat Sep 07, 2002 2:04 pm
- Forum: Javascript
- Topic: Getting PHP to play nice with Javascript
- Replies: 3
- Views: 5274
- Sat Sep 07, 2002 1:29 pm
- Forum: Javascript
- Topic: Getting PHP to play nice with Javascript
- Replies: 3
- Views: 5274
Getting PHP to play nice with Javascript
Ok, due to PHP and JS naming restrictions I'm finding it exceedingly difficult, or perhaps I'm dense, to post multiple selected options from a select list. If I name my form: name[] ( effectively declaring an array ) then PHP picks up all the selected options no problem, however, I need to process t...
- Thu Sep 05, 2002 12:43 pm
- Forum: PHP - Code
- Topic: Mixing PHP and JS, getting mixed results..
- Replies: 0
- Views: 784
Mixing PHP and JS, getting mixed results..
OK...here's my latest incarnation of my script. Essentially this adds an option to another select list after checking against a lookup array . My problem now is that the script only works properly on the first select list in the list. It "appears" to work with the others, however, it actua...