i have just tried renaming xmlhttp to xmlhttp2 but it didnt work.
i have made a few small changes in that the second call is called show, rather than showhint, just so i can ensure each one is different
User Profile
Collapse
-
How can I use ajax twice on one page to call different php pages
Hi All,
Im hoping somebody could help me with this. Ajax is not my strongest point.
On a page I have a requirement to call 2 different php pages using ajax. this code works fine, but if i add another is seems to conflift and im insure how.
the calls are in different areas of the page.
...Code:<html> <head> <script type="text/javascript">
-
PHP JSON Google maps
Hi All,
Im attempting to get a return from google maps to display the lat and long of a postcode but its not outputting them, but it is if i convert it to a raw URL
any help would be appreciated. Ive come to a dead end
...Code:<?php function get_lat_long($postcode) { #change to your local domain i.e. .com echo $domain = "co.uk"; echo "domain<br><br>"; -
php mysql limits
Hi All,
Does mysql have a limit in size? If so what is it?
Im currently using MyISAM which is suggesting 4gb
Can this be increased? if so how?
Many thanks
Paul -
Hi All,
I think my solution lies with regex. Can anybody help me understand how to extract the order id?Leave a comment:
-
php extracting xml
Im using PHP to extract data from an XML response.
for example:
i would use this code to get the guid value. Which is working...Code:<UserManageResult> <ErrorNumber>0</ErrorNumber> <ErrorMessage/> <guid>a806368a64ab4cd3a4fef3572e0f2276</guid> </UserManageResult> -
Even this example gives me a white screen.
Did you do anything at all to get an output? i have soap activated on my systemLeave a comment:
-
Hi,
Thanks for getting back to me. Ive had almost no responses at all regarding this. All of the online documentation delivers a white screen. Its not like usual PHP when at least you get an error message.Leave a comment:
-
Looking for sample SOAP applications to test
Can anybody show me a sample SOAP application that works? All the examples i've tried don't seem to work. Im certainly not new to PHP but soap is causing real pain.
Ive got the nusoap.php file in the root and all file permissions are fine but EVERY SINGLE example fails to load. My server has SOAP activated and is definitly running PHP 5. Ive ran a whole load of tutorials and all i get is a white screen. -
counting rows with mysql and php
Hi all,
Im at a loss here. There are definitly a lot of emails repeated in the table, but it just wont echo out anything.
all help is appreciated
...Code:<?php session_start(); include "connect.php"; $name = $_SESSION['name']; $email = $_SESSION['email']; $nationality = $_SESSION['country']; $query = "SELECT * FROM tbl_beta WHERE email
-
ive a feeling its line 27.... maybe need to have a new var in thereLeave a comment:
-
Interesting, I didnt realise php did its own garbage collection?
Ive made a test, incorporating your suggstions. not quite there yet. Hope you dont mind taking a look...
...Code:<?php session_start(); include "confun.php"; $query="SELECT * FROM tbl_dev_dilligence WHERE dev_id = 1"; $result=mysql_query($query); $row = mysql_fetch_assoc($result); $dev_contact_fname
Leave a comment:
-
Hi,
Thanks for the response.
Whilst waiting for a response I came up with checking the string length of the items called:
Im fine with while loops, but this is a new one to me. From your suggestions, without testing as im home from work now I have this.......Code:if (strlen($dev_business_name) > 0) { $count ++; } else { $count; }
...Code:<?php $arr = array($address, $telephone number,
Leave a comment:
-
Counting empty Cells in a row
Hi All,
I want to count the number of empty cells in a returned row. Can somebody get me on my way?
Regards -
i had a similar problem and the solution ended up being in my face
pagination is easy to get the first selection, as you have proven. When you click the "next 20" it should include a GET value being posted back to itself for the next sets starting point.
for for first 10 it would just include your search string, but when you click next an additional parameter would go into the url to say where it should start...Leave a comment:
-
Hi,
I have finally managed to get it working!! Took a while and a lot of scrap paper.
I was calling the url information in the wrong place. I moved it down to the form and then added two hidden elements that posted the variable to SELF then carried on as normal.
Thank you very much for your patience and help with thisLeave a comment:
-
Ok, so the session variable is fine as its global.
Please could you help me with the syntax and how i could amend it?
I appreciate your timeLeave a comment:
-
-
I have been into the database and set both values to allow NULL.
So now my problem lies with the P variable not passing into the function.
the url on the upload page looks like this....
http://..................../index.php?p=1Leave a comment:
-
This is the paradox i dont understand.
On page load, i echo out the two values, 1 from session and 1 from get. The values exist.
On form submit, the content of P nolonger shows. and it all happens on 1 page.
I have 3 echo's. top, outside and inside. The outside and inside refer to the upload(). When isset occurs its losing that value.
The screen output before selecting the file is:
...Leave a comment:
No activity results to display
Show More
Leave a comment: