No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
im new in web development and i wanna know, how can make a dynamic file path or dynamic source directory. its like : <img id="branding-logo" src="/image/logo.png"> <link rel="stylesheet" href="/images/green.css"> <script src="/js/jquery.js"></script> main { background: url('/images/CAT119/hp-images/hptilebggreen.jpg') top left repeat-x; } so basically what i want to know is how can i … |
|
I have simple php code here, where basically asking to display the value of query : <?php $table = "tbl_product"; /******************MULTIPLE QUERIES*******************/ if($tbl_code==999){$condition = " WHERE (category = 'wellington') OR (category = 'hivis') OR (category = 'tools') OR (category = 'waterproof') ";} else if($tbl_code==998){$condition = " WHERE category = 'wellington' … |
|
I have two arrays, and my problem is when I pick one value of first array it must also remotely picked the same value of the second array. Explain : array ("Volvo","BMW","Toyota"); array ("200","300","400"); It's like when I choose "Volvo" it must also remotely choose "200" OR when I choose … |
|
im trying to get the date diff: <?php $datetime1 = date_create(date('d - M - Y')); $datetime2 = date_create($date); $interval = date_diff($datetime1, $datetime2); $diff = $interval->format('LISTED %R%a DAY(S) AGO'); ?> it works in my localhost host.. but when I upload and run it online it get this error : Fatal error: … |
|
how can I drag or move my table td... any suggestion thanks in advance sir, |
|
Im trying to explode the value of my query to input field so im able to edit them: this what I've got so far :: $temp = explode(',',$sizes); if($temp){ $ctr_size=''; foreach($temp as $size){ echo "<input type='text' value". $size.">"; $ctr_size++; } } please help.. |
|
Im trying to dynamically add fields when add button is being press.. my code here works perfectly but.. what I want is when I click any of my fields it must add instantly and dynamically .. here:: $(document).ready(function() { var max_fields = 10; //maximum input boxes allowed var wrapper = … |