Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~25.5K People Reached

47 Posted Topics

Member Avatar for Virangya

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 …

Member Avatar for Virangya
0
138
Member Avatar for Virangya

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!

Member Avatar for Virangya
0
248
Member Avatar for Virangya

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='#' …

Member Avatar for Virangya
0
125
Member Avatar for Virangya

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 …

Member Avatar for Virangya
0
196
Member Avatar for Virangya

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.. …

Member Avatar for Virangya
0
141
Member Avatar for Virangya

hi, i'm passing a content in a div tag to a url. url looks like [ICODE]index.php?content=texttext &amp; text text[/ICODE] .. so on. when i'm trying to display this string, php only displays content up to &amp; it stops at '&' how can i stop this? i need to change this …

0
107
Member Avatar for Virangya

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..? …

Member Avatar for Airshow
0
198
Member Avatar for Virangya

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 …

Member Avatar for Virangya
0
1K
Member Avatar for Virangya

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 …

Member Avatar for Virangya
0
583
Member Avatar for Virangya

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: …

Member Avatar for Virangya
0
189
Member Avatar for Virangya

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]

Member Avatar for link_umer
0
1K
Member Avatar for Virangya

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 …

Member Avatar for diafol
0
211
Member Avatar for Virangya

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.

Member Avatar for Virangya
0
127
Member Avatar for Virangya

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 …

Member Avatar for Virangya
0
220
Member Avatar for Virangya

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 …

Member Avatar for smantscheff
0
134
Member Avatar for Virangya

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 …

0
128
Member Avatar for Virangya

why isn't this working? [CODE] $('body').find(".overcolor").click(function(){ alert("hi"); }); [/CODE]

Member Avatar for stbuchok
0
144
Member Avatar for Virangya
Member Avatar for Virangya

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'); }); }); } …

Member Avatar for Virangya
0
125
Member Avatar for Virangya

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 …

Member Avatar for Airshow
0
302
Member Avatar for Virangya

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..

0
88
Member Avatar for Virangya

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 …

Member Avatar for chrishea
0
208
Member Avatar for Virangya

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 …

Member Avatar for Taywin
0
370
Member Avatar for Virangya

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 …

Member Avatar for lyrico
1
14K
Member Avatar for Virangya

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.

Member Avatar for debasisdas
0
123
Member Avatar for Virangya

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 …

Member Avatar for Virangya
0
211
Member Avatar for Virangya

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 …

0
149
Member Avatar for Virangya

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 : &#3462;&#3514;&#3540;&#3510;&#3549;&#3520;&#3505;&#3530; how can i solve this...???

Member Avatar for Virangya
0
169
Member Avatar for Virangya

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...

Member Avatar for Taywin
0
124
Member Avatar for Virangya

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. …

Member Avatar for Virangya
0
250
Member Avatar for Virangya

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?

Member Avatar for chrishea
0
162
Member Avatar for Virangya

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. …

Member Avatar for diafol
0
394
Member Avatar for Virangya

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 …

Member Avatar for Virangya
0
168
Member Avatar for Virangya

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 …

Member Avatar for Virangya
0
234
Member Avatar for Virangya

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 …

Member Avatar for ddymacek
0
270
Member Avatar for Virangya

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 …

Member Avatar for Virangya
0
184
Member Avatar for Virangya

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 …

Member Avatar for Airshow
0
185
Member Avatar for Virangya

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 …

Member Avatar for almostbob
0
82
Member Avatar for Virangya

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 :( …

Member Avatar for muralibobby2015
0
79
Member Avatar for Virangya

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 …

Member Avatar for tesuji
0
93
Member Avatar for Virangya

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 …

Member Avatar for tesuji
0
156
Member Avatar for Virangya

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?

Member Avatar for Virangya
0
150
Member Avatar for Virangya

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" …

Member Avatar for Virangya
0
151
Member Avatar for Virangya

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 …

Member Avatar for shubhamjain1
0
681
Member Avatar for Virangya

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.. :( …

Member Avatar for tinimic
0
362
Member Avatar for Virangya

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 …

Member Avatar for somedude3488
0
135
Member Avatar for Virangya

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 …

Member Avatar for vitana
0
55

The End.