This is not really a PHP question, but a mysql question.
Anyways, your query should work, as far as i can see.
If you give the structure dumps and some relevant data dumps i don't mind to
give it a try here.
-
http://devshed.excudo.net http://devshed.excudo.net
--
View this message in
bruce-60 wrote:
Hi list...
I need a way of managing users/teams/etc.. implementing roles/access
rights/privs,etc...
Have a look at Zend_Acl:
http://framework.zend.com/manual/en/zend.acl.html
-
http://devshed.excudo.net http://devshed.excudo.net
--
View this message in context:
I agree, add some checks in your testcase so you can track exactly what is
happening and see of what type your variables are.
Also, try what happens when you
- switch off persistent-connections (PDO::ATTR_PERSISTENT= false)
- pass the object by reference (getClientFullName($id,$dbh))
-
I would create a separate table for this (confirmation_numbers or something)
with an autoincrement primary key. That way you can simply insert a new
record for you contact and then ask (using mysql_insert_id()) what the
confirmation number is.
This approach is much safer as you can be 100% sure
What do you mean with 'stops working'?
Also, have you created a test-script that only contains (what you think is)
the core-problem? If so, can you paste it here? And if not, i advise you to
make one, so you can exclude that other factors play a role here.
Thodoris wrote:
Hi list,
I am
These classes contain methods which are just normal functions only residing
in a class.
pichoscosama wrote:
When I look at online documentations of PHP I can not see ImageMagick
functions. Only classes. What happened?
--
Allah varsa çocuklar neden ölüyor ki?
--
PHP General
Or, if your mysql version allows it:
SELECT 1, GROUP_CONCAT(some_col) FROM history GROUP BY 1 LIMIT 0,16
That would take away the need to create a comma seperated string in php,
because mysql will have already done it for you ;-)
Dan Shirah wrote:
TGIF?
Apparently my brain isn't working
Defining multiple classes with the same name but different implementation
doesn't seem like a good idea to me. Why did you choose to do this?
also, have a look at this function:
http://www.php.net/autoload
i'm not sure what you're trying to accomplish exactly, but whatever it is,
it might be
8 matches
Mail list logo