Welcome! Log In Create A New Profile

Advanced

PHP

Posted by Tracey 
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
PHP
January 07, 2008 09:21AM
I've got two questions:

1. I'm learning PHP with the help of a book. I copied and pasted some code and its not working, I'm not getting an error but its not doing what its supposed to be doing. Can I email somebody who knows PHP the two files and they can test them and see if it works for them?

2. How long will it take to learn PHP well enough to develop a kickass website? I have two weeks to learn it before I start studying but then I need to make time for it between work and studying.
Re: PHP
January 07, 2008 09:23AM
well if you keep posting your errors here and waiting for solutions, it will take a lot longer than 2 weeks.
Re: PHP
January 07, 2008 09:25AM
Randal Flag Wrote:
-------------------------------------------------------
> well if you keep posting your errors here and
> waiting for solutions, it will take a lot longer
> than 2 weeks.

I haven't posted any errors so I can't keep doing it. I asked if I could email the files, not post the errors.
Re: PHP
January 07, 2008 09:26AM
see, its already taking longer than you thought it would.
avatar Re: PHP
January 07, 2008 09:27AM
Keep on practicing programming in PHP and you should be able to make use of the language very well in a few weeks time. Although good programming in general takes years to develop. Too bad I don't take my own advice and use it enough.
Re: PHP
January 07, 2008 09:27AM
thanks Shauntir.
avatar Re: PHP
January 07, 2008 10:17AM
I've got two questions:

1. I'm learning MIXAL with the help of a book. I copied and pasted some code and its working, I'm not getting an error and its doing what its supposed to be doing. Can I email somebody who knows MIXAL the files and they can test them and see if it also works for them and its not just blind luck?

2. How long will it take to learn MIXAL well enough to develop a kickass website? I have two weeks to learn it before I start studying but then I need to make time for it between work and studying.

 
  ,= ,-_-. =.
 ((_/)o o(\_))
  `-'(. .)`-'
      \_/
http://ilanpillemer.com
Entia non sunt multiplicanda praeter necessitatem
Re: PHP
January 07, 2008 10:18AM
well if you keep posting your errors here and waiting for solutions, it will take a lot longer than 2 weeks. grinning smiley
Anonymous User
Re: PHP
January 07, 2008 10:23AM
3 weeks later.....

everyone on the forum has called everyone else a bitch or a bastard and wished everyone else dead.


PHP- isn't it a very script like language? I only know Perl - which is similar in some ways - or so I have been told.

Post your code? Maybe someone can see some glaringly obvious error?
Re: PHP
January 07, 2008 10:26AM
i doubt you would be able to implement a kickass website with mixal
Anonymous User
Re: PHP
January 07, 2008 10:27AM
what is mixal? sounds like mydol
avatar Re: PHP
January 07, 2008 10:31AM
mixal is an assembler and interpreter for Donald Knuth's mythical MIX computer, defined in: Donald Knuth, "The Art of Computer Programming", Vol. 1: Fundamental Algorithms_. Addison-Wesley, 1973 (2nd ed.)

Source


Man there's some really smart people here. You guys know a lot.
Re: PHP
January 07, 2008 10:50AM
celene Wrote:
-------------------------------------------------------
> 3 weeks later.....
>
> everyone on the forum has called everyone else a
> bitch or a bastard and wished everyone else dead.
>
>
> PHP- isn't it a very script like language? I only
> know Perl - which is similar in some ways - or so
> I have been told.
>
> Post your code? Maybe someone can see some
> glaringly obvious error?

It won't be my glaring error, I just copied and pasted the code.
I'll do it tonight, I don't have the cod here.
Re: PHP
January 07, 2008 10:52AM
ilanpillemer Wrote:
-------------------------------------------------------
> I've got two questions:
>
> 1. I'm learning MIXAL with the help of a book. I
> copied and pasted some code and its working, I'm
> not getting an error and its doing what its
> supposed to be doing. Can I email somebody who
> knows MIXAL the files and they can test them and
> see if it also works for them and its not just
> blind luck?
>
> 2. How long will it take to learn MIXAL well
> enough to develop a kickass website? I have two
> weeks to learn it before I start studying but then
> I need to make time for it between work and
> studying.


Ilan, I see that not making fun of me was not one of your new year's resolutions eye rolling smiley
Oh well, 2008 should produce another interesting forum. Hopefully this year I won't be so quick to retaliate.
Anonymous User
Re: PHP
January 07, 2008 11:22AM
It won't be my glaring error, I just copied and pasted the code. - yeah, I didn't mean your glaringly obvious error, I meant any obvious error. Textbooks are not perfect winking smiley maybe they also forgot to tell you that you need to add something else and not just use the code as is?
Re: PHP
January 07, 2008 11:38AM
oh okay.

Its a pretty simple example. You have a html file with a textbox on it, you enter text in the textbox, click a button which calls up a php document. The php document has text on it that gets displayed plus it has $variable_name. My $variable_name isn't being displayed.
avatar Re: PHP
January 07, 2008 11:45AM
That means that you might not be getting data from the form. Look at the form in the html page that has the textbox. Look at the part the says <form action="something.php method="get">. Change action="something.php" to "action=the_name_of_your_php_file.php". If you paste your code it may help.
Re: PHP
January 07, 2008 11:51AM
action does equal the name of the php file. In the url you can see the value of the variable so it is being passed to the php file. I'll paste it tonight.
Re: PHP
January 07, 2008 04:00PM
Forget I ever asked for help.
avatar Re: PHP
January 07, 2008 04:02PM
Why?
Re: PHP
January 07, 2008 04:02PM
because I'm frustrating apparently.
Re: PHP
January 07, 2008 04:03PM
what does php stand for?
Anonymous User
Re: PHP
January 07, 2008 04:04PM
who says you are frustrating?
avatar Re: PHP
January 07, 2008 04:05PM
PHP: Hypertext Preprocessor
Re: PHP
January 07, 2008 04:05PM
Ilan, Thomas, Rick, Reanie
Re: PHP
January 07, 2008 04:06PM
what? why does html need preprocessing?
avatar Re: PHP
January 07, 2008 04:09PM
Html doesn't need preprocessing. "Dynamic" content needs preprocessing. Getting stuff from a DB, saving it. Get info from a user, process it, and display something. Etc
Re: PHP
January 07, 2008 04:09PM
cant you do all that stuff with just html?
Anonymous User
Re: PHP
January 07, 2008 04:11PM
ignore them, they don't have to read the forum if they find a subjetc frustrating
avatar Re: PHP
January 07, 2008 04:11PM
No.
Sorry, only registered users may post in this forum.

Click here to login