PHP - Moved: Joomla 1.6 Search Finish Publishing Date
This topic has been moved to PHP Applications.
http://www.phpfreaks.com/forums/index.php?topic=346951.0 Similar TutorialsHi Friends..... I want to implement search indexing (like joomla) in my website. Earlier I develop search from database by "select" statement. But for whole website, I don't have any idea to do it............ Plzzzzzzz Help ??????/// I'll highly oblized to you............. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=306933.0 This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=314053.0 This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=328109.0 I have a page where the user can search with dropdowns. Two of these are lists for year and month. Month list is from 0-12, where 0 is all months, 01 is for january, 02 for february, and so on... The year list have 0, 2011 and 2012 (so far, will expand as times go) where 0 is all years... When I have made my query I have had Code: [Select] if($month == ''){$month = "";} if($month == '0'){$month = " AND mytable.datum >= '2011-01-01' AND mytable.datum < '2012-01-01'";} if($month == '1'){$month = " AND mytable.datum >= '2011-01-01' AND mytable.datum < '2011-02-01'";} ... ... and Code: [Select] if($year == '0'){$year = " AND mytable.datum >= '1970-01-01' AND mytable.datum < '2050-01-01'";} if($year == '2010'){$year = " AND mytable.datum >= '2010-01-01' AND mytable.datum < '2011-01-01'";} ... ... manually coding... Now I want it to be more dynamic:) But I am stuck Anybody have any ideas on how to make my query more dunamic?? Thanx in advance Hi, I'm currently coding a script, where I would like to post news & versions changes etc into my client's portal. So my client install the script, they login to the admin area, and they see messages from me, optionally if there's a new version available. I was thinking about doing this with cUrl, and just have a page that display my news, and then call it from the client portal, not sure about it though. What would you guys suggest? i want a script which should be easily integrated with the website and should fully customizable like cutephp.. the problem with cutephp is that it can't handle large data since it stores all the news articles in one .txt file on the server.. as the number of articles grow.. the size of .txt file increases and it becomes impossible for the server to handle the script.. i want a script which should be easily integrated into the website and should have the following features. - article categories - admin panel to add news - should use mySQL to store articles or it should create .htm files for articles.. i hope you get the point.. by the way if i want to write my own script.. what is the easiest way to write a script which should have categories, show news on webpages, have admin password protected add news area.. should create seperate files on the server or use mysql..nothing complicated.. simple news posting script.. Code: [Select] <?php $var=$_POST["fname"]; $xmlDoc = new DOMDocument(); $xmlDoc->loadXML($var); $root = $xmlDoc->documentElement; $elms = $root->getElementsByTagName("*"); foreach ($elms as $item) { // gets the name and the value of each $item $tag = $item->nodeName; $value = $item->nodeValue; // outputs the $tag and $value echo $tag. ' = '. $value . ''; I want to use the code above to get all the xml files parent and child names and values and get them into the database. is this going to work? thanks in advance I am looking for a PHP developer to develop an application in which is almost completed. I can pay, but I expect HIGH quality work like my other PHP Developer. Here is a link to the project that needs to be finished: http://inzernettechn...es.com/StreamIT
Please contact me ASAP! Thanks
Skype: inzernettechnologies.admin
E-Mail: cody-admin@inzernettechnologies.com
Contact form: http://inzernettechn...ore/contact.php
This topic has been moved to PHP Regex. http://www.phpfreaks.com/forums/index.php?topic=353870.0 This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=309828.0 This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=358327.0 This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=322620.0 This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=330205.0 This topic has been moved to Ajax Help. http://www.phpfreaks.com/forums/index.php?topic=320161.0 This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=346179.0 This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=347958.0 This topic's house has been seized by the bank and it now lives in MySQL Help until it can get back on its feet. http://www.phpfreaks.com/forums/index.php?topic=358035.0 This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=351407.0 This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=342459.0 |