Sorry...i forgot to mention the script is in within the hed tag...guess thats wat makes it show the message while the page loads...putting the flash code directly inside the body, i guess, wont work..however, its worth a try.
using the following snippet to intimate a user that a certain task is been going on while the page loads : <script type="text/javascript">
<!-- Begin
document.write('<div id="loading">task going on eg. Searching, please wait...
</div>');
window.onload=function(){...
Really dont get you...but in my own little brain i think you might want to take a look at sessions http://uk.php.net/manual/en/ref.session.php or using header() to authenticatation
how can i make a mysql query term not case sensitive..as in making the search for movies in the statement below not case sensitive
select *, match(url, title, comment) against ('movies') as score from dir where match(url, title,
comment) against ('movies') and subdir='$in'
found out that when a bulk of codes comes between a mysql query and the mysql_fetch_array function, the result of the mysql_query statement dispappears ...as in something like below:
//db connection
$result = mysql_query($sql_statement);
//some long lines of codes, statements, loops, etc...
using the mysql fulltext stunt within a php page to run a kinda search within my db. To be specific, here goes the query:
select *, match(url, title, comment) against ('movies') as score from dir
where match(url, title, comment) against ('movies') limit $somevariable, 10
using mysql_num_rows...
A friend tried compiling a java library for me: waplet.jar and stressed it returned the error: exception in thread "main" java.lan.NoClassDefFoundError: waplet/jar.
what could be wrong?
i av a table with a column containing categories some addresses belong to, occuring a number of times. i'd however luv to get each distinct category in the column with their number of occurence. As in something like this:
---------------+-----
CategoryNameA | 5
---------------+-----...
Thanks Diancecht for your post. actually looked around in d search engidnes b4 posting. found some however but the problem is that i want one i can customize on my site. found one around here: http://waplet.sourceforge.net but the problem however is that it like requires a compiler or sort which...
I'm designing a kinda dir which includs wap sites. In a bid to enable viewing wap sites online, i need a wap emulator applet dat i can embed somewhere on the site. Any idea where i can get one from?
Being very modest and honest, though this sounds freaky, i must confess i dont get wat u pals mean by cron job...having an idea i bet would draw me nearer to the solution.
I'm tring to run a file upload script that goes this way:
if($_POST['ad']){
print_r($_FILES);//just doing a little debugging trick here
if(is_uploaded_file($_FILE['ad']['tmp_name'])){
if($_FILES['ad']['type'] == 'image/gif' || $_FILES['ad']['type'] == 'application/x-shockwave-flash'){
//trying...
I really dont get that but in my little brain i think you should take a look at file and directory functions like file,fopen,fread and opendir,scandir the likes...by the way dont forget that allow_url_fopen should be enabled in php.ini
preg_match and its families may help too
:-) Thanks for that...it was kinda funny coz i thought of that too actually - as in setting up a script inside d index page to do that...was only thinking there could be another alternative. Thanks again...but i hope at least someone comes knocking at the site everyday :-)
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.