User Profile

Collapse

Profile Sidebar

Collapse
panos100m
panos100m
Last Activity: May 14 '09, 08:13 AM
Joined: Aug 31 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • panos100m
    started a topic Problems reading a part of XML using AC3 ...

    Problems reading a part of XML using AC3 ...

    Hi

    i can read everything from my xml file except a part that i can always get teh first items of each category (it will make more sence in a sec)

    So here is my xml

    [HTML]<?xml version="1.0" encoding="UTF-8"?>
    <flashxml>
    <second_page>
    <sp text="ss ptextj"/>
    <ss text="sptext"/>
    <clas...
    See more | Go to post

  • Text doesnt align in IE but works with Mozilla and Chrome

    I cant put the text (register,membe rs,find) in the center of the three buttons using Internet explorer...

    Any help will be much appreciated

    (html code below)

    Code:
    <td class="ct">
    <!-- menu table starts here -->
    <table cellspacing="0" cellpadding="0" class="width100per" id="intro-menu-tbl">
    <tr>
    <td width="77"
    ...
    See more | Go to post
    Last edited by eWish; Jan 12 '09, 05:29 PM. Reason: Please use the code tags

  • that was a caching issue .. is fixed now ;)
    See more | Go to post

    Leave a comment:


  • Ajax function doesnt seem to work under IE but works in mozilla

    Hi on page load a javascript functions (timedCount()) is executed (timer) which executes another javascript function (ajax function:findpr ov(divtowrite) ) in turn this calls a php file to query a database and produce the total number of records.

    It works under mozilla but not ie

    the tpl file::

    [HTML]</html>
    <head>


    <script language="javas cript" type="text/javascript">...
    See more | Go to post

  • Hi i wanted to sort the results so the users that they are the most times in the list will appear in the first elements of the array:

    so for a given array

    Code:
    $users[0] = array( 'username' => "username1", 'times' => 222 );
    $users[1] = array( 'username' => "username2", 'times' => 333 );
    $users[2] = array( 'username' => "username4", 'times' => 1 )
    ...
    See more | Go to post

    Leave a comment:


  • Sorting of associative array doesnt work...what am i doing wrong here?

    Hi


    I can't get the following to work:
    [code=php]
    //that is in the for loop only it works just an example of the array
    $users[$i] = array( 'username' => $unique[$i], 'times' => $k );

    }




    $users[3] = array( 'username' => "testuser", 'times' => 8000 ); //add use


    echo $users[0]['times'];...
    See more | Go to post
    Last edited by Atli; Sep 20 '08, 12:12 PM. Reason: Added [code] tags.

  • panos100m
    replied to Problem getting rid of a frame...
    in PHP
    Thanks for the help, indeed that's a better way to do it rather than keeping the session.

    The problem was resolved by using the following code between <head> </head>

    of the frame. tpl

    <SCRIPT TYPE="text/javascript">
    <!--
    if (top != self)
    top.location=se lf.document.loc ation;
    //-->
    </SCRIPT>

    Best Regards
    See more | Go to post

    Leave a comment:


  • panos100m
    started a topic Problem getting rid of a frame...
    in PHP

    Problem getting rid of a frame...

    Hi there

    I am using a menu frame on the left side but i cant destroy it using the logout link that i created ...

    any ideas?



    //index.php
    // PAGE this will just redirect to the frame2.php (normally login / pass here but //removed unesecery code) just to show example
    [CODE=php]
    <?php


    require_once ('ini.php');
    session_start() ;
    ...
    See more | Go to post

  • panos100m
    started a topic XPATH query (count)
    in XML

    XPATH query (count)

    [code=xml]
    <root>
    <row>
    <col name="Surname"> McEnroe</col>
    <col name="Postcode" >44312</col>
    <col name="PolicyID" >X1234565V</col>
    </row>
    <root>
    <row>
    <col name="Surname"> McEnroe</col>
    <col name="Postcode" >44312</col>...
    See more | Go to post

  • panos100m
    replied to DB_dataobjects problem with Insert
    in PHP
    Hi

    Thanks for the reply

    The problem was thet i modified the database but i havent generated the classs for the newly modfied tabels that why the insert didnt work :-)
    See more | Go to post

    Leave a comment:


  • panos100m
    replied to DB_dataobjects problem with Insert
    Hi

    Thanks for the reply

    The problem was thet i modified the database but i havent generated the classs for the newly modfied tabels that why the insert didnt work :-)
    See more | Go to post

    Leave a comment:


  • panos100m
    started a topic DB_dataobjects problem with Insert

    DB_dataobjects problem with Insert

    Hi

    I am using DB_dataobjects and pear .
    I noticed that for some of my tables my insert statement doesnt work correclty ..

    Those tableas are tables that i changed recently (i removed the space and added "_" and now i removed the underscore also)

    So this is the output
    Code:
    DataObjects_test: CONNECT: Checking for database database_ in options
    DataObjects_test: CONNECT:
    ...
    See more | Go to post
    Last edited by Atli; Aug 6 '08, 03:27 AM. Reason: Added [code] tags

  • panos100m
    started a topic DB_dataobjects problem with Insert
    in PHP

    DB_dataobjects problem with Insert

    Hi

    I am using DB_dataobjects and pear .
    I noticed that for some of my tables my insert statement doesnt work correclty ..

    Those tableas are tables that i changed recently (i removed the space and added "_" and now i removed the underscore also)

    So this is the output
    [code=text]
    DataObjects_tes t: CONNECT: Checking for database database_ in options
    DataObjects_tes t:...
    See more | Go to post
    Last edited by pbmods; Aug 5 '08, 12:10 AM. Reason: Added CODE tags, removed credentials.

  • panos100m
    replied to Time comparison doesnt work...
    in Java
    That's correct so it should be an || there instead of &&

    int closingm=-1; should be closingh and the clear can be removed from now2

    Thanks :-)...
    See more | Go to post

    Leave a comment:


  • panos100m
    replied to Time comparison doesnt work...
    in Java
    I've corrected the code..

    but still the output is not completely correct

    IT
    To be precise 2008-07-20 12:23:55 (correct)
    To be precise 2008-07-20 09:00:00 (correct)

    updated code:


    public static Calendar now2(int hour,int minute,int sec) {
    GregorianCalend ar calendar2 = new GregorianCalend ar();
    // calendar2.clear ();
    calendar2.set(C alendar.HOUR_OF _DAY,hour...
    See more | Go to post

    Leave a comment:


  • panos100m
    started a topic Time comparison doesnt work...
    in Java

    Time comparison doesnt work...

    Relevant part of the code::

    //that code wouldnt work ..its purpose is to compare the current time with a give time (in this case italian)
    //output of current time is displayed as 0001 (time is 11:42)
    //To be precise 2212 output of given time is displayed as 2213 time is 9:00....any ideas??


    public static Calendar now2(int hour,int minute,int sec) {
    GregorianCalend ar...
    See more | Go to post

  • panos100m
    started a topic remaining time from db with no page refresh

    remaining time from db with no page refresh

    hi in my php page i am showing to the user the remaining time untill an event occurs..
    I am reading the value from a database
    The problem is that he needs to refresh the page to get the correct time (for time to decrement) ...i can use a meta refresh but it doesn't look professiona, is there a way for the values to decrement without page refresh and if yes how? (can you please provide a code snip-set)
    The only way that i can...
    See more | Go to post

  • panos100m
    started a topic Remaining time from db with no page refresh
    in PHP

    Remaining time from db with no page refresh

    hi in my php page i am showing to the user the remaining time untill an event occurs..
    I am reading the value from a database
    The problem is that he needs to refresh the page to get the correct time (for time to decrement) ...i can use a meta refresh but it doesn't look professiona, is there a way for the values to decrement without page refresh and if yes how? (can you please provide a code snip-set)
    The only way that i can...
    See more | Go to post

  • panos100m
    replied to XML dom to a file code....
    in XML
    This is solved..
    I used active x to save the file and it works fine.
    See more | Go to post

    Leave a comment:


  • panos100m
    started a topic XML dom to a file code....
    in XML

    XML dom to a file code....

    Hi the changes that i am making using dom (see function modify) take place only in memory untill the next reload ..but not in my xml file

    I am doing this for a customer and i am unable to install a
    server side language to do a submit , how can i save the contents of
    xmldoc directly to a file locally ?? I was thnking of active x , but can someone someone post some code? is that the best solution?

    ...
    See more | Go to post
No activity results to display
Show More
Working...