Welcome! Log In Create A New Profile

Advanced

Topic 1B

Posted by Anonymous User 
Announcements Last Post
Announcement SoC Curricula 09/30/2017 01:08PM
Announcement Demarcation or scoping of examinations and assessment 02/13/2017 07:59AM
Announcement School of Computing Short Learning Programmes 11/24/2014 08:37AM
Announcement Unisa contact information 07/28/2011 01:28PM
Anonymous User
Topic 1B
January 16, 2006 08:22AM
This is the thread for problems/comments related to Topic 1B.
Re: Topic 1B
February 14, 2006 12:53PM
Finished this topic and there were no problems.
Re: Topic 1B
February 14, 2006 02:08PM
Sorry I jumped the gun my comments for 1B are included in my 1A posting
Re: Topic 1B
February 14, 2006 02:20PM
this is the output I got when running firstscript.php using designer


"winking smiley; echo gmDate("M d"winking smiley; echo "
PHP 4 is really great.

"; echo "I love the possibilities."; ?>


when I run it using localhost it displays correctly
Re: Topic 1B
February 15, 2006 08:13AM
Finished this topic and there were no problems.

I think it will be to our benefit to read the whole chapter 2, not only parts of it.
Re: Topic 1B
February 16, 2006 01:16PM
I've done topic 1B. Had no problems..

Except I uploaded my script to a server to test it as I haven't been able to install Foxserv etc on my pc just yet.
Re: Topic 1B
February 19, 2006 10:20PM
I copleted this topic
Re: Topic 1B
February 21, 2006 09:33AM
Yep PHP is great.
You can download the complete user manual of the net. I sure this can save you some bandwidth.

http://www.php.net/download-docs.php
smiling smiley

I wanna use perl style string formatting instead of html tags. e.g. \n instead of <br>

They seem to be supported in PHP but they have no effect with echo and print().

Here is a list of supported delimiters:
\B A non-word boundary.
\d A single digit character.
\D A single non-digit character.
\n The newline character. (ASCII 10)
\r The carriage return character. (ASCII 13)
\s A single whitespace character.
\S A single non-whitespace character.
\t The tab character. (ASCII 9)
\w A single word character - alphanumeric and underscore.


Any ideas?


Murphy's Technology Law 7
-- The attention span of a computer
is only as long as its electrical cord.
avatar
Mac
Re: Topic 1B
February 21, 2006 05:54PM
Try and download the extended help file - it has added comments in from contributors - their examples make things much clearer.

http://us2.php.net/download-docs.php
Re: Topic 1B
February 21, 2006 06:18PM
I downloaded it but it seems to have a windows installer. I use linux. I am sure I can find something of the net.

In Google I trust

Murphy's Technology Law 7
-- The attention span of a computer
is only as long as its electrical cord.
Sorry, you do not have permission to post/reply in this forum.