probably a better choice,
though (IMHO).
Larry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
).
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
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
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
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
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
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
).
Thanks,
Larry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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:/
#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
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
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
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
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
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
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
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
available mods.
Larry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
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
db.)
HTH,
Larry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
801 - 822 of 822 matches
Mail list logo