Make sure your database, table, column is all utf8, you may need to encode the ajax... if you are using jquery it should be done for you... but I would say this has something to do with utf8 ... You also may consider converting it to £ or £
Jason
Army : Combat Engineer : 21B
You should really look into a PHP framework... it will make your life much easier.. it makes database management stuff super easy... look on youtube for examples... I would recommend CodeIgniter, DooPHP or CakePHP... CakePHP is the slowest out of those two...
CodeIgniter has probably the best...
By "re-rendered" do you mean the page has finished loading? I would say you could probably do this with jquery...
// ... jquery library...
$(function(){
// Anything here runs after the page is done loading...
});
Jason
Army : Combat Engineer : 21B
Install wampserver and then drag your file into c:\wamp\www
Then goto http://localhost/Hellov2.php
and Done.
http://www.wampserver.com/en/
If you ever want to make sure php is working just save a php file with this line of code:
<?php phpinfo(); ?>
If php is not working usually it will...
Thanks for your help jpadie I appreciate the time to make your sample code.. Your example made me solve the problem... Opera doesn't like returns in its json!
so since it was getting it from the database it pushes the code down the page thus not printing it out on the first line!
Try putting...
oh and sorry forgot to answer your question... i have tried all different mime types including text/html , plain etc etc with and without... ok i just tried something and have it working... but its odd...
it works in this situation:
non database drive output: json.test.php
<?php...
jpadie, it doesn't even enter the
$.getJSON(url,params,function(rData){
function however it is going into my loadBread function i show an alert, but its not returning anything, in dragon fly error wise... working perfectly in chrome, ff, ie 8, safari, but opera is killing it
it is show /...
Sorry Billy, im in process of getting a new host setup so i dont have access to a webserver for the next 12 hours or so... I think ill just drop ajax support for <= E 7 and Opera...
Your tips help a lot jpadie, I add an error function to see what was going on... i also changed my code around...
Below is a simple jquery function, calling a json php file I have run through every possible thing i can think of but its not running on IE (compatibility mode ) and Opera 10...
Google Chrome, IE 8, Firefox, Safari all run this script without an issue.
I have checked my json file and it is...
I am trying to figure out the toggle using livequery... for some reason this is not working:
$("#fu"+drop_id).livequery(function(){
$(this).toggle(
function () {
$(this).hide();
},
function () {
$(this).show();
}
);
});
})...
I have 5 links when hovered a div slides up with a thumbnail and a title of the link, however if you hover over another link before the first div hides itself it causes the div to flash or to more or less que up the animation multiple times... if that makes since... I dont have the code on this...
Has anyone used the triplehead2go digital edition with and adapter from DVI to HDMI into their laptop? Will this work if i want to use split screen / stretch the screen across all 3 monitors?
Jason
Army : Combat Engineer : 21B
So something like a vga splitter wouldnt working if i get a cable with an adapter to hdmi
http://www.amazon.com/Cables-Go-Splitter-Extender-4-Port/dp/B00008BO8N/ref=pd_bbs_sr_11?ie=UTF8&s=musical-instruments&qid=1231705711&sr=8-11
Jason
Army : Combat Engineer : 21B
I just ordered 3 dell monitors both of which have 2 ports built in: 1 x VGA - 15 pin HD D-Sub (HD-15) ¦ 1 x DVI-D - 24 pin digital DVI
My laptop has a female hdmi port. I would like to have a multi monitor setup but i am fed up with looking for a cost effective solution on this problem...
I am unable to get the following script to display anything and i have modified it multiple times to try and get it to work before posting this:
index.php
<?php
if (file_exists('myfile.xml')) {
$xml = simplexml_load_file('myfile.xml');
//print_r($xml);
echo $xml->item->description...
Can someone tell me why IE doesn't show the top and bottom lines on this link? Any ideas?
a.dl2:link{
font-weight:normal;
text-decoration:none;
color:#000000;
font-size:90%;
padding-left:6px;
padding-right:6px;
padding-top:3px;
padding-bottom:3px;
letter-spacing:1px...
I have a div inside a main div :
#innerContent { position:relative; top:2em; width:100%; left:0; padding:1px; margin-right:18%; }
and i am trying to get these divs to center inside the above div:
#prod {float:left; position:relative; text-align:center; margin-top:9px; top:4em...
Hi jpadie, thanks for the reply... I would like to use an image capture this time around... i just can't find the issue with my code that would make the letters not space... maybe i have a value wrong that im a not seeing... What is your other suggestion?
Thanks jason
Jason
Army : Combat...
Trying to put together a captcha been looking for this bug for a minute now... im just not seeing it... my text is overlapping in the image... each letter is on top of each other... where is the problem??
<?php
$pass_length = 4; //captcha word length
$width = 200; //captch image width...
I have been trying to learn more about Multidimensional Arrays. How do i get lettercount in this array only based off the letter not the index number...
here is my array output:
$alpha_count => Array (22)
(
| ['0'] => Array (2)
| (
| | ['letter'] = String(1) "a"
| |...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.