Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by Spitsbe

  1. Nevermind, I figured it out, Thanks anyway. Glenn
  2. Hi JIm, I was reading through this and thought I'd give this birthday db a try. But I can't seem to figure out how to get the "create data base utility" to work. I tried everything I can think of. I can get the creat table utility to work via the internet, at least the forms come up to enter the data. The tutorial says that I must use the "creat data base utilty" through the cpanel. But hence, I am confused. how is this suppose to be done. I am probably missing something silly Is there a simple answer to this problem or should I contact the author of this tutorial. Thanks again, and sorry for butting in on your forum Tracy. Glenn
  3. Thanks Bill, I will check it out. Glenn
  4. Hi KW, Basically for now, I just want to give visitors access to see the data. However, I hope to put up a DB in the future so that my visitors can search and sort the data as they need it. I am a long way from this though. But I'm working on it. Glenn
  5. Thanks KW. I think I found a way to do it that works pretty good. I copy my excel files to Paint Pro and save a psp, and then import the to cute as an object. I cut my file size down from 5 meg to 500k. This process takes about as much time to convert the Excel files to HTMl. Anyway. This seems to work for now. This obviuosly doesn't do much for the auto updating, but atleast I can test my web alot faster. THanks again Glenn
  6. THanks Lianna, I'll give it a try, Glenn
  7. HI all, There's probably not much that can be done about this, but I thought I would ask anyway. I would like to display some excell spread sheets on my Web. ( I am using CUTE) I convert the Excell file to HTML No problem here. Now I have two options, I can ether do file download link or just copy the html file onto a new page. Hence here is the problem, If I use the file download method, the format of the spread sheet becomes a mess. If I copy the html file to a new page, for the most part it looks pretty clean, however, the save and preview times become quite long. I would lke to use the file download link method because it is much faster for saving and testing my Web. One more question, When I copy my revised HTML files to public_html, the files which I generated using the file download link method does not update automatically on my web, thus I need to recreate the link each time. Is this correct? Any suggestions? THanks, Glenn
  8. Amazing, I got it to work. The biggest help was taking the error supression off. In addition I found a couple of typos. And the what do you know. Thanks for your help. Now it's on to other battles. I hope I didn't waste too much of anyones time. I can't believe I have been messing with this for 2 days. lol Spitsbe
  9. This is where I am now. I found the line 37 error. I working on the line 32 error now. lol Parse error: parse error, unexpected ';' in /home/spitsyc/public_html/HTMLobj-240/30.php on line 32 <html> <head> <title>Over 30 league</title> </head> <body> <?php $dbcnx = mysql_connect('localhost', 'spitsyc', 'passwrd'); if (!$dbcnx) { die( '<p>Unable to connect to the '. 'database at this time.</p>' ); } if (! @mysql_select_db('spitsyc_Over') ) { die( '<p>Unable to locate the data tb.</p>' ); } ?> <p> teams: </p> <blockquote> <?php $result = mysql_query('SELECT * FROM `Teams` WHERE 1'); if (!$result) { die('<p>Error performing query: ' . mysql_error() . '</p>'); } While ( $row = mysql_fetch_array($result) ) { echo('<p>' . $row['Teamsx'] . '</p>'; <---line 32 ?> </blockquote> </body> </html> Thanks for jumping in. I can taste victory on this.
  10. Well, I think I got it talking to the DB now. I am pretty sure that it sees my sql too. Now I just need to get it to display it on my Web page. I took out the @ error suppresion operators so I could see the errors that were coming up. Thus, I have cleared the errors. Now I am getting a Parse error: parse error, unexpected $ in /home/spitsyc/public_html/HTMLobj-232/30.php on line 37 Step by step. it wont be long now. Spitsbe
  11. I too am having problems getting my data bases on my web. I fear that it is something simple like a file in the wrong place or something. I have made a php file, "30.php" and used the file download link (via cute) to link it to my Site. I also am not connecting to the db. Here is the code that I am attempting to use. If any one once to take a stab at it. I sure could use some help. I been at this for a couple of days. <html> <head> <title>Over 30 league</title> </head> <body> <?php $dbcnx = @mysql_connect('localhost', 'public_html', 'passswd'); if (!$dbcnx) { die( '<p>Unable to connect to the '. 'database at this time.</p>' ); } if (! @mysql_select_db('spitsyc_Over') ) { die( '<p>Unable to locate the data tb.</p>' ); } ?> <p> teams: </p> <blockquote> <?php $result = @mysql_query('SELECT TeamText FROM Over 30 teams'); if (!$result) { die('</p> Error performin query: ' . mysql_error() . '</p>'); } //While ( $row = mysql_fetch_array($result) ) { // echo('<p>' . $row['TeamText'] . '</p>; ?> I took out the last part to try and simplify. Thanks in advance, Spitsbe
  12. Spitsbe


    THanks to all for your help. Spitsbe.
  13. Spitsbe


    Thanks Istover, I set the refresh every visit option and the delay seems to have gone away. Spitsbe. Issues are being resolved 1 at a time. lol this is good.
  14. Spitsbe


    Hi All, When I update my files in the cpanel it seems to take a while before the changes are updated. For ex. if I edit a file in my public_html and save it, or change the name of the file, cpanel doesn't seem to find the revised file for a while. It finds them eventually. Same thing for deleting files. I am also new to all this mysql and php stuff, but I am trying to learn it. (very fustrating, lol). However, my fustration are compounded by the delayed updates. This dealy also seems to accure when I upload ftp files too. Am I doing something wrong, is there a faster to way to test my php files and such. IT takes for ever and is very slow going. On another note, perhaps someone can give me a little help. I am trying to write some simple code to view some tables on my web page that I created in mysql. I have been using the Kevin Yank book,(which is very good by the way), but I don't think I am getting the whole picture. Is there any script that has already been writtin that would help me with this. This seems like that this would be generic code. Perhaps this would be a good starting point. Thanks much, Spitsbe.
  15. Thanks for the help. I'll check it out.
  16. Hi all, I can load the counter from the cpanel with no problem into my web site. However, I would like to select or import other counter displays or counter objects to use in my web. Is this possible? The cpanel appears to offer only 1 counter type display. Thanks, Spitsbe
  • Create New...