430 Posted Topics

Member Avatar for Ritesh_4

You can make them at [url]https://creator.zoho.com/[/url] and embed them in your website.

Member Avatar for Ritesh_4
0
60
Member Avatar for Joe34

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.

Member Avatar for Airshow
0
165
Member Avatar for MavrickIT

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.

Member Avatar for twiss
0
84
Member Avatar for ibakir

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.

Member Avatar for ibakir
0
200
Member Avatar for epicrevolt

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])

Member Avatar for twiss
0
191
Member Avatar for AngelicOne
Member Avatar for hawx

Yes, this should work. Do you have it live somewhere, where does it not work, are you sure there is an #error?

Member Avatar for levanlong
0
130
Member Avatar for Besherek

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).

Member Avatar for Besherek
0
178
Member Avatar for nunos

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().

Member Avatar for twiss
1
1K
Member Avatar for Spyzker

This made me (do some searches and) find [url]http://rinkworks.com/stupid/cs_programming.shtml[/url]. It's really funny.

Member Avatar for diafol
0
179
Member Avatar for Thyvo

Use preg_split: [CODE] $arr = preg_split('\[!(FIRST|LAST|OPTIONAL)!\]', $text); [/CODE]

Member Avatar for Thyvo
0
208
Member Avatar for RobotFX

Frames don't have a focus. What exactly do you want to do? Also, do you really need a frame? Avoid them :)

Member Avatar for twiss
0
868
Member Avatar for rohittripathi

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)?

Member Avatar for twiss
0
462
Member Avatar for branding4you

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]

Member Avatar for twiss
0
362
Member Avatar for jackparsana
Member Avatar for jackparsana
0
314
Member Avatar for indianbaski
Member Avatar for PinoyDev

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.

Member Avatar for PinoyDev
0
173
Member Avatar for webPgmmr

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.

Member Avatar for noelpasia
0
177
Member Avatar for begin1
Member Avatar for BlueCharge

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.

Member Avatar for twiss
0
141
Member Avatar for ayathullah

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 :)

Member Avatar for twiss
0
189
Member Avatar for wazakiller

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 …

Member Avatar for wazakiller
0
101
Member Avatar for haimz

Start with posting what you tried? Is that selected text in an input box or textarea or somewhere else?

Member Avatar for twiss
0
139
Member Avatar for mnasir79

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).

Member Avatar for twiss
0
6K
Member Avatar for Sadun89

[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.

Member Avatar for twiss
0
77
Member Avatar for didi00

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.

Member Avatar for didi00
0
168
Member Avatar for newbie14

Take a look at line 56 and 57 of epoch_classes.js, maybe you can change that to place them differently?

Member Avatar for newbie14
0
108
Member Avatar for Jollyyy100

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.

Member Avatar for Suetan
0
137
Member Avatar for PinoyDev

I think you mean this: [CODE] $_SESSION['login_name'] = $_POST['login_name']; $_SESSION['login_pass'] = $_POST['login_pass']; [/CODE]

Member Avatar for PinoyDev
0
153
Member Avatar for divyakrishnan

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.

Member Avatar for twiss
0
123
Member Avatar for chamnab

Probably you can as long as you buy a Notebook card, but you should ask before buying, there should be an empty slot, no?

Member Avatar for Rik_
0
91
Member Avatar for zubaircs

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.

Member Avatar for twiss
0
276
Member Avatar for Aeterna
Member Avatar for manu555

Well, you'll have to stop using ID's, use classes instead. It's easier if you start using a framework, such as jQuery.

Member Avatar for manu555
0
179
Member Avatar for kz13

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.

Member Avatar for macgurl70
0
172
Member Avatar for Arthi Raman

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.

Member Avatar for Arthi Raman
0
100
Member Avatar for altarek

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.

Member Avatar for vibhaJ
0
51
Member Avatar for ispeakbinary

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 …

Member Avatar for twiss
0
179
Member Avatar for agam360

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.

Member Avatar for agam360
0
193
Member Avatar for samsnov

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).

Member Avatar for samsnov
0
257
Member Avatar for newbi11

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 …

Member Avatar for Sadun89
0
109
Member Avatar for sunny124

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'].

Member Avatar for sunny124
0
2K
Member Avatar for clairet

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 …

Member Avatar for vibhaJ
0
98
Member Avatar for dhruv_arora

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.

Member Avatar for dhruv_arora
0
134
Member Avatar for seblake

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) …

Member Avatar for seblake
0
173
Member Avatar for karthik_ppts

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.

Member Avatar for Narue
0
181
Member Avatar for bangla

Probably there is a problem with your code, can you post it? Also, check it with the w3c validators.

Member Avatar for almostbob
0
221
Member Avatar for lemur

Can you post some code, or a link to the page? Perhaps using overflow:scroll helps.

Member Avatar for lemur
0
69
Member Avatar for happygeek
Member Avatar for unversity top
Member Avatar for karthik_ppts
0
175

The End.