841 Posted Topics
Re: yes , try PoA way like: [code=php] $seq="select count(*) as cnt fromdata_table WHERE page='$page'"; $sres=mysql_query($seq); $srow=mysql_fetch_assoc($sres); if($srow['cnt']>7) { //do something} else if($srow['cnt']<=7) { //do another thing } [/code] | |
Hello.. I want to counts clicks for a flash script.. For image it is easy to do..but for flash i don't know how??? Can anybody know about this...please help me... Shanti | |
Re: you want two drop down lists, one based another... if so, go through [URL="http://www.daniweb.com/forums/post642679-10.html"]this thread's[/URL] attached ones... | |
Re: For this you have to contact your hosting company... see [URL="http://w3schools.com/hosting/host_domains.asp"]this[/URL] for more details... | |
Re: you just try to write code for adding products by using mysql insert query and implement the other things you want in your application... then post us if any errors... | |
Re: [url]http://dynamicdrive.com/[/url] you can get a lot of scripts here.... | |
Re: [url]http://blogs.zdnet.com/web2explorer/?p=5[/url] [url]http://www.jisc.ac.uk/media/documents/techwatch/tsw0701b.pdf[/url] [url]http://www.paulgraham.com/web20.html[/url] [url]http://www.xul.fr/web-2.0.html[/url] [url]http://www.vishwak.com/technologies/overview[/url] [url]http://www.semaphore-software.com/software-solution/web2.0-development.htm[/url] [url]http://www.thehindubusinessline.com/2007/12/28/stories/2007122852320400.htm[/url] | |
Re: By HTML and CSS you can design a good web site ... i think these are essential an enough... but for your logos and some buttons ,you have to know the photoshop...And need flash to show aour site little bit better...but it takes time to load... | |
Re: use this line instead of return true in your js code: [code] theform.action="anotherpage.php"; [/code] | |
Re: yes, in POST variable are stored in a array called $_POST...so we can retrieve them with key like $_POST['lang']; or $_POST['name']; or some thing...No matter of order... or As adilkhan said,try to print print_r($_POST);... | |
Re: [QUOTE=forwardlookguy;712853]For instance, a user selects American Bantam and the years 1936, 1937... 1940, 1941 are listed. [/QUOTE] If user selects name, then based on that id you can get two dates from your database table, then make a dropdown list by incrementing the first date, put if condition greater than … | |
Re: why not you create session for this... then you can check whether session is there or not...if ,you can print username and logout ..if session is not there the display normal login box... if your requirement is something else than my post,,let me know... | |
Re: try this: [code] echo "<meta http-equiv=\"refresh\" content=\"0;URL=myprofile.php\">"; [/code] | |
Re: pass the auto increment id to the delete command..which is unique in your table... or post table structure ... and here what are those parentid and postid... i think postid is your unique id...??? | |
Re: Events Blogs News Forums shopping ad management creating greeting cards online shopping at installments wise hospital management school management service management mobile comparison online communities etc..... | |
Re: Form where $result_row comes from??? i thinks its $rowsql... i hope so....check it... | |
Re: Adding to David_ ... i added some more points here... this link will give more points on this... [url]http://www.chromaticsites.com/web-design-blog/2008-04-03/13-reasons-why-css-is-superior-to-tables-in-website-design/[/url] | |
Re: Doing shopping cart with sessions is best way to load our site fastly than storing them into a database table..But its must to store ordered data finally in database table for future reference of orders ,order user details and status of order... In my way, i hope the best method … | |
Re: A programmer , who is coding the particular job ,which already designed. A developer developes the whole thing from analysing, then designing,code it and then test the same. | |
Re: i tried your code ... i didn't get that error...its work fine... check again.. | |
Re: hello try this: [code] $sql = "select * from characters where letters like '%a%'"; $query = mysql_query($sql); $count=mysql_num_rows($query); echo $count; [/code] | |
Re: hello check this attachment below.. go through your database.... | |
Re: hello mrcniceguy .. i have checked your code... i think you just end your if condition brace at that line only... means like..[code] if(isset($_GET['userid'])) { $userid=$_GET['userid']; } [/code]other wise it will take that userid again and it will fetch and it will display first image... try this way..you will definatly … | |
Re: use this code: [code] <a href="javascript:;" onClick="window.open('yourpage.php?id=<?=$row['reportid'];?>','no','scrollbars=yes,width=600,height=550')" >View</a> [/code] | |
Re: you just install joomla from joomla.org and read tutorials which are available at internet... | |
Re: check this: [url]http://developer.yahoo.com/php/howto-reqRestPhp.html[/url] | |
Re: or check for main fields of that post form...then i can be prevented... for example... [code=php] $seq="select count(*) as cnt from tablename where username='".$_POST['username']."'"; sres=mysql_query($seq); $srow=mysql_fetch_assoc($sres); if($srow['cnt']>0) { $errmsg="User with this Username already existed."; } else { //do your insert operations.. } [/code] and for empty fields doing client side … | |
Re: see this code...it will print only clicked checkboxes.. [code] foreach($_POST['checkbox'] as $key=>$val){ echo "key: ". $key. " value: ". $val ."<br />\n"; echo $_POST['checkbox'][0]; [/code] and this is for storing in sessions: [code=php] session_start(); if($_SERVER['REQUEST_METHOD']=='POST') { foreach($_POST['checkbox'] as $key=>$val){ echo "key: ". $key. " value: ". $val ."<br />\n"; session_register(); … | |
Re: Hello.. Provide them with attractive articles or any interesting techniques and what they expect from your site with newsletters and subscritptions... Can u please tel me what your site about? Shanti.. | |
Re: check this link: [url]http://www.daniweb.com/forums/thread148313.html[/url] | |
HELLO all... Good Afternoon!!!! Currently i am developing a website...In that website i want to ad management ,where we can add and manage different ads with different prices, in different place on our website with time and etc... Any body have any scripts or any ideas to develop this kind... … | |
Re: hello try this: [code=php] <? if($_SERVER['REQUEST_METHOD']=='POST') { $qry1="SELECT * FROM yourtablename WHERE correct_answer='".$_POST['ans']."'"; $res1=mysql_query($qry1) or die(mysql_error()); $num1=mysql_num_rows($res1); if($num1==1) { echo "correct answer"; } else { echo "wrong answer!!"; } } ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> … | |
Re: try this: [code] $t=mysql_query("select * from headlines"); $result=mysql_fetch_array($t); $r=mysql_query("select c as count(*) from comments where hidofctbl='".$result['hid']."'"); [/code] | |
Re: you can use this code when you have used sessions in your login page... use this code at your logout page: [code] session_unregister('username'); session_destroy(); [/code] | |
Re: check this url: [url]http://www.shrinktheweb.com/[/url] [url]http://www.ibdhost.com/help/optimize/thumb.php[/url] | |
Re: Benefits of Online Communities Consider the benefits of an online community for your organization. Brand Loyalty By connecting members to a community, they are more likely to return on a regular basis. These repeat visits help develop a strong customer base, increase sales, and thus strengthen your organization. Unified Resources … | |
Re: try this way... [code=php] $r=mysql_query("SELECT assignment.Candidate, assignment.Chaplain, assignment.Reader, assignment.Id, tbl_user.Id, tbl_user.name_pre, tbl_user.name_first, tbl_user.name_last FROM assignment, tbl_user WHERE assignment.Id=tbl_user.Id ORDER BY assignment.Candidate ASC"); $result=mysql_fetch_array($r); echo $result['name_pre'].$result['first'].$result['last']; [/code] | |
Re: hello.. that is CAPTCHA ..means creating dynamic number on an image... It is used to prevent spam abuse on the websites For more information: [url]http://www.webcheatsheet.com/PHP/create_captcha_protection.php[/url] | |
Re: hello... see [URL="http://www.nabble.com/Creating-Tree-Structure-from-associative-array-td6897320.html#a6910581"]this[/URL] will helps you... and also [URL="http://www.tonymarston.net/php-mysql/tree-structure.html"]this[/URL],[URL="http://dev.mysql.com/tech-resources/articles/hierarchical-data.html"]this[/URL] | |
Re: you mean dynamic text box generation... or what do you mean by fields here? | |
Re: hello see this code: it will print 200 as 200.00 [code=javascript] <script language="javascript"> function CurrencyFormatted(amount) { var i = parseFloat(amount); if(isNaN(i)) { i = 0.00; } var minus = ''; if(i < 0) { minus = '-'; } i = Math.abs(i); i = parseInt((i + .005) * 100); i = … | |
hello all.. Tel me how to create a site with different languages, if user select particular language, then all the content will be displayed in that language... How to do it??? or Any predefined free software available on the internet... Any resources or information would be appreciated.... Thanks.. Shanti. | |
Re: you can see different types of clocks [URL="http://www.dynamicdrive.com/dynamicindex6/index.html"]here[/URL].. | |
Re: hello.. i like your way of asking only logic not code...i really appreciate it... See, if you have so many questions in your site...the you have to create database table for all of those.. if you have a question like: How much do you like this article... 1.Excellent 2.Good 3.Average … |
The End.