Forum: PHP Apr 20th, 2009 |
| Replies: 13 Views: 779 it does not require a full URL but give it a try anyway.
Does the page POST BACK?
This might happen cuz you have not specified '#' in the href property of the anchor tag |
Forum: PHP Apr 19th, 2009 |
| Replies: 13 Views: 779 so does it still do this with my example ? |
Forum: PHP Apr 19th, 2009 |
| Replies: 13 Views: 779 First of all if the document is (X)Html then your link tag needs to be closed.
should be
<link rel="stylesheet" type="text/css" href="stylesheet/style.css" />
Secondly the script tag REQUIRES... |
Forum: PHP Apr 18th, 2009 |
| Replies: 13 Views: 779 you have alerted the 'obj_t.responseText' value and it definately is returning text ? Also do you have an element in the page with ID 'tdetail'. If so can you post your pages HTML as there may be a... |
Forum: PHP Apr 18th, 2009 |
| Replies: 13 Views: 779 This should be in the JavaScript forum but from looking at your code quickly it seems ok but you need to make sure the browser your using supports creating your XMLHttpRequest object like you do. The... |
Forum: PHP Mar 22nd, 2009 |
| Replies: 3 Views: 499 or use the built in method
session_destroy(); |
Forum: PHP May 23rd, 2008 |
| Replies: 9 Views: 776 echo the $query variable before it is fired to see exactly what the query is at runtime. |
Forum: PHP May 13th, 2008 |
| Replies: 3 Views: 5,300 your welcome feel free to give me some rep :D and mark the post as solved |
Forum: PHP May 13th, 2008 |
| Replies: 3 Views: 5,300 <p class="MsoNormal">
<span style="font-size: 10.0pt; font-family: Verdana">
Florida PROMiSE partners and staff can use the following site to share and exchange information regarding to the... |
Forum: PHP May 8th, 2008 |
| Replies: 34 Views: 4,848 then you would search using the following in that circumstance.
SELECT * FROM S WHERE s1 LIKE '%what you want to search for%'
The % sign either side of the search text indicates two wildcards... |
Forum: PHP May 8th, 2008 |
| Replies: 34 Views: 4,848 SELECT * FROM tablename WHERE somefield LIKE '%searchquery%'
other than taking the time to write an iterative script you will need to write individual SQL statements for each table. |
Forum: PHP Apr 22nd, 2008 |
| Replies: 8 Views: 775 thats correct you need to get the whole querystring aswell if you want to retain the querystring variable. E.G.
action="<? echo $_SERVER["REQUEST_URI"]; ?>" |
Forum: PHP Apr 21st, 2008 |
| Replies: 8 Views: 775 <?
if(isset($_POST["yourname"])) {
// Process database save
}
?>
<html>
<body>
<form action="<? echo $_SERVER['php_self']; ?>" method="post">
<input type="text"... |
Forum: PHP Apr 21st, 2008 |
| Replies: 8 Views: 775 ??? sorry i dont quite understand what your asking ?? |
Forum: PHP Apr 21st, 2008 |
| Replies: 8 Views: 775 why do you need to use ajax ?
you can do a simple postback which is alot easier.
if ajax is amust you must have some knowledge of javascript aswell. |
Forum: PHP Jan 24th, 2008 |
| Replies: 12 Views: 5,491 personally i would float a DIV over the center of the page with two buttons in. Faking a popup as i rekon this would achieve sameeffect without popups (probably cuz i hate popup windows :D). but hey... |
Forum: PHP Jan 24th, 2008 |
| Replies: 12 Views: 5,491 what if popups are disabled ?
i suppose you could check if the window is opened after calling the popup script but i would stick with the javascript confirm option as it is likely to cause you less... |
Forum: PHP Jan 15th, 2008 |
| Replies: 5 Views: 3,024 you dont need str_replace inside str_replace etc etc.
use two arrays
$your_txt = "Hello 'WORLD'";
$txt = array("'", "\"");
$txt_replace = array("\'", "\\\"");
$x=str_replace($txt,... |
Forum: PHP Jan 9th, 2008 |
| Replies: 3 Views: 759 i dont beleive you can upload a directory at all in php.
they could upload a zip file then use php to break apart the file and then create the directorys/file structure in this. |
Forum: PHP Aug 16th, 2007 |
| Replies: 2 Views: 847 ? sorry can you rephrase that as i have no idea what you mean. if you know insertion and connection why cant you do it ? |
Forum: PHP Jun 18th, 2007 |
| Replies: 5 Views: 1,578 no idea why my first comment is there ? |
Forum: PHP Jun 18th, 2007 |
| Replies: 5 Views: 1,578 after pressing submit validate fields i.e.
if ($textboxvalue == "") {
// go back and error
}
then perform an sql request (im guessing you using a database)
"SELECT * FROM databasename... |
Forum: PHP Jun 18th, 2007 |
| Replies: 5 Views: 1,578 after pressing submit validate fields i.e.
if ($textboxvalue == "") { |