[PHP] Event Handling

2010-03-15 Thread Alex Major
Greetings all, I'm currently looking at building a web application, however I've run into an area of development I've not come across before. The web site in its basic form allows users to send cars from a point and then the car will arrive at another point. When the car is set on its way, the sta

RE: [PHP] Event Handling

2010-03-15 Thread Alex Major
heridan.co.uk] Sent: 15 March 2010 12:56 To: Midhun Girish Cc: Jochem Maas; David Hutto; php-general@lists.php.net; Alex Major Subject: Re: [PHP] Event Handling On Mon, 2010-03-15 at 18:28 +0530, Midhun Girish wrote: > rene "a page with an ajax script that kicks off the check-for-recen

RE: [PHP] Still searching for a bugtracking system

2010-03-30 Thread Alex Major
Surely if it's not suitable for your situation, it's not the best? :) Mantis is what I'd recommend and believe has already been recommend to you. Runs using PHP and MySQL, it's flexible for public or private projects, multiple projects etc. I do agree with you that Bugzilla seems heavy, I know it

[PHP] PHP Application Structre

2010-05-10 Thread Alex Major
Greetings all, This question basically surrounds how you structure your PHP applications, whether it changes depending on what you're doing and which you'd favour. I have a feeling it'll come down to a question of personal taste, but on the off-chance there's a best practice I'll ask anyways.

RE: [PHP] multi thread work?

2010-08-04 Thread Alex Major
> -Original Message- > From: Tontonq Tontonq [mailto:root...@gmail.com] > Sent: 04 August 2010 18:21 > To: PHP General Mailing List > Subject: [PHP] multi thread work? > > Hi > how to make a script multi task based like this > > > > for($i=1;$i<=100;$i++) > { > > > $ch = curl_init()

[PHP] If statement question

2006-06-26 Thread Alex Major
Hi list. Basically, I'm still learning new things about php and I was wondering if things inside an if statement get 'looked at' by a script if the condition is false. For example, would this mysql query get executed if $number = 0 ? If ($number == 1) { mysql_query($blah) } I know that's not

[PHP] A variable inside a variable?

2006-06-26 Thread Alex Major
Thanks for your help with my other question, heres a new one for you. I need to nest a variable, inside another variable. For example: $($buildingname)level How (if at all) is this possible? Thanks. Alex. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

[PHP] Calculations

2006-06-27 Thread Alex Major
Hi there list. Thanks for your help with my other questions. I was carrying on working through, and stumbled across a problem when trying to times something by the 'power' of something. By this I mean..in maths you can write 3 * (2 ^ 3), the answer to which would be 24. (as 2 ^ 3 = 8). The reaso

[PHP] Question about Arrays

2006-10-10 Thread Alex Major
Hi List. I have a table, which contains 'setting' information for my website. The table has the following columns: setting_id, setting_name and setting_value. Now there are currently 30 settings stored in this table, however i am having trouble pulling values out on a 'as needed' basis. At the

[PHP] Using PHP/HTML effectivly

2006-06-14 Thread Alex Major
Hi List, I've been (very slowly) working my way through some basic php, and putting it into my html site. However recently (after trying things out such as cookies or redirects where they have to be set before any page output) I've found that the combination or certainly the way that I'm using

Re: [PHP] Using PHP/HTML effectivly

2006-06-14 Thread Alex Major
Thankyou everyone who responded to my original message. All of your ideas have showed me the various ways of doing it, however I believe that the idea from Jons message is best suited to my needs. I realise the logic behind it, its put together some knowledge I have already so I think I'll use it f

[PHP] An annoying session problem

2006-06-19 Thread Alex Major
Hi there. I'm working my way through a new script, but I've stumbled into a problem. Some data that I've set into a session, won't be processed by part of my php code, but then later on in the page I can get the session value to output. Also, just so that its clear, the mysql code is correct (I ca

Re: [PHP] An annoying session problem

2006-06-19 Thread Alex Major
Thanks for pointing that out, however I've changed the code to: Food: Wood: Stone: Gold: Session user_id is: And I'm still not getting the output correctly. I don't think that the SELECT query is working properly, is there problem with how I've put:

Re: [PHP] An annoying session problem

2006-06-19 Thread Alex Major
[EMAIL PROTECTED]> wrote: > At 12:27 AM +0700 6/20/06, Gmail nya Suprie wrote: >> tedd wrote: >>> Alex Major wrote: >>> >>>> And I'm still not getting the output correctly. >>>> I don't think that the SELECT query