Search found 31 matches
- Tue Mar 15, 2005 4:33 pm
- Forum: PHP - Code
- Topic: [SOLVED] PHP embedded in javascript
- Replies: 2
- Views: 196
- Tue Mar 15, 2005 12:26 pm
- Forum: PHP - Code
- Topic: [SOLVED] PHP embedded in javascript
- Replies: 2
- Views: 196
[SOLVED] PHP embedded in javascript
Think Im close here but got stuck. Im trying to get an js array filled out by the PHP (which will comde from a DB query). When I do the bolded PHP-in-JS it fails with a js error. (obejct expected, line 61) Actually I would like to generate the Pic[] in js with the help of PHP. Any suggestions or ide...
- Thu Apr 08, 2004 8:46 am
- Forum: PHP - Code
- Topic: getting values from multi-dimensional arrays
- Replies: 3
- Views: 269
- Thu Apr 08, 2004 7:35 am
- Forum: PHP - Code
- Topic: getting values from multi-dimensional arrays
- Replies: 3
- Views: 269
getting values from multi-dimensional arrays
In xx.php I create a muti-dimensional array as follows: $result = mysql_query('SELECT * FROM country'); $country = array(); while($row = mysql_fetch_assoc($result)) { $country[$row['country_id']] = array('country'=>$row['country'], 'language'=>$row['language']); } and post this array with <input typ...
- Wed Mar 31, 2004 12:38 pm
- Forum: Databases
- Topic: date manipulation
- Replies: 6
- Views: 482
- Wed Mar 31, 2004 11:50 am
- Forum: Databases
- Topic: date manipulation
- Replies: 6
- Views: 482
date manipulation
I have a problem with the dates, I just wonder if I can do something about it or wether it is a server issue: all the dates we insert is inserted in the US format yyyy-mm-yy. Can we insert it in the dd-mm-yyyy format just by using the DATE_FORMAT() withut needing to change the server setings (we don...
- Tue Mar 23, 2004 10:46 am
- Forum: PHP - Code
- Topic: a strange phenomena when trying to login
- Replies: 3
- Views: 564
- Tue Mar 23, 2004 10:22 am
- Forum: PHP - Code
- Topic: a strange phenomena when trying to login
- Replies: 3
- Views: 564
a strange phenomena when trying to login
Well, as newbie as I am this have driven me crazy: I send a mail out to the ones who registers. - then - there is a link in which they have to click to both activate themselves and then login. What happens from this point forward i really WEIRD! a) If I directly click the link, and try to login I JU...
- Wed Mar 17, 2004 8:51 am
- Forum: Databases
- Topic: problem with group by query
- Replies: 4
- Views: 716
- Wed Mar 17, 2004 8:08 am
- Forum: Databases
- Topic: problem with group by query
- Replies: 4
- Views: 716
- Wed Mar 17, 2004 6:50 am
- Forum: Databases
- Topic: problem with group by query
- Replies: 4
- Views: 716
problem with group by query
I have problems with the following query...I want to get the maxdate from the group (ref_num) and then check it against the date_sub funciton... SELECT ref.ref_num ref_num, ref.name refname, couns.name counsname,couns.surname counssurname, max(met.meeting_date) meetdate FROM meetings met, refs ref,c...
- Wed Mar 03, 2004 6:25 am
- Forum: PHP - Code
- Topic: 'Undefined index' error in some PCs and not in others
- Replies: 13
- Views: 964
- Wed Mar 03, 2004 5:17 am
- Forum: PHP - Code
- Topic: 'Undefined index' error in some PCs and not in others
- Replies: 13
- Views: 964
- Wed Mar 03, 2004 5:00 am
- Forum: PHP - Code
- Topic: 'Undefined index' error in some PCs and not in others
- Replies: 13
- Views: 964
- Wed Mar 03, 2004 4:45 am
- Forum: PHP - Code
- Topic: 'Undefined index' error in some PCs and not in others
- Replies: 13
- Views: 964
Yes I think so - they have a firewall setup by their service provider. The thing is that he can add new items (updating the DB) but with the error each time php is called. If that is problem how do you usually solve it with so many combinations out there?? And let them test bigger sites - you name i...