User Profile

Collapse

Profile Sidebar

Collapse
amel86
amel86
Last Activity: Nov 12 '10, 08:36 AM
Joined: Apr 16 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sorry.. im still not clear
    See more | Go to post

    Leave a comment:


  • amel86
    started a topic How to display data in text file into xml?
    in XML

    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>
    ...
    See more | Go to post

  • 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.....
    See more | Go to post

  • amel86
    started a topic dependent multiple list menu
    in PHP

    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,...
    See more | Go to post

  • 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)"
    for example i want add 2nd value besides 'this.value'
    See more | Go to post

  • amel86
    started a topic auto populate multiple list menu based on mysql
    in PHP

    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",
    ...
    See more | Go to post

  • amel86
    started a topic show firstpage pdf thumnail in php
    in PHP

    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.
    See more | Go to post

  • amel86
    replied to problem in advance search
    in PHP
    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%'"; 
    				}
    tq green code for your great idea!
    See more | Go to post

    Leave a comment:


  • amel86
    replied to problem in advance search
    in PHP
    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?
    See more | Go to post

    Leave a comment:


  • amel86
    replied to problem in advance search
    in PHP
    Code:
    $term = $vbulletin->input->clean_gpc('r', 'term', TYPE_STR);
    	if ($term != '')
    	    {
    		$token = strtok($term, " ");	
    		$term_db .= "AND f.field8 like '%$token%'"; 
    		}
    the problem is :

    if i search 'melaka'
    the result are :
    - Seri Costa Hotel Melaka
    - Phiten Shop (Mahkota Parade) - Melaka
    - Melaka Batik House (Noor Alfa)
    ...
    See more | Go to post

    Leave a comment:


  • amel86
    replied to problem in advance search
    in PHP
    thanks code green, but the problem still same. do you have any idea to make the search result more smarter like os commerce (osc)
    See more | Go to post

    Leave a comment:


  • amel86
    replied to problem in advance search
    in PHP
    i have use this function but it still not too smart search..
    if i search it just read the first word.
    See more | Go to post

    Leave a comment:


  • amel86
    replied to problem in advance search
    in PHP
    sory code green, i not clear what you mean, can you give an example.sory, i new in php...
    See more | Go to post

    Leave a comment:


  • amel86
    started a topic problem in advance search
    in PHP

    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 problem is:
    The full text is "leonardo dicaprio"
    If i search 'leo' or 'leonardo' or 'dicaprio' or 'leonardo...
    See more | Go to post

  • amel86
    started a topic count by click problem
    in PHP

    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"
    ...
    See more | Go to post
    Last edited by Dormilich; May 3 '10, 08:01 AM. Reason: Please use [code] tags when posting code

  • amel86
    replied to directory link problem
    in PHP
    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');
    ...
    See more | Go to post

    Leave a comment:


  • amel86
    started a topic directory link problem
    in PHP

    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...
    See more | Go to post

  • amel86
    started a topic how to make list menu dependent
    in PHP

    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:
    ...
    See more | Go to post

  • ooo.. its worked!!.. mybe at first i make some mistake, thats why it doesnt work..

    thank you chathura!!
    See more | Go to post

    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?...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...