- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
47 Posted Topics
hi, i'm developing this small seo component, i want to know how it should be done. now i'm writing seo meta tags and other tags search engines looking into the page. i'm getting the content of the page and look for the previous set of say, keywords and replacing them … | |
hi, i've been trying to solve this but no luck. This is my code [CODE]$replace1 =str_replace('hreflang=\"'.$arr['variantslang1hid'].'\" lang=\"'.$arr['variantslang1hid'].'\"','hreflang=\"'.$arr['variantslang1'].'\" lang=\"'.$arr['variantslang1'].'\"',$replace1);[/CODE] it should replace but no. i'm not escaping "" properly. how can i solve this? help much appreciated! | |
hi, i'm trying to add a background color to a element which is positioned before the identified tag. for example, i know the class of one elment and i have a list like below. [CODE] <ul id="one"> <li><a href='#'>text0</a></li> <li><a href='#'>text1</a> <ul> <li><a href='#'>text2</a></li> <li><a href='#'>text3</a> <ul> <li class="item-1"><a href='#' … | |
hi, i'm develping a system which opens a jquery dialog onclick of a image. but i fuond out that when an body wrap is there (a div) an it has a style [ICODE]float:left[/ICODE]. dialog opens after the page.. how can i fix this without removing [ICODE]float:left[/ICODE]? help needed soon. thanks … | |
hi, i encoded a long string before i sent it to a url trough javascript. now when i display it using php $_GET[] all the text displays correctly except a "'" (single quotation) it displays as, %u2019 . i'm not sure if there are other encoding that $_get[] won't convert.. … | |
hi, i'm passing a content in a div tag to a url. url looks like [ICODE]index.php?content=texttext & text text[/ICODE] .. so on. when i'm trying to display this string, php only displays content up to & it stops at '&' how can i stop this? i need to change this … | |
hi, i have this jquery page that is included in an html file and in that file i have a function with .dialog() i want to open a normal pop up if this dialog doesn't work.. i was wondering how ca i do this... will try() catch() work on this..? … | |
hi, how to display a div on top off all the other content? i tried [ICODE]style=" position:relative; left:0px; top:0px; z-index:100;"[/ICODE] which didn't work, then when i used position:absolute; it worked but, it displays in a totaly in appropriate position because of position:absolute . how can i make this happen? when … | |
hi, i need to empty all the divs whic has an id like 'bkoption' eg : my html code is like this [CODE] <div class="subsubsubmenu" id="bkoption1">some content</div> <div class="subsubsubmenu" id="bkoption2">some content</div> <div class="subsubsubmenu" id="bkoption3">some content</div> [/CODE] so when i trigger an on click function i need to empty all of … | |
hi, how can i select only unique string out of a series of iterating strings? for example, i have this folder which contains number of files with quite long names. i have used readdir() to find all the files. assume that the name of the file has an format. eg: … | |
hi, my $.post code returns a whole page i want to get only content inside a id from that . this is my code it alerts null. what's wrong with it..? [CODE] $(document).ready(function(){ var url_select_file = "index.php"; $.post(url_select_file, { component: "tinymce_details", action: "selecticondata" }, function(data){ //alert(data); alert($(data).find('#ContentPane').html()); } ); [/CODE] | |
hi, i'm working on this new system which give the option for the user to choose which system method his/her system will work on, eg: file system or database system. when installing the system they can choose the option file or database, assume that user chosed db system, later on … ![]() | |
hi, when i insert date time into my database it insert server time not local time how can i change this? even i tried ; [CODE]$currntdate = date("F j, Y, g:i a");[/CODE] which didn't work either.. thanx in advance. | |
hi, i want to load data after loading related php page. i used ajax and even jquery. jquery was not sure this is jquery code [CODE]$.post('<?php bloginfo('template_url'); ?>/bk_page/schedule_check.php', "", function(data) { $("#fieldsetConfirm").html(data);}) [/CODE] but this and when i was using ajax it changes data, but unfortunately, the pay now button … | |
hi, this is relating to a wordpress site, i have this query [CODE]$qstring="SELECT * FROM rwb_bk_schedule s INNER JOIN rwb_bk_rooms r ON s.room_id = r.room_id WHERE s.room_status=1 AND r.room_name='".$room."' AND start_date BETWEEN '".$sdate."' AND '".$edate."' OR end_date BETWEEN '".$sdate."' AND '".$edate."'";[/CODE] as i given the code i use OR there … | |
hi , this is my code. i want to return data using a php page after processing a query within it. [CODE]$.post('check_booked.php', { room:roomv, srtdate:sdatev, eddate:sdatev}, function(data){ alert( data); });[/CODE] before completing php page i test using online code which returned nothing.. i don't know what wrong, as i have … | |
why isn't this working? [CODE] $('body').find(".overcolor").click(function(){ alert("hi"); }); [/CODE] ![]() | |
how to find elements which has text and a "-" using find() ? | |
i wrote this code but noting happens.. can't find the error. even firebug is empty :( please help soon! [CODE]$(document).ready(function(){ $.ajax({ type: "GET", url: "tinymce.xml", dataType: "xml", success: function(xml) { $(xml).find('userdata').each(function(){ $(this).find('dataset').each(function(){ var title = $(this).find('redo').text(); var id = $(this).find('redo').attr('id'); //var url = $(this).find('url').text(); alert(id); //$('<div class="items"></div>').html('<a>'+title+'</a>').appendTo('#system'); }); }); } … | |
suppose i have div which has a class called "suf-text", and there could be other class names like "suf-gang", "suf-hub" .. so on.. i want to trigger an onclick even on these divs. i actually don't know how to do it.. would following do? $('body').find() but does find() need an … | |
Hi, Recently I developed a website and i want to play my tv card inside my browser(on that website). How can i do this..? Sorry. I have no idea which forum to use.. thanx.. | |
Hi, I want to control devices using php. But don't have a clear idea how i'm going to do that. I googled and got to know about DIO functions. Eve by using them i don't have a clear idea how to do it practicably. If want to control my web … | |
hi.. i used this code to display a clock. [CODE]<script type="text/javascript"> var int=self.setInterval("clock()",1000); function clock() { var d=new Date(); var t=d.toLocaleTimeString(); document.getElementById("apDiv1").innerHTML=t; } </script>[/CODE] in firefox it displays like this 7:25:00 PM and in Chrome 19:25:39 i want to show a similar clock as in firefox in Chrome. How can … | |
hi, i need to subtract one date form the other and take the difference in minutes or seconds.. i'm getting the first date from the data base in 'Y-m-d H:i:s' format and second date is the current date (same format). and i want to know the difference between them in … | |
hi, how can i trigger an update query on a certain record if that record was not update within last say: 1 minute???/ can i doit without using any scripting? if can't then php. | |
hi.. i'm going to host my project and on clients site, a user always have to login to view what he can view. So the user has a user name and a password. Is there a way i can enable a user to login automatically without just entering user name … | |
hi i made an image slider. it loads all the images from the data base using php and for sliding and timing intervals i used javascrpt and ajax. through back end of the systems can edit these images and upload new , update and delete. i want to reflect the … | |
hi, i'm using UTF-8 in my database and when i insert unicode characters directly through database it's all fine. But when i'm inserting through an html form using php it sends some kind of other characters to the database e.g : ආයුබෝවන් how can i solve this...??? | |
Hi, Is there a way to trigger F11 trough javascript or jquery so.. i can go into full-screen mode? If so how can i do it.? Thanx... | |
how to automatically redirect to a fullscreen page? i googled it but everything ifound don't work for me.. don't know why. all of those codes just open a popup with half a page width and height. And i need it compelety like when u click F11. no any other detail. … | |
hi i want to hide my php code. i don't want any other to view my code and copy it. So is there a way to do this? | |
HI CONSTANTS in my customer site are affecting my admin site. i don't know why. also when i browse for admin site and if index.php file is not available home.php file loads. i find this very weird... can anyone please help me? following is some of the errors it generates. … ![]() | |
Hi, i have a marquee on my page which looks like the following ------------------------------------------------------------------------------ |Picture(div)-|-Marquee(div)--------------------------------------------| |---------------|--------------------------------------------------------------| |---------------|--------------------------------------------------------------| ------------------------------------------------------------------------------ so my marquee stops at the picture and starts again from the beginning . here picture is a square area but i want to use some curved image to that place and … | |
Hi, I want to give a percentage for the font size. currently i'm using <h1> tag. But that text size is smaller than i need. How to make it bigger. and like i said i want to use a percentage as the size. so if i maximize my page or … | |
Hi, i'm really new to jquery and i don't know how to solve this. i added following code to blink a div. initially mypopup div is hidden. and 10 seconds after page was loaded this div appears. because of this toggle() method div displays for 10 more seconds before hiding … | |
hi, i need to build a slider. which is not there in the page when it loads. then after few seconds it appears and slides from the right hand side of the window and stops at some position on the screen. then after few seconds it changes its image into … | |
Hey this is my code.. I'm trying to display whats in "carefare" variable inside a div. But it's not working I have no idea. All names of the div's are correct. and when i use alerts(commented) correct values are displaying but it's not getting printed inside my divs. Always the … | |
Hi... I have a list of products displayed in a page and it contains a combo box to sort the products in a certain criteria. I want to sort the products just when I choose the criteria from the combo box. I understood I have to do this using onChange … | |
i wrote a query... it must return false instead its returning false..i cant find why public static function find_cart_id($cid){ $query="SELECT customer_id FROM tblshopping_cart WHERE customer_id='$cid'"; if(mysql_query($query)) { return true; } else { return false; } } even if i use some text instead of `$cid` it still returns true :( … | |
Hello, I have two tables product table and accessory table. also i have a order table. order table have either product id or an accessory id. those are two nullable fields. now i want to choose from product or from accessory table, either product name or accessory name. can i … | |
Hello, I wrote a query to find the products names by the name entered and to count now many records are outputted. $query="SELECT COUNT(product_id) AS tot,product_id,product_name FROM tblproduct WHERE product_name LIKE '%$pname%'"; $query="SELECT COUNT(*) AS tot,product_id,product_name FROM tblproduct WHERE product_name LIKE '%$pname%'"; I tried both way. but always it returns … | |
Hello.. I need to query out most demanded products from my database... i have order table(order id, date, ...), orderitem table(order id, product id and quantity), and product table.. i don't understand how to write a query for this.. can someone kindly help me? | |
hello, Im creating a registration page and i want to keep the user entered data after a generation of an error message. form and the validations are in separate pages and validations belongs to a class. html form <form id="frmregister" name="frmregister" method="get" action=""> <tr> <td><label>First Name </label></td> <td colspan="2"><input name="txtfname" … | |
I am trying to upload a file into the server.. but its not working. im coding in mvc and this is the view file which contains the form data. <form id="frm" name="frm" method="get" enctype="multipart/form-data" action=""> <input type="file" name="file" /><input type="hidden" name="MAX_FILE_SIZE" value="2000000"/><input type="submit" name="upload" value="upload" /> </form> this is the … | |
HELLO.. I've been designing web pages in dreamwaever 8 and i have put a table inside a div. No matter what i try the table wont scale accordingly inside the div. It always scales along the div. its width is 200px but automatically scale up to somewhere around 500px.. :( … | |
Hello.. i have this problem.. im doing some kind of late static binding. im really a new to this and don't know how to solve this problem. please help me to solve it... What i want to do is instead of using `static:: $arr[0].",".static:: $arr[1]` i want to iterate though … | |
Hello.. I'm an university student and I'm developing an ecommerce system using OOPHP in MVC architecture. I find it difficult to find related articles regarding PHP in MVC. Can some one please provide me with any example or a link which would give me an idea about how i can … |
The End.