A while ago I explained how you could tag articles (see [this thread](http://www.daniweb.com/web-development/php/threads/387961/php-code-to-show-related-posts-on-a-blog)). Now you get a full working example. This code and the SQL script is also available on GitHub. The attached MySQL dump needs to be imported into your database, and you must update the credentials in the code below. I think the code is short enough to be read without comments. If this is not the case, feel free to ask questions.

Member Avatar
Member Avatar
+2 forum 1

Here i have this code which read from a text file and fills the 2d array.Then calculates the sum of each column.I want all those column names whose sum is greater than 5 to be written in output file. /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package javaapplication30; import java.io.BufferedReader; import java.io.FileReader; import java.io.IOException; /** * * @author anku saxsena */ public class JavaApplication30 { /** * @param args the command line arguments */ public static void main(String[] args) { BufferedReader br = null; String[] line=new String[55]; int …

Member Avatar
Member Avatar
+0 forum 1

http://www.srisanthi.9xitsolutions.com/SBPoints/Home.aspx as per above link 1. I want to upload plotting map... 2. then i have to assign plotno to it dynamically... 3. when user take his cursor to the particular plot i have to show the description of it which i saved in db 4. those plot get book they should be look in green colour please can anyone tell me how to implement 2,3 & 4th step.. i am doing this usin asp.net C#

Member Avatar
+0 forum 0

Hi all, I've been searching for hours for an answer to this. I can never get help from the google forums, so thought I'd try here. I wasn't sure whether I should post in pay-per-click or web design, but I figure PPC people have experience with this kind of thing. I'm trying to get google website optimizer (gwo) cross-domain tracking working with the asynchronous code described here: [url]http://www.google.com/support/websiteoptimizer/bin/answer.py?hl=en&answer=151978[/url] My outbound link looks like this: [CODE]<a href="http://secure.ultracart.com" onclick="_gaq.push(['_link', 'http://secure.ultracart.com']); return false;">link</a>[/CODE] But when I click on that outbound link, it doesn't go to the other website. It works if I remove …

Member Avatar
Member Avatar
+0 forum 5

[CODE]class StudentMarks { public: int Marks; StudentMarks(); StudentMarks(int iMarks); char grade(); }; #include"grade.h" #include<iostream> using namespace std; StudentMarks::StudentMarks(int) { int iMarks=0; } /*StudentMark::StudentMark(int iStudentNewmark) { iStudentmark=iStudentNewmark;*/ char StudentMarks::getgrade() { if(iMarks>=80 && iMarks<=100) { return 'A'; } else if(iMarks>=75 && iMarks<80) { return 'A-'; } else if(iMarks>=70 && iMarks<75) { return 'B+'; } else if(iMarks>=65 && iMarks<70) { return 'B'; } else if(iMarks>=60 && iMarks<65) { return 'B-'; } else if(iMarks>=55 && iMarks<60) { return 'C+'; } else if(iMarks>=50 && iMarks<55) { return 'C'; } else if(iMarks>=45 && iMarks<50) { return 'c-'; } else if(iMarks>=40 && iMarks<45) { return 'D'; } …

Member Avatar
Member Avatar
+0 forum 1

Hello, I'm making a tagging system for a script. The tagging system is much like the one here. be it's not normalized like this one. It's a single table in my database with three columns. uid | id | name The 'id' field is not auto increment. It is a field which holds the corresponding tables unique id. Everything works well. I explode before it hits the database, I get the unique id with mysql_insert_id. No users and just one admin so this won't be any issue. My question is.. How do I make it so one can click the …

Member Avatar
Member Avatar
+0 forum 4

HI! I am working with an image tagger system.. Im done reading the file's properties.. then when i go to code for keywords.. an error exist saying that Retrieving the COM class factory for component with CLSID {58968145-CF05-4341-995F-2EE093F6ABA3} failed due to the following error: 80040154. I Already added the DSO file.dll and the class library Imports System.IO an error exist in the BOld text below. [CODE]Dim oSummProps As DSOFile.SummaryProperties Dim strTmp As String = String.Empty Dim oDocument As New DSOFile.OleDocumentPropertiesClass() oDocument.Open("c:\BSabellaRabano10151929.jpg", False, DSOFile.dsoFileOpenOptions.dsoOptionUseMBCStringsForNewSets) oDocument.SummaryProperties.Title = txtTitle.Text oDocument.SummaryProperties.Comments = txtComments.Text() oDocument.SummaryProperties.Keywords = txtKeywords.Text oDocument.SummaryProperties.Subject = txtSubject.Text oDocument.Save()[/CODE]

Member Avatar
+0 forum 0

HI! I am working with an image tagger system.. Im done reading the file's properties.. then when i go to code for keywords.. an error exist saying that Retrieving the COM class factory for component with CLSID {58968145-CF05-4341-995F-2EE093F6ABA3} failed due to the following error: 80040154. I Already added the DSO file.dll and the class library Imports System.IO an error exist in the BOld text below. [CODE]Dim oSummProps As DSOFile.SummaryProperties Dim strTmp As String = String.Empty [B]Dim oDocument As New DSOFile.OleDocumentPropertiesClass()[/B] oDocument.Open("c:\BSabellaRabano10151929.jpg", False, DSOFile.dsoFileOpenOptions.dsoOptionUseMBCStringsForNewSets) oDocument.SummaryProperties.Title = txtTitle.Text oDocument.SummaryProperties.Comments = txtComments.Text() oDocument.SummaryProperties.Keywords = txtKeywords.Text oDocument.SummaryProperties.Subject = txtSubject.Text oDocument.Save()[/CODE] Help me with this …

Member Avatar
Member Avatar
+0 forum 2

Hi! I am planning to create a system for my case study wherein i can Add tags from images and search for it by [B]"tags"[/B] such as [B]photobucket. [/B] For example i open an image to my system, and it's file name was [B]"WhiteHouse.jpg"[/B] and i added or[B] tagged[/B] it as [B]"Building"[/B]. Once i [B]search[/B] on my computer, and type the word/keyword "Building", the image "WhiteHouse.jpg" will be displayed on search results as i tagged it on my system. Is that possible guys? or i can only search by [B]tags[/B] using my system/application? and [B]not[/B] in the[B] search [/B]command in …

Member Avatar
Member Avatar
+0 forum 2

I think a really cool idea with the code snippets would be if we could start tagging them by functionality. For example, tagging them as "algorithms" or "graphics" or "games", etc. This way, the vBulletin advanced search feature can be used in the future to find all PHP graphic code snippets, or all game related code snippets regardless of language. It gives us an additional way of sorting the snippets other than just grouping them by language.

Member Avatar
Member Avatar
+0 forum 3

Hi Though I am a frequent poster, I just noticed the tag option on this site. So I wonder, what effect does tagging do with the posts here versus the posts that are not tagged?

Member Avatar
Member Avatar
+0 forum 1

The End.