430 Posted Topics

Member Avatar for Ignatius88
Member Avatar for twiss
0
2K
Member Avatar for abhi10kumar

[QUOTE=abhi10kumar]Please give complete code .. [/QUOTE] We don't, generally. But as a start: [CODE=Javascript] document.getElementById('the_id').onclick = function() { some_ajax_call(); another_one(); }; [/CODE] By the way, this is a javascript question, mostly.

Member Avatar for ko ko
0
95
Member Avatar for Shantanu88d

[CODE] preg_match_all('/\b(hello|world|bla|something|else)\b/', $str, $matches); $count = count($matches[0]); [/CODE] Or something like that.

Member Avatar for edwinhermann
0
3K
Member Avatar for newbie14

You can create an element with the text in it, and use background-image (in css) to give it the image as background. Perhaps I don't understand the second question, but if you use [icode]div[/icode]'s, there will be a return between them. If you use [icode]span[/icode], there won't.

Member Avatar for ko ko
0
212
Member Avatar for amit.hak50

It's not done in CSS, just a background image. If you want to do it in CSS, take a look at box-shadow.

Member Avatar for twiss
0
88
Member Avatar for kimmi_baby
Member Avatar for twiss
0
221
Member Avatar for IWDesigns

IMHO you shouldn't use Facebook Login just for the sake of it, but anyway: [url]http://developers.facebook.com/docs/authentication/[/url]. If you already read that, and don't understand it, be a bit more specific about what exactly you want to know.

Member Avatar for matricol
0
87
Member Avatar for Sahilsahni

Something like this? [CODE] (function() { var current = 0; var textElems = document.getElementById('container').getElementsByTagName('div'); setInterval(function() { current = current < 3 ? current + 1 : 0; for(var i in textElems) textElems[i].style.display = i == current ? 'block' : 'none'; }, 500); })(); [/CODE] Not tested, perhaps I forgot something.

Member Avatar for matricol
0
139
Member Avatar for radujit

Sorry to say, but if I had made that I would be [url=http://validator.w3.org/check?uri=http%3A%2F%2Fwww.iisconsult.ro%2F&charset=%28detect+automatically%29&doctype=Inline&group=0]ashamed[/url] and [url=http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.iisconsult.ro%2F&profile=css21]more ashamed[/url].

Member Avatar for matricol
0
78
Member Avatar for rakibtg

Well, assuming you really want JS, you can just do document.getElementsByTagName('title') and ...('meta'). If you actually get this info on another server, without running any code from that page, what I would find more logical, you could use an XML parser or just some regular expression to get the info.

Member Avatar for matricol
0
1K
Member Avatar for saucy6969
Member Avatar for slouisee

You can download IE [URL="http://windows.microsoft.com/en-US/internet-explorer/products/ie/home"]here[/URL] (but the question is, why? You can also download [URL="http://www.mozilla.com/nl/firefox/"]FF[/URL] or [URL="http://www.google.com/chrome/intl/en/make/download.html"]Chrome[/URL], after all).

Member Avatar for Sunnyrepairs
0
127
Member Avatar for darianculbert
Member Avatar for jayreis

There is file_get_contents which should work for urls too. If that doesn't work, you could use curl. Then there is strpos which you can use to check if the string is inside those contents. Hope that helps.

Member Avatar for twiss
0
160
Member Avatar for programmer12

What do you mean "in php"? With php, you can do things on the server side. Notifications are shown on the client side.

Member Avatar for diafol
0
547
Member Avatar for abhi10kumar
Member Avatar for prabhjitsw

No, it means that the regex was incorrect. Dots (.) need to be escaped (\.) because otherwise, they allow any character.

Member Avatar for twiss
0
400
Member Avatar for bloodbender

I would do something like this (provided I understand what you want): [CODE] $page = $_GET['p']; // 1, 2, 3, ... $start = ($page - 1) * 10; $counter = 0; [/CODE] In all those while loops, add: [CODE] while(.... && $counter < $start + 10) { if($counter++ < $start) …

Member Avatar for twiss
0
91
Member Avatar for sha1023012

It depends on what you want to do, exactly. Normally, you decide on a page you want to post to (can be another or the same page), and on that page you put the php to process the request and the html for the response (normally in that order, as …

Member Avatar for twiss
0
98
Member Avatar for jacob21

Why then do you post this in PHP? Also you need to be more precise. [U]What[/U] does not work, why do you think that is, and what is the code we should be looking at? Also, do some debugging. Log or alert some variables, check that they're correct, et cetera.

Member Avatar for ko ko
-1
142
Member Avatar for Joe34
Member Avatar for Sorcher

Change row to result on line 2 and swap the two variables on line 3.

Member Avatar for Sorcher
0
64
Member Avatar for premier213

LMAO. Perhaps a mod can replace line 2 .. 3461 with [icode][a lot of irrelevant code that misses one curly bracket][/icode]? @premier213, your code misses a curly bracket :) Edit: actually, there are equally as many { as } , what error do you get?

Member Avatar for diafol
-2
781
Member Avatar for dhruv_arora

For those errors it really helps if you format your code more clearly. If you do, you will see that there's a missing } after line 45. You also need to remove the one on line 47.

Member Avatar for dhruv_arora
0
81
Member Avatar for dyingatmidnight

I didn't read all of the code, but I think you need a session_destroy() somewhere - on a logoff page, or before the header (removeHoldsRequests.php line 10).

Member Avatar for dyingatmidnight
0
534
Member Avatar for programer25

What I always do in such cases is get a bootable linux thing (Ubuntu is easy to use) and check the disk and partitions with that. You can also have it at least first recover your data.

Member Avatar for FragFighter
0
221
Member Avatar for himmat.m4

Perhaps what you need is this: [CODE] data: {sqlQry: '<%=qrySnd%>', recSearch: value} [/CODE]

Member Avatar for twiss
0
243
Member Avatar for fcvolunteer

I think there's something strange with your server - the css file comes with a Not Modified header, while you certainly have modified it. If you clear your browser's cache and reload the page, it should work.

Member Avatar for twiss
0
163
Member Avatar for altarek
Member Avatar for aithabuddy

What have you tried? It should be something like [icode]/abc/function\.mysql-[a-z-]+/([a-z]+) /abc/$1[/icode], but it depends really on what you want exactly.

Member Avatar for twiss
0
54
Member Avatar for cygnusx1
Member Avatar for coleguitajuan
Member Avatar for coleguitajuan
0
133
Member Avatar for MDanz

I would use javascript: [url]http://24ways.org/2007/supersleight-transparent-png-in-ie6[/url].

Member Avatar for sagive
0
81
Member Avatar for riahc3

Perhaps this helps: [url]http://www.devasp.net/net/articles/display/307.html[/url] If not, explain what you don't want, why, and what you do want.

Member Avatar for riahc3
0
117
Member Avatar for haimz

You can set max image sizes in css, for example: [CODE=CSS] #forum_wrapper img { max-width: 400px; } [/CODE]

Member Avatar for ko ko
0
107
Member Avatar for jiten_raulo

Provided the logic is correct, you need to remove the quotes on line 9, 10, 12 and 13 around checkedBox.id and value. Edit; you can also just do this: [CODE] if(checkedBox.checked) { [/CODE]

Member Avatar for Airshow
0
292
Member Avatar for IWDesigns

[url]http://stackoverflow.com/questions/1938714/what-is-a-good-tutorial-or-book-to-learn-credit-card-processing-using-php#1938741[/url]?

Member Avatar for twiss
0
123
Member Avatar for diafol
Member Avatar for untio
Member Avatar for jennia1686

One. You should have a (more) general keyword for your home page, and more specific keywords for the other pages. If every page links to every page, the subpages should get ranking for your main keyword too.

Member Avatar for liveindiantv
0
44
Member Avatar for IROC_69

Well, did you search for "javascript slideshow"? There's a lot of them.

Member Avatar for twiss
-1
109
Member Avatar for nonshatter
Member Avatar for daza166
Member Avatar for JwAlstrom
Member Avatar for veledrom

If you hit F5, your page will get the latest details. Generally, this behavior is what you want and you shouldn't mess with this - in my opinion. Especially if your site is visited by users that pay for data (such as phone users) you want the back button to …

Member Avatar for veledrom
0
2K
Member Avatar for public-image
Member Avatar for sim_pack

This is what the php manual says: [QUOTE] It is worth noting that the mail() function is not suitable for larger volumes of email in a loop. This function opens and closes an SMTP socket for each email, which is not very efficient. For the sending of large amounts of …

Member Avatar for asimshahiddIT
0
711
Member Avatar for newbi11
Member Avatar for migcosta
0
184
Member Avatar for Chimunda

For B, there is [icode].toLowerCase()[/icode]. For A and C, you could use a regular expression. Hint: \s stands for whitespace :)

Member Avatar for twiss
0
197
Member Avatar for codetr

The End.