Show all posts by user
Internet Programming
Page 1 of 1 Pages: 1
Results 1 — 30 of 30
I did not use the avail_id, but i did use the table(to check the availability versus colour). Is up to you to design the database the way you want. let your imagination goes wild and design the database according your code,as long as your program works.
by
Mariuspienaar
-
ICT3612 Sem 2
Thanks for your reply bigron11
I get your point of view,but for me its just like alot of unnecessary code that will take extra time, just imagine the hundreds of set,get,set,get's that one must write. Your example of telephone nr, I will just code a new object for the numbers then change that value of that object parameter if a customer wants to change their phone number. Actually if i co
by
Mariuspienaar
-
ICT3612 Sem 2
Good day
Where we have to create the OOP_constructor page. Below the class we have to create a new object, and pass the required data (manufacturer and colour) to the constructor function. I don't understand why there are set and get Functions? Because I use a construct function for all the data and a Display function, after the class i create the new object and call the display function to
by
Mariuspienaar
-
ICT3612 Sem 2
Good day Prof Mac
When will Tut 102 be available on Myunisa, so that we can continue with the portfolio?
by
Mariuspienaar
-
ICT3612 Sem 2
But it was gonna be better if there was a control panel and also a myPHPadmin, so i guess u are gonna write ur SQL from scratch? These days people like things done comfortable without any hassles.
by
Mariuspienaar
-
ICT3612 Sem 2
The hosting service is maybe more reliable because its local to us,but on the other-hand, you can only use ftp to upload your files as there is no "GUI" control panel or myPHPadmin for SQL.The SQL must be written in code from scratch (like creating ur database and tables) in your PHP files which can maybe be time consuming.
For me... i think i will stick to freeorg.
by
Mariuspienaar
-
ICT3612 Sem 2
Even If the data is missing, why use another page let all ur code run from one page
by
Mariuspienaar
-
ICT3612 Sem 2
Is this for the array assignment page?
by
Mariuspienaar
-
ICT3612 Sem 2
Ok sorry i see question 1 was answered somewhere else, only question 2 then.
by
Mariuspienaar
-
ICT2613 Sem 1
Good day
I just want to ask 2 small questions regarding the portfolio.
1. Must the visible pages of the site contain links to text files to show the code like the 1st assignment? (In the tutorial letter, at general notes after the portfolio it mention that,but it says the assignment not the portfolio,but then again it says 'but not for the connect.php as it is not visible'.)
2
by
Mariuspienaar
-
ICT2613 Sem 1
Just want to give the solution, yes the problem here was with the PHP code. It was suppose to be on top of all the other code(before html).There should not even be any html or css code before the PHP code.Problem solved.
by
Mariuspienaar
-
ICT2613 Sem 1
Yes,only the 'manager can see that', which means you must be logged in
by
Mariuspienaar
-
ICT2613 Sem 1
Keep with the TUT, only 'admin' and 'admin'.The lecturer is not gonna guess everyone usernames and passwords until they can login.You change the values in your database where you have created it.
by
Mariuspienaar
-
ICT2613 Sem 1
If the login in is successful then it directs the user to a new page.Just design that page menu with html,thats that.
by
Mariuspienaar
-
ICT2613 Sem 1
It was suppose to work with index.php as well. Did you replace that index.php file?
by
Mariuspienaar
-
ICT2613 Sem 1
Hi there
Yes disable it(take it off) otherwise its conflicting with Apache.Then restart your system.
by
Mariuspienaar
-
ICT2613 Sem 1
Well, if you've installed the easyPHP software,it means ur server is ready to use.You must save ur work(save as xxxx.php) on ur server. Look where you have installed easyPHP,its propably in C:/program files/EasyPHP. Then under there will be a folder named www. You must save your php pages in that www directory.
Create a new file in your pspad and put the code
Language: PHP<?php
phpinfo
by
Mariuspienaar
-
ICT2613 Sem 1
All right, a little bit more info on that warning...quoted by some php forums :
"That error means you outputted something to the browser before line 93 and then tried to use a header value that can't be sent because of course the header had already been sent before line 40".
Yes my header point to another file named loggedin.php. The code on top of that file is just Language:
by
Mariuspienaar
-
ICT2613 Sem 1
Good day All
Is there any way to disable warnings? when i upload my portfolio to the server(on the net) it works great, that is the orgfree.com one. But when I upload it to my server of mweb,it shows the following warnings when i want to login in:
----------------------------------------
Warning: session_start() : Cannot send session cookie - headers already sent by (output started at /home/
by
Mariuspienaar
-
ICT2613 Sem 1
Thank you very much for your tips,it helped me so much.
Ja i see,the biggest mistake here what i have done is, i mixed the two tables around while written the pseodocode.
And that third table for team selection with the values of |selection_ID,| Fixture_ID,| possition1,| possition2|
All the values under them will be like ------------------------ | 1 | 1 |
by
Mariuspienaar
-
ICT2613 Sem 1
Good day all!
I am using radio buttons in my team selection page,so that the manager can choose for what position which player must play,those radio buttons is for two positions, lets say position 1 and position 2 next to each players row, those data must then be submitted to the database to choose who is on which team.
The data submits to the database but only the last row of the table,not t
by
Mariuspienaar
-
ICT2613 Sem 1
Good day!
In the tutorial letter it shows some sample code of pages,for example the fixture page show some code with if/else statements.Do we really need to work with those if/else statements or can we do our own code here,my page is working correctly without any if/else statements.otherwise i must recode my whole fixture page.
Thanks
by
Mariuspienaar
-
ICT2613 Sem 1
Good day all!
I'm working so nicely through my portfolio until two days back when I got stuck.
It is the part where we must click on the edit link to edit the database table.
Ok, all works nice, I add a new player and all the player's detail is available on the table.(on that page if I hoover my mouse pointer over the edit link, then under the screen it shows the variables with its
by
Mariuspienaar
-
ICT2613 Sem 1
Are you sure you doing ICT2613?
There are no invoices, products or drop down lists.
by
Mariuspienaar
-
ICT2613 Sem 1
Good day
The tutorial letter states which .php pages we need to safe and upload,so will there be any problem to add extra Cascading Style Sheets to make my site looks nicer? I dont want to include all my styles in my php pages but rather let a link pointing to external ones.
by
Mariuspienaar
-
ICT2613 Sem 1
Hi there
On the portfolio where you delete a player,it must ask to confirm to delete the player on the delete.php page AND give some details of the player,so javascript wont work there because PHP first get executed on the server before javascript,so my player gets deleted when my page loads.
if i put an if function like "if($_POST['submit']) (where submit is my delete button
by
Mariuspienaar
-
ICT2613 Sem 1
Thanx for the tip PJ
I didnt actually want the confirmation in a popup dialog,but did it a much easier way without any functions too.I just put an if function that points to the buttons name value and call the delete script from there.The delete page is now 100%.
by
Mariuspienaar
-
ICT2613 Sem 1
Hi there
Okay,i am at the part on my portfolio where the user must delete a record and i am stuck.
- When the user clicks on the delete link,it must take him to 'delete.php',good but it must ask the user to confirm(i guess its a question with two buttons of yes and no).Now this is where the problem comes in.
-i guess there is different ways to write your code,but i have two fun
by
Mariuspienaar
-
ICT2613 Sem 1
Good day!
All right, assignment 1 is easy,but what i want to know is the thing about the timezone.
Is there a PHP code for the zones,because the only timezone thing i can see is that im in the "Africa/Johannesburg" zones(by Googling), so do I just put that name as a string into a variable and echo it back or is there a much more complex way than that which they need? I cannot see th
by
Mariuspienaar
-
ICT2613 Sem 1
Hi there
At least then u have experience in PHP, im just starting it as a new language for me,looks interesting.I don't even know what a PHP framework is,but gonna google some of those frameworks now that ur referring to.
I have C++, javascript and Python experience,so i just skip some of this chapters about Variables, loops etc, they all are the same just little different.I jump straigh
by
Mariuspienaar
-
ICT2613 Sem 1