Jump to content

last_trace

Members
  • Posts

    12
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

last_trace's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I was just wondering what fonts you guys use for programming. I'm looking at a few websites offering free programming fonts, but was wondering if anyone here had anything to recommend. Thanks
  2. I downloaded the latest version of drupal and noticed that it was a bit to large of a community that was working with this project. I want something that is more of a smaller based community project, not on the size/complexity of the project, but the amount of people working with it. Something that only consists of 7-10 programmers would be great.
  3. Okay, So I have been on sourceforge.net for the past 2 hours finding a project also joining a good 30 php channels on irc, and I still have yet to find an opensource cms project. If anyone could help me find one that is actually active and has people working on it please reply.. Thank you so much.
  4. Actually i didn't want a pagination i want ex": result 1 | result 2 | result 3 | result 4 | result 5(<br />) result 6 | result 7 | result 8 | result 9 | result 10(<br />)
  5. I want to display values from my database, I can call and display the information but.. I need to display 5 values per row and then have it start a new line, etc. Foreach/For loop maybe? Not to comfortable with them.
  6. I'm on my dev server right now but.. I keep getting an error "DB Error: syntax error" [code]<?php $sql = "INSERT INTO `links` (`email`, `website`, `website_name`, `button`, `accepted`) VALUES('$email','$website','$website_name','$button','0')";         $result = $db->query($sql);             if (DB::isError($result))             {                 die ($result->getMessage());             }             else             {             echo 'You have successfully applied and I will review your submission.';             } ?>[/code] any ideas?
  7. I'm wondering how to install packages while being on my shared host. My dev server already included DB but I now need it on my shared.. I did web install, and my pear installation is hidden frmo the public, theres the folder PEAR, then folders like data,docs,os,PEAR, etc. Do i just download the package from pear.php.net and put the folder there?
  8. Yes, It's using the same database, and I'm using the same exact call every time. I figured by including it on index.php (the main page which shows up when you access the website) it would work throughout all of the pages called from that page. [code] $db = new MySql_conn; $db->connect('localhost', 'username', 'password', 'database'); [/code] is what I'm calling every time.
  9. What do you mean by naming my connection resource?
  10. Okay, My website(dev area only, not viewable by public) works fine right now except I'm not sure that it is done correctly. I'm using Smarty as my main template engine. My site map is: htdocs -------------------------- --index.php --.htaccess --/cache (smarty folder) --/configs (smarty folder) --/inc -------   --main.php (settings, configuration, etc.)   --mysql.class.php (mysql class, does NOT call/start the class)   --funcs.php (misc functions on the site.)   --navigation.php (for my mod_rewrite/navigation,etc) ------- --/libs (smarty folder) --/templates (smarty folder) (holds index.tpl, register.tpl, etc, just the template designs) -------   --/code (this is a folder that I created that holds the code for register,etc, pages that need php code.) ------- --/templates_c (smarty folder) My index.php calls my mysql class and all of the files in "/templates/code/" folder call it also. I don't understand why I have to call this every time. Here's a map below (key: -> means display) index.php -> index.tpl -> code/index.php Why do I have to call the mysql connection both in index.php and index.php in the code folder? Any Ideas?
  11. Wow, that was wicked fast and it worked. Thank you so much.
  12. I am wondering how to do this with my ads. Look below.. Website Link Website Link Website Link ADVERTISEMENT Website Link Website Link Website Link I want to be able to display 3 results, then show 1 ad, then show 3 more. So for every 3 results, it returns a ad, then 3 more if there are more. I wasn't sure if I could do this with foreach some how or not.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.