User Profile
Collapse
-
sorry.. im still not clear -
How to display data in text file into xml?
Hello everyone,
My problem is i want to display data in txtfile to the xml file.
For example i write www.yahoo.com in the test.txt and i want to display the link (www.yahoo.com) in the xml file.
Please anyone help me.
Code:<albuminfo> <artLocation>slideshow/slide1.jpg</artLocation> <artist>The Doors</artist> <albumName>Greatest Hits</albumName>
-
how to put mysql connection and php code within xml file
Hello everyone,
I'm new in xml. I have faces some problem
that is i dont know how to connect mysql and put php code in xml file.
Below is the code about 10 images (slideshow) which are static. I would like to make it dynamic which is the images called from database and uses while looping there.
Please help me to solve this matter.
p/s:or u all can download the file and change from there..... -
dependent multiple list menu
Hello,
I have a problem. I need to do multiple list menu which is populate each other when selected.
The problem is my code run perfect on my localhost server but when i upload to the server the code seem not too worked. it not update the result.
For example if i select category A it should list out sub category A that is A1 and A2. But, the result is it list out A1, A2 and A3 even i already remove A3 subcategory. So,... -
How to append more than one variable with value to url in javascript
hello.
please help me how can i add one more variable at this code >
Code:onChange="getmodel('mlm-edit.php?category='+this.value)"
-
auto populate multiple list menu based on mysql
hello..
i have a question about how to make dependent list menu based on mysql?
actually, i already found some code that helped me a lot but there has a problem that is i want to change 'get' method to 'post' method.
can u all help me or guide me how to change this code.
thank you
Code:<?php $state = $county = null; //declare vars $conn = mysql_connect("localhost",
-
show firstpage pdf thumnail in php
hello,
i have a question. how if i want to show firstpage uploaded pdf in thumbnail form. i mean i jpg or png type. -
hye...i already solve this problem by use this
Code:$tok = strtok($term, " "); while ($tok !== FALSE) { $toks[] = $tok; $tok = strtok(" "); } while (list($k,$v) = each($toks)) { $term_db .= "AND f.field8 like '%$v%'"; }
Leave a comment:
-
hello code green,
i have try your code but my page appear blank. i cant use while method.can it possible to use 'for loop'? i have try 'for loop', that is no error but this method cant find any result.can you give me example if do in for loop?Leave a comment:
-
Code:$term = $vbulletin->input->clean_gpc('r', 'term', TYPE_STR); if ($term != '') { $token = strtok($term, " "); $term_db .= "AND f.field8 like '%$token%'"; }
if i search 'melaka'
the result are :
- Seri Costa Hotel Melaka
- Phiten Shop (Mahkota Parade) - Melaka
- Melaka Batik House (Noor Alfa)
...Leave a comment:
-
thanks code green, but the problem still same. do you have any idea to make the search result more smarter like os commerce (osc)Leave a comment:
-
i have use this function but it still not too smart search..
if i search it just read the first word.Leave a comment:
-
sory code green, i not clear what you mean, can you give an example.sory, i new in php...Leave a comment:
-
problem in advance search
I have search code that is below:
Code:$term = $vbulletin->input->clean_gpc('r', 'term', TYPE_STR); if ($term != ''){$term_db .= "AND f.field8 like '%$term%' OR f.field10 like '%$term%' OR f.field12 like '%$term%' OR f.field13 like '%$term%' OR f.field21 like '%$term%' "; }
The full text is "leonardo dicaprio"
If i search 'leo' or 'leonardo' or 'dicaprio' or 'leonardo... -
count by click problem
hello
i need to count number of click for the link.
but when i run my code, there's no function. the problem still the same. the count per click does not increase.
here my code:
html:
Code:<form action="test.php" method="get"> <input name="threadid" type="hidden" value="$thread[threadid]" /> <input name="url_link" type="hidden"
-
atli, im still blur here.
can i give real example and hope you will explain more clearly to me.. i have done what u already told me.. but the problem still same.
the problem is i have a filename that is car.php. in this file, i make include code like below:
require_once('./global.php');
require_once(DI R . '/includes/functions.php') ;
require_once(DI R . '/includes/functions_forum display.php');
...Leave a comment:
-
directory link problem
hello i have a simple question but i dont kno whow to handle.
the problem is:
i have a file (car.php) that i make include code like below:
require_once('./global.php');
require_once(DI R . '/includes/functions.php') ;
require_once(DI R . '/includes/functions_forum display.php');
this file (car.php) is same directory with global.php and includes folder.
how if i want to create... -
how to make list menu dependent
hello everybody,
i have a problem in my system related to list menu dependent.
i want a simple list menu dependent that when we select A, it show B, when select B it show C and so on.
If possible, i want write down all data in option list menu like below:
<option value="test"/>Test</option>
I mean i dont want the value store at javascript section like:
... -
ooo.. its worked!!.. mybe at first i make some mistake, thats why it doesnt work..
thank you chathura!!Leave a comment:
-
yes..exactly..b ut it show error when i put the code like this >>> $selected['no days']
it seem like it cant read space. how to slove it chathura?...Leave a comment:
No activity results to display
Show More
Leave a comment: