Another method could be the base64_encode(),base64_decode().
Something like this :
echo(codigo:. $row['codigo'] . | familia: stronga
href=\.$_SERVER['PHP_SELF'].?familia03=.base64_encode($row['familia']).cat02=$cat02cat03=$cat03cat04=$cuadro04\.
$row['familia']./a/strongbr \n);
Hope it helps,
You can use
date('YmdHis',strtotime($your_date_string));
check
http://ro.php.net/manual/en/function.date.php
for more about the date function.
On Sat, 2005-05-07 at 18:06 -0700, Graham Anderson wrote:
I need to batch convert a bunch of date strings into mysql time stamps:
If I have the
The message that you receive is not an error, it
is a description of the object $result after the
query is done.
So, you will not get anywhere just by echo $result,
you have to process that information using one
of the mysql_fetch_array(),mysql_fetch_assoc(),
mysql_result().
In your case try :
the stripslashes function.
Hope it helps
Firan Corneliu
On Mon, 2005-05-16 at 11:20 +0300, Petzo wrote:
Hi,
My question is about the norlmal behaviour of PHP and MYSQL but I cant
explain it without a simple example. Thank you for reading:
I have the following code
If you mean database access that is simple, just create
a user that has access only from localhost (and of course
remove the others).
For mysql just do the query :
GRANT ALL PRIVILEGES ON your_database.* to 'user'@'localhost'
identified by 'password'.
If you mean http access then you can
Are you sure you're not using q instead of g :)
just to be sure, you can check if a function exists by using
$boolExists = function_exists('any_function_name');
http://www.php.net/manual/en/function.function-exists.php
On Tue, Apr 13, 2010 at 11:20 AM, Gary . php...@garydjones.name wrote: