430 Posted Topics
Re: You can make them at [url]https://creator.zoho.com/[/url] and embed them in your website. | |
Re: Airshow's solution is correct. The problem was [icode]css_code[css_code.length + 1][/icode]: if you have for example 2 elements in your array, css_code.length + 1 equals 3. But css_code[3] is the 4th element in your array, so you're leaving one open. | |
Re: The problem is, that before this script even started executing, you already echoed (or printed) some text. As this script as far as I can see will always cause a redirect, you don't need menubar.php. Also I would change the javascript to headers. | |
Re: PHP generally does not write any HTML for you, so you'll have to start doing that yourself. And then, you can add PHP in the places you want to add something dynamic. | |
Re: Facebook does not expect everybody to know this. That's why they wrote documentation on the api after all. If you don't understand it, well, there's a lot to find about it. Page object: [url]http://developers.facebook.com/docs/reference/api/page/[/url] Example json return: [url]https://graph.facebook.com/platform?access_token=2227470867%7C2.AQDPQ5H-0BRJh_rG.3600.1307466000.0-100000253715663%7C-6Pydd29UDy5_YQMZhUPN3eBn1E[/url] (for [url]http://www.facebook.com/platform[/url]) | |
Re: You'll have to specify an absolute url, I guess? | |
Re: Yes, this should work. Do you have it live somewhere, where does it not work, are you sure there is an #error? | |
Re: The point stands, and if you need to keep your current session structure, you could build up an array at show time (with category as key and products array as value). | |
Re: I know this thread is really old, but in case it helps: take a look at [url]http://api.jquery.com/category/ajax/global-ajax-event-handlers/[/url]. You can throw functions that show and hide your message at ajaxStart() and ajaxStop(). | |
Re: This made me (do some searches and) find [url]http://rinkworks.com/stupid/cs_programming.shtml[/url]. It's really funny. ![]() | |
Re: Use preg_split: [CODE] $arr = preg_split('\[!(FIRST|LAST|OPTIONAL)!\]', $text); [/CODE] | |
Re: Frames don't have a focus. What exactly do you want to do? Also, do you really need a frame? Avoid them :) | |
Re: That's not going to work, it should be $_GET[alpha]. (Edit: oops. Didn't notice the curly brackets.) Also, please use $_SERVER['PHP_SELF'] instead (it's safer), or even better, just the name of the current page. And why use printf at all (just asking)? | |
Re: Agree with ardav, but the problem (I think) is that you need escaping: [CODE] $extract2 = mysql_query("SELECT * FROM tbl_destination WHERE fld_hotelname='".mysql_real_escape_string($hotelname)."'"); [/CODE] | |
Re: What did you try? You'll need to write a small javascript thing that hides or removes the element. | |
Re: Well, post what you tried? | |
Re: Don't check login and pass in javascript, if security is what you want. You'll have to check things in php. If you don't mind, add quotes around the php tags or call json_encode on the variables. | |
Re: Do you have this live somewhere? If not, also post the html, and place both in code=css and code=html tags. This belongs in html&css, by the way, as your own title suggests. | |
| |
Re: I'm not sure, but if it's a stream, isn't it impossible for wpm to know what song it's playing exactly? You'll have to make something seperate for that. | |
Re: Remove the quotes around $data->status->text. You can use strpos() to check if $text contains the things you're looking for. If it does, store the id, store it and break :) | |
Re: Hi and welcome! Please use code tags. Generally, javascript lines end with a semicolon ( ; ), but that's not the problem now. Division is done with a forward slash ( / ) - line 13. Also, there's something wrong with your document.write. What do you want to write? And … | |
Re: Start with posting what you tried? Is that selected text in an input box or textarea or somewhere else? | |
Re: I think that you want is a javascript wysiwyg html editor, such as [url=http://tinymce.moxiecode.com/]TinyMCE[/url]. (You can also make it produce BBCode, if you want, instead of HTML). | |
Re: [url]http://code.google.com/p/facebook-java-api/[/url] or [url]http://code.google.com/p/javabook/[/url] should help. Edit: do not post things [url=http://www.daniweb.com/web-development/jsp/threads/367142]twice[/url]! Even if you don't know where something belongs, don't. | |
Re: What doesn't work about preg_match? Don't worry about notices. In this case, it is only a problem if magic quotes are on. You could put $info_error=''; somewhere above that line. | |
Re: Take a look at line 56 and 57 of epoch_classes.js, maybe you can change that to place them differently? | |
Re: Don't post things twice. Dreamweaver isn't perfect (nor any other WYSIWYG editor), live with it ;) If you really want control over your pages, code them yourself. | |
Re: I think you mean this: [CODE] $_SESSION['login_name'] = $_POST['login_name']; $_SESSION['login_pass'] = $_POST['login_pass']; [/CODE] | |
Re: You might want to link to the google pdf viewer, it's faster. Showing a loading message will be hard, unless you do some trick with frames. | |
Re: Probably you can as long as you buy a Notebook card, but you should ask before buying, there should be an empty slot, no? | |
Re: There are a lot of things email providers may check to see if a mail is spam or not, but generally, they have nothing to do with the OS the mail was sent from. | |
Re: Get the Unix time of both, and substract them, that's the diff in seconds. | |
Re: Well, you'll have to stop using ID's, use classes instead. It's easier if you start using a framework, such as jQuery. | |
Re: Do you want it at the bottom of the page or of the screen? If at the bottom of the screen, change the position of #footer to fixed and add padding-bottom: 100px; to #termsandpolicy. | |
Re: What I would do: make a [icode]var options = [][/icode], loop through all the options, check if it is in your array, if so, remove it, if not, put it in the array. | |
Re: It depends, if you're on a shared host, you'll probably have to install that in phpmyadmin or something like that, but in any case, there's a lot to find about it on the 'net. | |
Re: jQuery doesn't raise an error often, as IE sometimes displays an error message box and they didn't want that to happen. You'll have to do some logging, what doesn't work? As a start, put [icode]console.log(json);[/icode] after line 10 and look in you're browser's console if you have the data. What … | |
Re: What have you tried implementing it? An access token is a token that your app can do things in Facebook with on the user's behalf. | |
Re: If you write valid HTML, everything should be fine. If something works in FF (or anything but IE, really) and not in IE, you ran into a bug in IE (there's [url=http://positioniseverything.net/explorer.html]a lot of them[/url].) and you'll have to find a workaround (that site there also mentions workarounds). | |
Re: What did you try yet? In PHP, you can access GET variables (if you used method=get in your form) in the superglobal $_GET, and the POST variables (if method=post) in $_POST. For example, if you have a checkbox with name=someCheckbox, $_GET['someCheckbox'] (or post, but get is probably better in this … | |
Re: To pass data to the page, pass it as the second parameter: [CODE] $("#planpopup").load('view_demo_plan.php', {current_plan_id:current_plan_id}); [/CODE] In php, you can then access $_POST['current_plan_id']. | |
Re: What does this link have to do with your question? Don't spam, please. Generally, before putting something in a database, use mysql_real_escape_string, but if magic quotes are on, don't do this. If they might be or not be on (i.e. you're using your code on more than one server) use … | |
Re: Generally, it's elseif, not else if. But what doesn't work? Do some logging, does php enter the if, what does it assign to $grade, etcetera. | |
Re: Some tips (what I would do): - Drop the table, you don't need it. - Put every row in a div (and give them a class with position:relative) - Put every box in a div and give them a (class with) 100% height and a fixed width (1/3 minus spacing) … | |
Re: There's a wikipedia page on that: [url]http://en.wikipedia.org/wiki/Point_in_polygon[/url]. Also take a look at [url=http://www.phpclasses.org/browse/file/10683.html]this[/url] class. | |
Re: Probably there is a problem with your code, can you post it? Also, check it with the w3c validators. | |
Re: Can you post some code, or a link to the page? Perhaps using overflow:scroll helps. | |
Re: Is it possible to buy it somehow if you're not in the UK? | |
Re: Post what you tried at least, I mean the PHP. And use [i]code[/i] tags. |
The End.