Jump to content

Scott123

Members
  • Posts

    23
  • Joined

  • Last visited

Everything posted by Scott123

  1. stymie: http://www.sitepoint.com/article/build-a-phpbb-forumhope it's usefull.real_illusions: like 24 lemans cause after 3/4 ofa centur...
  2. xampp looks ssssswwweeeeetttttt.took me days to bring some of this together.Smiles since you need a server on youre computer use either IIS or Apache. If want to play or use with databases Apache it.This xampp uses the lasted releases(looks like). That is hard to make compatable. would have choose that route had I known.have fun.
  3. Scott123

    Select query

    googled this up with youre query.SELECT COUNT(*) FROM(SELECT * FROM (select name,count(date) from emp group by date having count(date)>3) AS MYTBL);http://forums.mysql.com/read.php?10,135619,135622
  4. No I'm afraid that code does not work either. Seems like I'm notready to find the right question to explore. I hope an uprade to vistaor Zends study guide will solve this. thankyou very much for the replies.
  5. Thankyou justsomeguy and george for the reply.At the top of my post I have an example that uses a cookie to count.It does count, but the sessions do not?I even changed php and apache to a folder to check(details in first post).And session cookies are created, but maybe not recalled.????????????????????????????????????????????????????????????????????
  6. <?phpsession_start();if(isset($_SESSION['views']))$_SESSION['views']= $_SESSION['views']+1;else$_SESSION['views']=1;echo "Views =". $_SESSION['views'];?>Didn't comment out "$_SESSION['views']=1;" on example. oops!This does not count.None of the session examples I find maintain a count. w3chools, Zend ect...Unless I'm really lost. The session_id() below should maintain state and not change on refresh?<?phpsession_start();print "My session ID is: " . session_id();?>
  7. padding: 0.5 em;and padding: 5.0 em;
  8. This fails also. output of 2 only:<?php session_start(); $_SESSION['views']=1; if(isset($_SESSION['views'])) $_SESSION['views']= $_SESSION['views']+1; else $_SESSION['views']=1; echo "Views =". $_SESSION['views'];?>its w3schools example.
  9. This should help:http://www.gidforums.com/t-809.htmlGoodluck!
  10. hope this helps:http://www.w3schools.com/js/js_animation.asphttp://www.w3schools.com/js/js_timing.aspgoddluck!
  11. Scott123

    Select query

    This is exactly what you need:http://dev.mysql.com/doc/refman/5.0/en/counting-rows.htmlI hope, goodluck!
  12. Thankyou reportingsjr' and no I couldn't resist
  13. will there be a PHP certification some day?If not is Zend the only way to go?Would Zends certification be similar to W3schools certification for difficulty?Thankyou W3schools for the for ASP and HTML certifications!W3schools XML certification after I do PHP.Thankyou.
  14. Scott123

    footer problem

    <html><head><style type="text/css">p.footer{position:absolute; bottom: 0;}</style></head><body><p>content, content, content, content, content, content, content, content, content, content, content, content.</p><p class="footer">absoute bottom </p></body></html>Hope this helps.
  15. Instead of: height : 100%;try: height : 100px; or whatever size you need.Equal on all divs: top : 200px; or whatever size you need.Not : top : 200px; and top : 208px;Hope I understood you, goodluck!
  16. On the input page: strtolower($_REQUEST('SUBMIT');Or I seen this in google groups.by Stewart Gordon:onsubmit="document.formName.fieldName.value =document.formName.fieldName.value.toLowerCase();"in the form tag or onblur=<same> in the input tag.goodluck!
  17. echo "<pre> youre code. </pre>";All " must be changed to ' within <pre> tags.<?phpif (date(d/m/Y)<26/01/2007){echo "<pre><tr> <td valign='top' width='59'> <h6>25 Jan 2007</h6> </td> <td valign='top' width='110'> <h6>12.30</h6> </td> <td valign='top' width='241'> <h6>Lecture Meeting - <a class='diary' href='20070125.htm'>FSA Update</a><br> Presented by : Branko Bjelobaba FCII (Branko Ltd)<br> <a class='diary' href='http://www'> Branko's biography</a> </h6> </td> <td valign='top' width='264'> <h6>Venue : <a class='diary' href='http://www'> Holiday Inn West, Peterborough</a><br> Please ring Kevin Collins (01733 981522) or Mandy Johnson <a class='diary' href='mailto:kevin'> email</a> your request to us. </h6> </td> <td valign='top' width='102'> <h6><font color='#FFFFFF'>BUFFET INCLUDED<br> </font><font color='#FFFFFF'><br> </font> </h6> </td></tr></pre>";}?>I tested youre sample. It does should fly.
  18. After refresh, cookies save state. sessions dont save state ?Zends sample counts to 1 only even after multiple refreshes. // initialize a sessionsession_start();// increment a session counter$_SESSION['counter']++;// print valueecho "You have viewed this page " . $_SESSION['counter'] . " times";This is refreshed 3 times and works: This page comes with cookies: Enjoy! count = 3. start = 1168731016. This session has lasted 233 seconds.This is refreshed 3 times and doesnt work: This page points at a session (4bklslk5o301dm3p2tp5p5du44) count = 0. start = 1168731076. This session has lasted 0 seconds. It didn't work before I made these changes for testing. php.ini:session.save_path = "D:/webserver/www/tmp"http.conf:php_value session.save_path "D:/webserver/www/tmp"This does save session in: D:/webserver/www/tmp/sess_g9jv5i0tgelotsrm84k5tjovv4 = count|i:0;start|i:1168731680;more: php5, apache2, XP, session.cookie_domain = localhost.also, where is "session.cookie_path = /" putting my cookies?
  19. Thank you for all the knowledge you made accessible. After reading and rereading your forum a lotof questions were answered, awesome! Is there any way that us rookies can support w3schools?Possibly a thread or something posting future developments, layouts upgrades etc...In the form of a development path. Newbies can collaborate, validate and submit work for real worldexperience. I don't know who would be a good supervisor for your exams and many other newbie issues.But I do know confidence from experience and feedback will solve all these issues. http://scott123.sasktelwebsite.net/myweb/index.html
×
×
  • Create New...