8,966 Posted Topics

Member Avatar for Mike_danvers
Member Avatar for it mansoor
Member Avatar for erson212
Member Avatar for raju_6
Member Avatar for tieshenlan

http://www.daniweb.com/web-development/php/code/435142/using-phppdo-with-error-checking

Member Avatar for pritaeas
0
44
Member Avatar for chan6212

This just creates a string array containing the single string "TABLE".

Member Avatar for pritaeas
0
77
Member Avatar for churchill.omorere
Member Avatar for moses.makokwa
Member Avatar for Reverend Jim

I especially enjoyed watching the beating "your friends down south" got against Finland :D

Member Avatar for vegaseat
0
295
Member Avatar for Mike_danvers

With HTML you can specify the width and height required, but then the downloaded image is still in original size when downloaded. With PHP you can use [imagecopyresized](http://nl3.php.net/imagecopyresized)

Member Avatar for pritaeas
0
127
Member Avatar for Mike_danvers

What exactly do you want to happen? The code for `change2.php` is similar to the above, but the query needs to check if the password matches too.

Member Avatar for pritaeas
0
160
Member Avatar for Kawaljeet

> please guide me how i can do that. You can't, unless you start your own phone company.

Member Avatar for williamwalker
2
885
Member Avatar for RikTelner

You can use jQuery's `animate` or Javascript's [scrollIntoView](https://developer.mozilla.org/en-US/docs/Web/API/Element.scrollIntoView)

Member Avatar for RikTelner
0
115
Member Avatar for jainasamiento

Closed. Continued [here](http://www.daniweb.com/software-development/cpp/threads/473718/ifelse-statement)

Member Avatar for pritaeas
0
97
Member Avatar for Typhooncoder
Member Avatar for Dani

Plans yes, for now just lacking the right idea. Well, that and I haven't really looked at the available functionality yet.

Member Avatar for Mike_danvers
4
3K
Member Avatar for kavitha N
Member Avatar for BMXDad
0
232
Member Avatar for pritaeas

I did not receive an email today that I received a new PM. Did something change?

Member Avatar for Dani
0
76
Member Avatar for gabrielcastillo

> Its just laziness to not even make an attempt. A little short-sighted imo. There are more people than you think that are non-english, who have to use English to get an answer to their question. They're all attempting to get their point across.

Member Avatar for Reverend Jim
0
235
Member Avatar for davy_yg
Member Avatar for sk8ergirl

What does your trigger do? Doesn't it just need to run on an INSERT?

Member Avatar for sk8ergirl
0
118
Member Avatar for RikTelner

http://www.php.net/manual/en/language.types.string.php Basically, a double quoted string is parsed for embedded variables, a single quoted string is not. echo "Your ID is: '$id'"; echo "Your ID is: \"$id\""; Javascript accepts both equally, but technically they should be single quoted (historically).

Member Avatar for pritaeas
0
117
Member Avatar for GagaCode
Member Avatar for edbr
Member Avatar for Ravi Rajput

It's a server response stating that the requested page does not exist.

Member Avatar for jobtardisportal
0
229
Member Avatar for GilbertB

> I want to compare between these columns for any similarities in their names. Define similarities. A query cannot guess what the eye can easily distinguish as similar. So you need to define clear rules.

Member Avatar for rch1231
0
146
Member Avatar for neha05

If you use Imagick, it has a method to determine resolution. Not sure if GD provides one. Otherwise there's still an option to read it directly from the file (saw an implementation on SO).

Member Avatar for neha05
0
1K
Member Avatar for GrantB
Member Avatar for grafic.web
Member Avatar for NS-Technologies
Member Avatar for iamthwee

Database ID's should never be exposed to users. Are you sure there is no way around this? For example storing those ID's in your session somehow. What is the reason you need them client-side?

Member Avatar for iamthwee
0
163
Member Avatar for pritaeas

Not sure if it's just me, but I've been experiencing a slow DaniWeb again. Posting a reply takes seconds to complete. Sometimes, loading new pages appears to halt. Other sites I've visited act normal. Happens both at work and at home.

Member Avatar for Dani
3
381
Member Avatar for Banfa
Member Avatar for Dani
0
107
Member Avatar for schroaus

VK_TAB. Here's a list: http://delphi.about.com/od/objectpascalide/l/blvkc.htm

Member Avatar for pritaeas
0
160
Member Avatar for Cameronsmith63
Member Avatar for john_56
Member Avatar for Mike Askew

> Question I have is what would be the best way to do this and how? GitHub or the likes perhaps?

Member Avatar for Ketsuekiame
0
165
Member Avatar for jacob21

WHERE user_id = 1 OR (user_id = 2 AND source LIKE '%facebook%') If that's not what you mean, show some sample data and required result.

Member Avatar for pritaeas
0
98
Member Avatar for Toton_
Member Avatar for ADSteam
Member Avatar for DANISH_1
Member Avatar for chozotheqhai

This should work (off the top of my head): $(".course a.clickshow").click(function(){ $(this).next("div").toggleClass("hidden"); })

Member Avatar for JorgeM
0
345
Member Avatar for nishant_m
Member Avatar for chaitu11
Member Avatar for Viraak
Member Avatar for davy_yg

See [this article](http://kodegeek.wordpress.com/2009/09/05/send-email-using-phpmailer-with-yahoo-business-account/). It states you can only use Yahoo when you have a business account. So your form won't appear because the sending of the mail fails, and then `exit` is called, terminating your script.

Member Avatar for davy_yg
0
2K
Member Avatar for showman13

Why not use: WHERE DATE(last_update) = DATE_ADD(CURDATE(), INTERVAL -1 DAY) Since you are only checking dates (and not times), no need for the between.

Member Avatar for showman13
0
176
Member Avatar for Edgard Désiré
Member Avatar for pritaeas
-1
55
Member Avatar for jkon

> Do you by any chance have a sample code for repopulating the content of a select box depending on the selected value from the previous select box? That's exactly what the code above does.

Member Avatar for pritaeas
1
3K
Member Avatar for davy_yg

> Do I need to install mail server or something on the web server On a shared host `mail` would normally work. Check your cPanel or ask your host. If you are running on localhost a mail server needs to be setup. I don't think you can relay using yahoo …

Member Avatar for nauticalmac
0
801

The End.