[PHP-DB] variable names

2002-10-01 Thread Brendan Flynn
Hello, I have installed PHP4 with Apache support - the phpinfo works fine and I am able to write PHP code to display a timetable from a MYSQL database. However I cannot add or use the command insert when trying to add information. I have done a few tests and when I run the same scripts with the

Re: [PHP-DB] array in db field -> actual array

2001-09-13 Thread brendan
scratch that, i had a syntax error in the array.. you were completely right dobromir eval() works perfectly.. thanks! Brendan wrote: > thanks dobromir, > unfortunately that doesnt seem to work ... > although looking at the php manual you seem to be on the right track.. > could

[PHP-DB] Re:[PHP-DB] array in db field -> actual array

2001-09-13 Thread brendan
thanks dobromir, unfortunately that doesnt seem to work ... although looking at the php manual you seem to be on the right track.. could the way the textfield is parsed & passed back affect the array? cheers! brendan Dobromir Velev wrote: > Hi, > I think you can use the eval() f

[PHP-DB] array in db field -> actual array

2001-09-13 Thread brendan
nd $newarray should be $newarray[0][1]="one"; $newarray[0][2]="two"; $newarray[0][3]="thre"; $newarray[1][1]="four"; $newarray[2][1]="five"; elp? cheers brendan -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP-DB] help please... session -> database

2001-08-23 Thread brendan
cheers andre i tried that too.. and while i can get it to work by extracting with stripslashes i was trying to enter the '.' itself .. when i see the entry in myphpadmin it is still a '@' thanks tho.. brendan Andre P. wrote: > Try > > $link = addslashed($HTT

[PHP-DB] help please... session -> database

2001-08-23 Thread brendan
hello, i have hit a major stumbling block and am now getting really frustrated.. if someone could point me in the right direction i would really appreciate it.. - i have a set of forms across a number of pages - the user enters data into each of the forms and these are placed in a session vari