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
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(
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
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"
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,
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
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
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
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
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
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
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("
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
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
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
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...
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
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,
> >
>
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
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
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
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:
t '';
$c=0;
while ($c < $colcnt) {
print '';
print '';
print '';
print '';
print '';
print '';
$c++;
}
Print '';
$i++;
}
print '';
Thanks anyway.
Alp
"Alp" <[EMAIL PROTECTED]> w
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
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
25 matches
Mail list logo