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...
User Profile
Collapse
-
Problems reading a part of XML using AC3 ...
-
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"
-
that was a caching issue .. is fixed now ;) -
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">... -
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 )
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'];... -
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 RegardsLeave a comment:
-
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() ;
... -
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>... -
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 :-)Leave a comment:
-
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 :-)Leave a comment:
-
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:
-
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:... -
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 :-)...Leave a comment:
-
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...Leave a comment:
-
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... -
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... -
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... -
This is solved..
I used active x to save the file and it works fine.Leave a comment:
-
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?
...
No activity results to display
Show More
Leave a comment: