Jump to content

TCH-RobertM

Members
  • Posts

    1,230
  • Joined

  • Last visited

Everything posted by TCH-RobertM

  1. 1 under first try will have to try again .....some of those were tough lol
  2. Boga this sounds more like you have some adware on your system that is showing Keywords in your page as links not sure but thats what it sounds like when I viewed your page it apears fine as of 7:07 pm I am viewing it with Firefox I would double check your system.... and run adaware and spybot search and destroy progs if you need some help with this pop a message back
  3. Mecca This forum is a forum for Total choice hosting not sure if this is what you were looking for but If you are having problems with your HOST then I would suggest you do a few things.. First contact them and find out what is happening.... if they cant help you then I would certainly escalate it up there support chain. Secondly if this is a reaccuring problem or one that you dont want to see I would suggest switching hosts .... I STONGLY reccomend TCH TCH LINK not only because this is where I chose to host my site but MORE SO because the STAFF and People here are more than willing to jump through hoops to make the Customer Happy... just my 2 cents......
  4. WTG Bill Globalization of TCH I like it .....
  5. Hi Blue I did not get an answer from other board that helped much but I did finally figure it out > echo "connected successfully\n"; echo "<strong>Database Output</strong>\n<br />\n"; $query=mysql_query("select * from bluetest group by type"); while($row=mysql_fetch_assoc($query)) { $cat=$row['type']; if($cat!=$lastCat) { echo "<strong>" . $cat . "</strong>\n"; //output Catagory type $lastCat=$cat; //set lsat type to current type } //do the rest of outputing articles //second query to retrieve the actual URLs $query2 = "SELECT namel,url,descrip FROM bluetest WHERE type='$cat'"; $result2 = mysql_query($query2) or die(mysql_error()); while ($row2 = mysql_fetch_array($result2)) { echo "<dl><dt><a href='" . $row2["url"] . "' title='" . $row2["namel"] . "'>" . $row2["namel"] . "</a></dt>\n"; echo "<dd>" . $row2["descrip"] . "</dd></dl>\n\n"; } } echo "\n<br><br>\n"; you will need to tweek it a little bit but it does work here is my output ><strong>Database Output</strong> <br /> <strong>career</strong> <dl><dt><a href='http://www.salary.com/hom' title='Salary'>Salary</a></dt> <dd>providing employee compen</dd></dl> <dl><dt><a href='http://www.techies.com' title='Techies'>Techies</a></dt> <dd>job search; company resea</dd></dl> <strong>cars</strong> <dl><dt><a href='http://www.kbb.com/' title='KBB'>KBB</a></dt> <dd>Kelley Blue Book; search</dd></dl> <strong>code sources</strong> <dl><dt><a href='http://www.actionscript.o' title='Actionscript links'>Actionscript links</a></dt> <dd>forum entry with motherlo</dd></dl> <dl><dt><a href='http://www.blooberry.com/' title='Blooberry HTML'>Blooberry HTML</a></dt> <dd>None</dd></dl> If this does not work please feel free to message me Good luck Robert
  6. Blue I have tried a number of ways and have not come up with a solution I posted a question to a php mysql forum I am on and will post there replys as I get them... Sorry I could not help yet.
  7. I am creating a database now to test that sorry give me a few minutes to tweak the code LOL one thing though it did only print Career once
  8. Hi Blue , Ok I dont have a way to test this but I think this is basically what you are after What I did was add an additional while statement to check that if the type has changed try this and let me know if you get any errors *** Edit *** might need to move the inital holdtype above the code while ($i ><?php /* connection info taken out here*/ echo 'connected successfully' . "<br /><br />\n"; $query="SELECT * FROM linklist ORDER BY 2, 4;"; $result=mysql_query($query); $num=mysql_numrows($result); mysql_close($link); echo "<strong>Database Output</strong>\n<br />\n"; $i=0; while ($i < $num) { $type=mysql_result($result,$i,"type"); $name=mysql_result($result,$i,"name"); $url=mysql_result($result,$i,"url"); $desc=mysql_result($result,$i,"desc"); $holdtype=$type; echo "<strong>" . $type . "</strong>\n"; /* initialize First Type */ while ($holdtype = $type) { echo "<dl><dt><a href='" . $url . "' title='" . $name. "'>" . $name . "</a></dt>\n"; echo "<dd>" . $desc . "</dd></dl>\n\n"; $i++; } $holdtype = $type; echo "<strong>" . $type . "</strong>\n"; echo "<dl><dt><a href='" . $url . "' title='" . $name. "'>" . $name . "</a></dt>\n"; echo "<dd>" . $desc . "</dd></dl>\n\n"; $i++; } echo "\n<br><br>\n"; ?>
  9. Hi Blue Ok now that I have that information I have just a few questions for you the links that you posted //blog.zoblue.com/link-list.php hard coded code and then //zoblue.com/connect.php Actual PHP generated code the links displayed on your hardcoded page reflect the following markup EXAMPLE ><b>Daily Links: </b> <ul> <li><a href="http://www.hotmail.com" class="link" target="_blank">Hotmail email</a></li> <li><a href="http://mail.yahoo.com" class="link" target="_blank">Yahoo email</a></li> </ul> the new PHP generated creates markup as such ><strong>career</strong> <dl><dt><a href='http://www.cityofchicago.org/mowd' title='Chicago Office of Workforce Dev'>Chicago Office of Workforce Dev</a></dt> <dd>helps Chicagoans find and train for jobs; help businesses find workers</dd></dl> <strong>career</strong> <dl><dt><a href='http://chicagobusiness.com/' title='Crain's Chicago Business'>Crain's Chicago Business</a></dt> <dd>Chicago business news, lists, rankings, directory and more</dd></dl> The difference between them is in your hardcoded example you are using within an unordered list element and the php is generating a definition list and a definition description To change the php to print out the URLs in like you have on your hardcoded page you will need to change it to look like this >echo 'connected successfully' . "<br /><br />\n"; $query="SELECT * FROM linklist ORDER BY 2, 4;"; $result=mysql_query($query); $num=mysql_numrows($result); mysql_close($link); echo "<strong>Database Output</strong>\n<br />\n"; echo "<ul>\n"; $i=0; while ($i < $num) { $type=mysql_result($result,$i,"type"); $name=mysql_result($result,$i,"name"); $url=mysql_result($result,$i,"url"); $desc=mysql_result($result,$i,"desc"); echo "<strong>" . $type . "</strong>\n"; echo "<li><a href='" . $url . "' title='" . $name. "'>" . $name . "</a></li>\n"; $i++; } echo "</ul>\n"; ?> If this is not what you were looking for let me know take care Robert
  10. Hi Blue can you give me a Description of the database table what the column names are and the order they are in ?
  11. WTG BRUCE.... Congratulations
  12. I will have to take a look at that and see. I am also looking into the Zen cart seeing if it may be easier to customize thank you for that info PCGoliath
  13. Groovy Thank you so much for that information. I certainly can agree based upon some of the posts and answers I Read in the osc forums, that they seem to not be so NEWBIE friendly. As for my personal experience there I found them to answer my 1 question fairly quickly without really answering it. The poster did point me in the right direction though. I will have to take some time now and go check out the Zen-Cart Thank you again Robert
  14. Groovy, Thank you. Do you mind me asking why you switched over to Zen Cart ? I am just trying to get a working customizable shopping cart up as quick as possible. I chose OSC because of the people in here that use it as well as it seemed to be the most popular Free shopping cart out there. Thanks for any additional info Robert
  15. have you tried to ask this in the OsCommerce Forum pcgoliath ? I asked a question there earlier and found them to be very resourceful and pretty quick with helping me, here is the link http://forums.oscommerce.com/ I am still working through my initial setup issues ...sorry I cant be of more help right now
  16. Hey Groovy , Yes I did, but I think while you were looking was when I was playing around with the configure.php file ... I think I have it all sorted out now but if you see any issues still l sure would like to know. I am going to be tinkering with it until I sort it all out... Thank you all So much for your patience and HELP ... I LOVE TCH FORUMS and the people here...... It is so Nice to have folks willing to help. Robert
  17. I am having a problem with my oscom site. What it is I am not sure because everything appears to be loading finw when I view it with Firefox. However when I use Internet Explorer NONE of the images appear to be showing Does anyone have any idea why this may be occuring here is the link I am working on PAGE Thanks for any assistance Robert
  18. WOW, That is awesome guys, Congratulations to the both of you and I wish you both great success. TCH is already a better place for having the two of you here, as well as the other Staff members. Keep up the great work
  19. vw what exactly are you looking to do ? I am not sure I understand what you mean banner If you are trying to create a banner for your homepage or what ?
  20. I sure will, I just finished base install of Oscommerce I have never played with it before so I am learning as I go. I am setting up catagories now and will let you know as I progress once I get something to show you I will , Thanks
  21. pcgoliath I am trying to do something very similar to what you are trying to accomplish... I cannot help you yet but in a day or two I will be digging in to the code of Oscommerce to make it fit within the site I am building. If I find a quick solution I will message you then as well. Should you find a way to do it I would appreciate a post here if you dont mind. Good Luck Robert I am currently looking here for information http://www.oscommerce.info/
  22. hydrant
  23. Thank you, Youneverknow
  24. Motor
  25. I tried to get a gmail account months ago and never heard anymore about it are they passing them out yet ? or does anyone have one they want to give away I feel like Leonard Nimoy In Search ....the infamous GMAIL
×
×
  • Create New...