Re: [PHP] Advice/opinion requested on page section lineup

2005-02-13 Thread Alp
Thanks Burhan, That's almost what I exactly want to do. The question is "how do I start doing that" which methodlogy, which structure, etc,,, Alp "Burhan Khalid" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Alp wrote: > > Hi Jochem,

Re: [PHP] Advice/opinion requested on page section lineup

2005-02-12 Thread Alp
but with a numbering/precedence/sorting (can be named any) system that populates the page according to the choice. Roughly: <--first section--> <--second section--> <--third section--> <--fourth section--> <--fifth section--> etc... Clearer now? Alp "Jochem Maas"

[PHP] Advice/opinion requested on page section lineup

2005-02-12 Thread Alp
m (somehow), shall I use a seperate table to store the lining-up information or shall I add a "precedence" integer column to each relevant table in the database, ...? Thanks in advance for your guidance. Alp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Highlighting a stored value as 'selected'

2005-02-08 Thread Alp
Hi Jarratt, Thank you for your advice. I will try that and come back with the result. Alp "RaTT" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello Alp > > Try something like, > > > //DB fields as an array > > $db_fields = array(

[PHP] Highlighting a stored value as 'selected'

2005-02-08 Thread Alp
f the above tied to 'if's but would rather ask for an easier or better way. Thanks in advance. Alp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Trying to match two tables' data - Resolved (for now at least)

2005-02-05 Thread Alp
t ''; $c=0; while ($c < $colcnt) { print ''; print ''; print ''; print ''; print ''; print ''; $c++; } Print ''; $i++; } print ''; Thanks anyway. Alp "Alp" <[EMAIL PROTECTED]> w

[PHP] Trying to match two tables' data

2005-02-05 Thread Alp
neral, i.e. 2), the display should show 2 lines of input boxes under each header text in the browser for data entry into these detail lines. Clear as mud? Its getting there for me slowly... Thanks in advance. Alp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Multiline data Insert Into table from a generated form?

2005-02-04 Thread Alp
Hi Chris, Thanks for reminding but until I'm done with the whole thing it is operating on a PC and that's why the username/password are the default. Even the DB name is for testing only. Alp "Christopher Fulton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTE

Re: [PHP] Script stuck on final ?>

2005-02-04 Thread Alp
Hi Jochem, "Jochem Maas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Alp wrote: > > Thanks Jochem. Ctrl+Shift+M is also another great way to catch a mistake. I > > have never gone through the help before, looks like I should have... > > thats

Re: [PHP] Multiline data Insert Into table from a generated form?

2005-02-04 Thread Alp
lucky in finding examples that could show me the way, where/how to start... I will try your suggestions and let you know. Thanks for all your help. Alp "Mike Smith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Change: > > while ($c=0;$c > to (change

Re: [PHP] Script stuck on final ?>

2005-02-04 Thread Alp
Thanks Jochem. Ctrl+Shift+M is also another great way to catch a mistake. I have never gone through the help before, looks like I should have... Alp "Jochem Maas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Alp wrote: > > Thanks Richard, > > >

Re: [PHP] Script stuck on final ?>

2005-02-03 Thread Alp
Thanks Richard, I thought I wasn't missing one, that is until James pinpointed it! I'm using TextPad which does have syntax dependent text coloring, but unfortunately it does not point out what you are missing such as a closing bracket (unlike Dreamweaver). Alp "Richard

Re: [PHP] Re: Script stuck on final ?>

2005-02-03 Thread Alp
Thanks for pointing it out James. That was it! At least now I do not end up with a blank browser page, but unfortunately I can not achieve what I am trying to do though which is inserting the user input to the relevant tables. I'll keep on trying my luck/witts until I get it... somehow...

[PHP] Re: Script stuck on final ?>

2005-02-03 Thread Alp
browser and receive this parse error pointing to the last line of code. Any ideas to how I can overcome this? The loop I am using is given below. Thanks in advance. Alp Code: for ($c=0;$c wrote in message news:[EMAIL PROTECTED] > Why would a php script get stuck at the ver last li

[PHP] Script stuck on final ?>

2005-02-03 Thread Alp
Why would a php script get stuck at the ver last line of code in php/mysql combination? I'm getting a parse error at the very last line. Thanks in advance for your help. Alp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Multiline data Insert - Resolved

2005-02-02 Thread Alp
Hi Mike, Resolved it. Well, actually your code is a 'for' rather than a 'while' which I realized a bit late. :-) And there were two fullstops that needed to be a comma. Now it works. Thanks a lot for your guidance. Alp "Alp" <[EMAIL PROTECTED]> wrote in mess

Re: [PHP] Multiline data Insert Into table from a generated form?

2005-02-02 Thread Alp
Hi Mike, PHP returns a parse error indicating the line number for the while (.) ! Code now is: function add_to_database( $tourid, $dayno, $fromto, $bld, $descrip, &$dberror) { //user connection section--begin $username="root"; $password=""; $database="nazardane"; $link = mysql_pconnect("

Re: [PHP] Multiline data Insert Into table from a generated form?

2005-02-02 Thread Alp
Thank you Mike for your quick reply. I will try to incorporate it into the function I'm using and let you know the result. The function code is also given below. Alp function add_to_database( $tourid, $dayno, $fromto, $bld, $descrip, &$dberror) { //user connection section--begin

[PHP] Multiline data Insert Into table from a generated form?

2005-02-02 Thread Alp
rs, advice would be highly appreciated. Thanks in advance. Alp Code: print ''; print ''; $i = 1; while ($i <= $tour_days) { print ''; print ''; $days = ("Day 0".$i); print $days; print ''; print ''; print &#x

[PHP] Recall: [PHP] Converting a string into ASCII and a bit more - newbie

2004-11-15 Thread Alp Bekisoglu
The sender would like to recall the message, "[PHP] Converting a string into ASCII and a bit more - newbie". -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Converting a string into ASCII and a bit more - newbie

2004-11-15 Thread Alp
Thanks Matthew, Got it going finally. Would you be able to help in my further question? Alp "Matthew Fonda" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > This ought to work: > $string = 'ABCDEFGHIJ'; > $chars = preg_split('//', $st

Re: [PHP] Can't get results from MySQL via PHP

2004-11-15 Thread Alp
Thanks for your response, I did finally sove it by changing mysql_fetch_row($result); to mysql_fetch_array($result); and assigning my variable as $somevar = $list['fieldname']; Now I get my real value. Thanks again. Alp "Raditha Dissanayake" <[EMAIL PROTECTED]> wr

[PHP] Can't get results from MySQL via PHP

2004-11-15 Thread Alp
t;>> returns Array and actually the data in the table is a four digit number! The query returns what is expected in MySQL but refuses to do so under php. What is it (or could be) that I am doing wrong/missing? Thanks in advance. Alp -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Converting a string into ASCII and a bit more - newbie

2004-11-15 Thread Alp Bekisoglu
alues string back into chr's. I think I know how to do this. (Finally). Thanks again for your time and help. Alp -Original Message From: Klaus Reimer- Alp wrote: > $x=1 > while ($x<=strlen($string)) { > $holder = ord(substr($string, $x, 1)); > $result = $result

[PHP] Converting a string into ASCII and a bit more - newbie

2004-11-14 Thread Alp
could show me some light and point me in the right direction. I have 2 sets installed on my PC as PHPDEV423 and XAMPP 1.4.9 (set to use php4) and it fails in both. Thanks in advance, Alp P.S.: I hope I have posted this in the correct NG -- PHP General Mailing List (http://www.php.net/) To unsubs