i do know the difference .. was just sugesting a cart, ive never even looked at its source code...I think you should do a quick google for the difference of OOP and procedural programming
Search found 50 matches
- Thu Jan 13, 2005 3:47 pm
- Forum: General Discussion
- Topic: Object-oriented PHP Shopping Cart?
- Replies: 9
- Views: 2754
- Sat Jan 08, 2005 3:36 pm
- Forum: General Discussion
- Topic: What browser do you use/like to use?
- Replies: 12
- Views: 2061
- Sat Jan 08, 2005 8:20 am
- Forum: PHP - Code
- Topic: Rotate informations
- Replies: 3
- Views: 800
- Sat Jan 08, 2005 8:04 am
- Forum: PHP - Code
- Topic: Rotate informations
- Replies: 3
- Views: 800
put the output into an iframe, then use a meta page refresh pointing to the output page set for the time you want. The page it points to in the refresh should be somthing like http://www.pageToRefresh.php?ad=1, Then in the pageToRefresh.php, you simply use $_GET['ad'] to choose the next advert, and ...
- Sat Jan 01, 2005 3:02 am
- Forum: PHP - Code
- Topic: Help with IF (Control Structure) in simple function...
- Replies: 9
- Views: 2414
ur original code was just fine. only that u used single = instead of ==. single = is meant for assigning a value so in effect ur code was doing right thing. just changing = to == will do what u wanted it to do in first place While this is true... the code was also putting an extra load on the serve...
- Fri Dec 31, 2004 6:20 pm
- Forum: PHP - Code
- Topic: Help with IF (Control Structure) in simple function...
- Replies: 9
- Views: 2414
- Sun Dec 26, 2004 2:18 pm
- Forum: General Discussion
- Topic: Object-oriented PHP Shopping Cart?
- Replies: 9
- Views: 2754
- Sat Dec 25, 2004 7:01 am
- Forum: PHP - Code
- Topic: [solved] curl question
- Replies: 2
- Views: 857
- Sat Dec 25, 2004 4:59 am
- Forum: PHP - Code
- Topic: [solved] curl question
- Replies: 2
- Views: 857
[solved] curl question
Hi all seasons greets... i have a question on cURL... The following code does everything its supposed to do ... upload an image file from my local machine to the web server. however when i look at the image on the server it does not show... although the filesizes are the same on both my local machin...
- Wed Dec 08, 2004 11:24 am
- Forum: General Discussion
- Topic: [disscussion] PHP free Book
- Replies: 9
- Views: 2010
- Tue Dec 07, 2004 3:39 pm
- Forum: Databases
- Topic: Easy (probably) MySQL question.
- Replies: 10
- Views: 1569
- Tue Dec 07, 2004 3:24 pm
- Forum: Databases
- Topic: Easy (probably) MySQL question.
- Replies: 10
- Views: 1569
- Tue Dec 07, 2004 3:17 pm
- Forum: Databases
- Topic: Easy (probably) MySQL question.
- Replies: 10
- Views: 1569
Code: Select all
"SELECT column1, column2, colum3 FROM table- Tue Dec 07, 2004 2:58 pm
- Forum: PHP - Code
- Topic: [SOLVED]Almost got it.. pagination (please advice)
- Replies: 3
- Views: 746
I answered a similar post here
viewtopic.php?p=146856#146856
The final script works.. just modify the sql queries and db login info and the output...
viewtopic.php?p=146856#146856
The final script works.. just modify the sql queries and db login info and the output...
- Tue Dec 07, 2004 2:30 pm
- Forum: PHP - Code
- Topic: [SOLVED] simple problem (easy fix for someone good)
- Replies: 3
- Views: 811
Code: Select all
<html>
<?php
$color = ($_REQUESTї'color']) ? '#'.$_REQUESTї'color'] : #FFF;
echo '<body style="background: '.$color.';">';
?>
</body>
</html>