Re: [PHP] alert function

2004-11-14 Thread Larry E . Ullman
probably a better choice, though (IMHO). Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sql insert into 2 tables

2004-11-28 Thread Larry E . Ullman
). You'll need to run separate INSERT queries, I suspect. If one query relies upon a primary key created by the other, make use of the mysql_insert_id() function. Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: and statement

2004-11-28 Thread Larry E . Ullman
condition2)... All of this is in the MySQL manual, of course. Larry PS Technically speaking, this question would have been more appropriate on a MySQL list (or the PHP-DB list). -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ScreenHeight?

2004-12-01 Thread Larry E . Ullman
Is there any way of getting the clients screenheight in PHP? (or do I have to do it in Javascript) You have to do it with JavaScript. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] first letter

2004-12-20 Thread Larry E . Ullman
if i have for example this variable $name = "John"; how can i echo the first letter only so the result on the browser will be "J" echo $name[0]; You could also use the substr() function. Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OT Re: [PHP] can I compile php source

2004-12-21 Thread Larry E . Ullman
ven longer, off topic threads such as this one. So, seriously, if you don't feel like helping or you don't believe that a message should be posted here because it's off topic or you don't believe that a question was phrased properly, wouldn't it be better for everyone if you just didn't respond? It'd certainly be easier. Oy vay! Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] can I compile php source

2004-12-21 Thread Larry E . Ullman
Guys, this is trivial. It takes the same effort to provide the answer to whoever this guy was, than to lecture him on how to think. "Teach a person to fish ..." That's a good and true adage and certainly a philosophy to be put forth by this list. But, the question is, does an answer of "Yes" teac

[PHP] [JOB] Need a Developer for PHP-MySQL Project

2005-08-01 Thread Larry E . Ullman
). Thanks, Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] colleges/schools that offer php/web development courses

2005-09-21 Thread Larry E. Ullman
eplacement and the class will be available again. It is a credit-earning course. The URL is http:// explore.berkeley.edu/UCExt/courseview.asp? secid=426&value=related&action=Internet Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP]PHP Syntax Notation

2005-09-27 Thread Larry E. Ullman
an instance of the CSite class. Run() is a method (i.e., a function) defined within this class, so the statement $site->Run() executes that function. This is basic object oriented stuff which you may not have run across before. Hope that helps, larry -- PHP General Mailing List (http:/

Re: [PHP] setcookie() is not my friend

2005-10-06 Thread Larry E. Ullman
#x27;], which is syntactically correct? Secondarily, have you set your browser to prompt you when a cookie is sent and, if so, what happens? Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] connect to MySql

2005-10-23 Thread Larry E. Ullman
ing the _right_ php.ini file (the one indicated when you run phpinfo())? Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Register Globals

2005-11-04 Thread Larry E. Ullman
t;]), wordwrap($_POST ["message"], 60), "From: {$_POST["from"]}\r\n"); You only have to do this within other quotation marks and only if the array's index is a string. Hope that helps, Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] No forums?

2005-11-04 Thread Larry E. Ullman
aid, I think everyone should send me $5. I've monitored this list long enough to predict the most probable replies... Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] No forums?

2005-11-05 Thread Larry E. Ullman
What? Well, it IS extra work. The mailing list exists and, many believe, work just fine. Doing more than what is currently being done is "extra", right? Or "more"? I'm almost positive about that. Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php mac folder

2005-11-05 Thread Larry E. Ullman
You should not use "Sites" in the URL, as the Mac is already setup to redirect ~myname to the user's Sites directory. Hope that helps, Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Fixing ID's in mySQL Table

2005-11-08 Thread Larry E. Ullman
ou need the records to be listed in some sort of order, you should add another column or table that manages that. But leave the primary key alone. Hope that helps, Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Gotta learn asp.net...

2005-11-10 Thread Larry E. Ullman
oing something kind of complex is pretty simple. All the built in widgets and wizards help and the form validation tools are really nice. Hope that helps, Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Forum

2005-12-06 Thread Larry E. Ullman
available mods. Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] input validation?

2006-01-12 Thread Larry E. Ullman
I need to check that user input text is less than 300 characters long. How? if (strlen($_POST['input']) < 300) { ... You may want to also apply trim() to the input text to get rid of extraneous white space at the beginning and end of the input. Larry -- PHP General Maili

Re: [PHP] LIMIT?

2006-02-06 Thread Larry E. Ullman
to do the archive page SELECT * FROM `x_news` LIMIT 16 , xx? What you're describing is called "pagination". There are examples online. Basically you just need to pass to the second (and other) pages the LIMIT values (16 and xx above). Larry -- PHP General Mailing List (ht

Re: [PHP] Clear POST variables

2006-02-16 Thread Larry E. Ullman
db.) HTH, Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    4   5   6   7   8   9