[PHP] Update does not work...but no errors either

2008-05-31 Thread Ryan S
Hey, This is my code: == $update_sql="update greetings_final set heading='$heading',message='$message',signature='$signature',font_size='$font_size',font_color='$font_color',bg_color='$bg_color' where temp_cno='".$thecno."' and rand

[PHP] Class Load twice

2008-05-31 Thread Yui Hiroaki
hi! Please take look at my code; I have two files. one of the two file is wrtten mail() function. when load.php is loaded, mail(), written by MyClass.php, os also loaded. I just do not want to load mail() when load.php is load. if you know how to solove it, please teach me it! *MyClass.ph

Re: [PHP] Class Load twice

2008-05-31 Thread Ludovic André
Hi, I just do not want to load mail() when load.php is load. if you know how to solove it, please teach me it! I assume that the second file is named 'load.php' ? Then you should just comment the line starting with mail(... in MyClass.php So: *MyClass.php*** buff(); //mail("[

Re: [PHP] Class Load twice

2008-05-31 Thread Yui Hiroaki
Yes, Second file is load.php(NOT MyClass.php ) If you add comment Mail() function ,in MyClass.php, I can not get any email! I just want to get email from only MyClass.php. Regards, Yui 2008/5/31 Ludovic André <[EMAIL PROTECTED]>: > Hi, >> >> I just do not want to load mail() when load.php is l

Re: [PHP] PHP eg.

2008-05-31 Thread mukesh yadav
hey thank you guys for your reply and suggestion i really appreciate it... now I'm planning to to write a small project. I think it will be a best way to learn PHP and the stuff how it works. defiantly this mailing list will provide me great help when ever I'll need. On Fri, May 30, 20

Re: [PHP] PHP eg.

2008-05-31 Thread Bastien Koert
On 5/31/08, mukesh yadav <[EMAIL PROTECTED]> wrote: > > hey > thank you guys for your reply and suggestion i really appreciate > it... > now I'm planning to to write a small project. I think it will be a best way > to learn PHP and the stuff how it works. > defiantly this mailing list wil

Re: [PHP] Update does not work...but no errors either

2008-05-31 Thread Daniel Brown
On Sat, May 31, 2008 at 4:23 AM, Ryan S <[EMAIL PROTECTED]> wrote: > > > Hey, > > This is my code: > == > $update_sql="update greetings_final set > heading='$heading',message='$message',signature='$signature',font_size='$font_size',font_

Re: [PHP] phpeclipse debugging & setup

2008-05-31 Thread Selwyn Polit
I also fiddled with eclipse for a bit, but couldn't make it debug. I really like nusphere php-ed. Debugging works great - local or remote to your web server. Not free, but worth it. PJ wrote: Running FreeBSD 7.0, Eclipse SDK 3.3.2, java 1.6.0_03-p4, apache 2.2.8, php5.2.6, postgresql 8.3.1

Re: [PHP] Class Load twice

2008-05-31 Thread Brady Mitchell
On May 31, 2008, at 211AM, Yui Hiroaki wrote: I just do not want to load mail() when load.php is load. if you know how to solove it, please teach me it! *MyClass.php*** buff(); mail("[EMAIL PROTECTED]","test","test"); class MyClass{ Private $google; function __c

[PHP] Re: PHP eg.

2008-05-31 Thread zerof
mukesh yadav escreveu: Hi, I'm trying to learn a PHP by myself...and i need a help. I have learned all the basic but i dont know how to implement the stuff. Can you please guys help me out give me a small site in PHP so that i can study and learn. thank you. Maybe, this site can help you to

Re: [PHP] phpeclipse debugging & setup

2008-05-31 Thread PJ
Eric Butera wrote: On Fri, May 30, 2008 at 11:59 AM, PJ <[EMAIL PROTECTED]> wrote: Running FreeBSD 7.0, Eclipse SDK 3.3.2, java 1.6.0_03-p4, apache 2.2.8, php5.2.6, postgresql 8.3.1. I found that configuring Xdebug just does not work the way all the manuals, instructions and hints suggest: t

Re: [PHP] Update does not work...but no errors either

2008-05-31 Thread Ryan S
Hey DB, Thanks for replying, I did solve it though was running a lot of tests and checking a lot of stuff with the fill before i finally added the database stuff... but forgot to include() the connection file :) Thanks for writing though! Cheers! R -- PHP General Mailing List (ht

[PHP] Anybody got a little spare time to help me out with a little OOP

2008-05-31 Thread Ryan S
coz i suck at OOP! Hey! Am trying to modify a wordpress plugin file,the name of the plugin is POST TEASER and can be downloaded from here http://wordpress.org/extend/plugins/post-teaser/, it works as advertised and this is what it does: I specify for example 4 words before the page should be

[PHP] saving outside website content via php...

2008-05-31 Thread blackwater dev
I'm using the google api to allow people to search the web via my site. The pages are simply iframed within my site. Is it possible for me to give them a 'save' button and let them save the page they are viewing in it's current state? I don't mean save to their computer but I would use php to sa

Re: [PHP] Anybody got a little spare time to help me out with a little OOP

2008-05-31 Thread Jim Lucas
Ryan S wrote: coz i suck at OOP! Hey! Am trying to modify a wordpress plugin file,the name of the plugin is POST TEASER and can be downloaded from here http://wordpress.org/extend/plugins/post-teaser/, it works as advertised and this is what it does: I specify for example 4 words before the