Monday, May 26, 2008

I request all of the people who r reading this and particularly all those who r in love to help my one and only Love of my life; without whom i can t live nomore. Please help her as im trying my best level & will keep on till the last breath of my life;as myself i am not that much financially sound-but still will do anything i repeat anything to help my love kim.i am ready to do anything anykind of job-work or whatever who s ready to help her.Please i kneel down and BEG U ALL PEOPLE WHO R IN LOVE AND CAN UNDERSTAND THIS SITUATION:PLEASE HELP MY KIM.god will bless u All regardless u help or not but atleast took ur precious time to read this. my name is AJAX- MY CELL No. IS +919904247450(idea cellular sim).her freind s having a/c in "LAND BANK"-ANGAGOY-BISLIG CITY-SURIGAO DEL SUR-PHILLIPINES PINCODE:08311. NAME OF A/C.Holder ANASTACIA C. CORMINAL; ACCOUNT No. IS 2166-0259-97. IF U WANT TO HELP U CAN DEPOSIT WHATEVER AMOUNT U CAN EVEN 1 Rs. WILL HELP HER.THOSE WHO WILL HELP I LL B OBLIGED

I will graduate with an Associates Degree in Web Design and Development in June of 2008 in Oregon City- Oregon. I ve learned a little bit of everything- from designing a site- using Photoshop- Fireworks- Dreamweaver- Illustrator- InDesign- and Flash- to developing it- either with ASP .NET- PHP- ColdFusion- AJAX- or just regular HTML. I m wanting to get a job in Portland- Oregon or some other central city where business is thriving.

I don t understand how to implement the information given at http://technorati.com/developers/ping/ as far as creating a custom ping- but I would like to be able to do so as I don t use blogging software but I don t want to have to do a manual ping each time either.

I have been searching for hours on the internet. I am a complete and total newbie with AJAX so please explain in clear detail. The php page is just an html page with one or two php values in it and it has the .php file end to it. How would I add in a simple and pretty much already setup ajax script into the page to make only one line of php code (which displays the current song a radio station is playing) refresh (without the page refreshing) every minute?

Details would help greatly and please do not link me to other websites because that will just confuse me even more. Thanks!
The answer that is below this is too confusing for me. Please somebody explain with detail how I can do this...

i just started working with AJAX to add some functionality. This is the code i have so far. The php code just echos text it receives from the database- (last line is echo $bid;) Ive been working with php and have tested it so i know its right. could there be any other issues? Thanks.

xmlHttp.onreadystatechange=function()
{
ajaxmessage = document.getElementById("ajax_message").innerHTML;
currentBid = document.getElementById("current_bid");
currentBidder = document.getElementById("current_bidder");
if (xmlHttp.readyState==3) {
ajaxmessage="Incoming Bid...";
} else if (xmlHttp.readyState==4) {
currentBid.firstChild.nodeValue=xmlHttp.responseText;
}


}
url = window.location.search.substring(1);
limit1 = url.indexOf("id")+3;
limit2 = url.indexOf("&username");
if (limit2 <= limit1) {
limit2=300;
}


url_id=url.substring(limit1-limit2);

xmlHttp.open("GET"-"getbid.php?id="+url_id-true);
xmlHttp.send(null);
ajaxmessage = url_id;
}

body.onclick=ajaxFunction();
<?
header("Cache-Control: no-cache- must-revalidate");
// Date in the past
header("Expires: Mon- 26 Jul 1997 05:00:00 GMT");

include( functions.php );
mysql_new();

$_GET[id]=$id;

$sql = "SELECT * FROM bids WHERE sale_id = ".id." ";
$query_select = mysql_query($sql) or die(mysql_error());
//define variables so .= works
$bids = "";
$i = 0;
while ($select_row = mysql_fetch_array($query_select)) {
//get all the bids for it BID must be int
$bid = $select_row[ bid ];
$bidder = $select_row[ bidder ];
$highbidder[$i] = $select_row[ bidder ];
//$id_2 = $select_row[ id ];
$bid_id[$i] = $select_row[ id ];
//bid_num- which will hold the bids
$bids[$i] = $bid;
$i++;
}
//find the highest bid- highbidder- and their id
$highbid = 0;
for ($a = 0; $bids[$a] <= $i ; $a++) {
if ($highbid < $bids[$a]) {
$highbid = $bids[$a];
$hb_id = $bid_id[$a];
$high_bidder = $highbidder[$a];
}
}
$highbid = $response;
echo $response;

?> the php code is pretty simple imo

In 1951 Dr. Mohammed Mossadegh was duly elected President of Iran and on March 15th of that year- nationalized the oil fields. Their sovereign right. Britain didn t like the loss of their control on the Iranian oil industry. The British govenment asked the United States and President Harry Truman about taking action to remove Mossadegh. Truman refused. In 1952- Britain asked Eisenhower and in 1953 the CIA in "Operation Ajax" removed Iran s president and replaced him with the Shah.

No one to blame but a Republican President and jolly old England.

No comments: