as well so the
server is going to have to be able to allow me to install support for them
or have that already built in.
Is PHP 4 established enough to develop this kind of project or should I look
at PHP 3 instead?
Any advice on a good server that would enable the points I suggested?
Thanks.
Steve
I am new to MySQL and PHP.
Having looked at PHPMyAdmin the GUI I was wondering if it's possible to
create a new database within the system?
If so what are the commands? I ask because I only have one database on my
server and don't want to populate it with different tables, I'd rather have
and PHP so would like some advice, is the way I describe
(databases for each website function) a good way to design or should I
have all my functions in one large database?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP
another field to the database on the production server. Where
should I start looking to de-bug this?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
in advance.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
will work OK. Any ideas?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
catname FROM categories ORDER BY catid);
But I want to give each catname in the DB a unique name in a form select
and don't know how to go about it.
Tutorials or tips anyone?
Regards,
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343
:
.$HTTP_POST_FILES['userfile']['tmp_name']
}
?
TIA.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wednesday 11 December 2002 17:30, Steve Jackson wrote:
I'm trying to rename an uploaded file with the value of a select I
have in the uploaded form. Can someone point me in the right
direction. The PHP.net rename manual isn't helping a lot? My code:
What is the problem?
I can't
do I select everything from the database
sorted by ItemCode and then displayed in a form as shown above.
Regards,
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Cheers Jason.
Sorted.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: 11. joulukuuta 2002 17:17
To: [EMAIL PROTECTED]
Subject: Re: [PHP
',
price = '$price',
description = '$description'
shortdesc = '$shortdesc'
where ItemCode='$oldItemCode';
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General
It doesn't work in that it doesn't update the database.
I have a form which when loaded takes a variable ItemCode from the
previous page (which gets the Itemcode from the DB) and puts it into a
hidden field which I call oldItemCode, then when I try to update the
$ItemCode row in the database with
I have generated a page on our server using PHP (from within a CMS system)
which I renamed the output .html to use in an html email.
My problem is when I cut and paste the HTML into the email (Outlook) it
either:
displays the code,
displays the html email and then when it's sent, sends it as an
a preview function? I was thinking that I should add checkbox
which makes the article live so that the user could preview the page
first from a link but is there any better way to do it?
Thanks for your help.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED
Dotserv are high response and fairly cheap depending on what you need.
Or there's phpwebhosting.com
http://www.dotserv.com
http://www.phpwebhosting.com
-Original Message-
From: Edward Peloke [mailto:[EMAIL PROTECTED]]
Sent: 27 December 2002 18:29
To: PHP List
Subject: RE: [PHP] Cheap
='$categoryid';
Any suggestions?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am having trouble with this.
I need to update 1column in a variable number of rows depending on how
many categories are in my database at a given time.
Can anyone provide any pointers or example code
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com/ http
the order in which categories appear changed.brbr/span;
echo /td;
echo /tr;
echo /table;
}
Any help appraciated.
Kind regards,
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General
I'm processing on a different page so what would I use instead of
$_POST?
print_r($_POST)
Didn't display anything or diagnose anything.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
-Original Message-
From: Tim
Thanks.
That was the problem. Im using 4.0.6 so it's a bit out of date.
Cheers,
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
-Original Message-
From: Tim Ward [mailto:[EMAIL PROTECTED]]
Sent: 27. tammikuuta
is served to (a temp) or what? No matter
what I've tried I get no error message and the browser (IE6) just hangs
so it appears that PHP is trying to serve the file but failing for some
reason.
What is that directory I am supposed to define?
What am I doing wrong?
Steve Jackson
Web Development
Steve Jackson
Web Development and Marketing Manager
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
-Original Message-
From: Steve Jackson [mailto:[EMAIL PROTECTED]
Sent: 16. syyskuuta 2003 12:15
To: '[EMAIL PROTECTED]'
Subject: RE: [PHP
/vnd.ms-excel\n);
break;
default :
// force download dialog if no extension defined.
header(Content-type: application/octet-stream\n);
header(Content-disposition: attachment; filename=\$file\\n);
break;
}
Steve Jackson
Web Development
Thanks to all so far.
However I am still having problems I have directory outside the root
with PDF's in it. The links to the PDF files are called successfully by
this function in a page I call getlinks.php
function do_non_root_links()
{
define('FILEDIR', '/home/.sites/144/site281/downloads/');
?file=','','$file');
$p = explode('.', $pfile);
$extension = $p[sizeof($p)-1];
$pfile when echoed is $file
$file when echoed is the correct name of the file which is even more
confusing.
I figured that $file would include the URL which might be why it hanged
explorer.
Steve Jackson
Web Development
is EventNotification_01.pdf
P is Array
Path is /home/.sites/144/site281/downloads/EventNotification_01.pdf
FP is Resource is #1
Has anyone got any clue what the problem is?
Steve Jackson
Web Development and Marketing Manager
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358
Have you tried the obvious, such as using browsers other than
IE? Or a
different version of IE?
So far I've tried IE 6.0.2, IE 5.0, Netscape 7 and they don't work.
Fact is that there are versions of IE that have broken mime handling.
This I didn't know, so I just tried it on Konqueror
someone else!
Steve Jackson
Web Development and Marketing Manager
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
-Original Message-
From: Steve Jackson [mailto:[EMAIL PROTECTED]
Sent: 18. syyskuuta 2003 12:19
To: [EMAIL PROTECTED]
Subject
previous cart session. Should be easy by the looks of it. (watch
for wrap):
http://www.paypal.com/cgi-bin/webscr?cmd=_help-exteloc=762unique_id=02
413source_page=_homeflow=
Steve Jackson
Web Development and Marketing Manager
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile
[PictureOne]};
$Picture2 = {$array[PictureTwo]};
$CatID = {$array[CatID]};
}
// then write the function to call the page here
//
Any ideas thoughts or help much appreciated.
Steve Jackson
Web Development and Marketing Manager
Viola Systems Ltd.
http://www.violasystems.com
;
And then calling the string with fwrite? Or am I going to run into
serious problems?
Steve Jackson
Web Development and Marketing Manager
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
-Original Message-
From: Andrew McCombe [mailto:[EMAIL
including formid passed
from
// previous form
$string = ?php $SECTION_NAME = \goldfish_cms.php\;\n
//\n
// Written by Steve Jackson. Copyright and all rights reserved Webpage
2003.//\n
/functions here all
as a PHP file however it occurred to me while I was doing
this that chmod 777 the root might not be a good idea.
Anyone have a simple fix or idea for this?
Kind regards,
Steve Jackson
Web Development and Marketing Manager
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50
On Tue, 2003-07-08 at 07:21, Steve Jackson wrote:
If I set permissions of my server root to chmod 777 that's
a security
risk right? How do I set my server to allow me to write a
file to my
web root from another directory using PHP? Or is it a Unix problem?
I have a generator file
with this route
unless someone has a better idea.
Steve Jackson
Web Development and Marketing Manager
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I should also add that another 685 posts would say RTFM about
lightbulbs.
Steve Jackson
Web Development and Marketing Manager
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
-Original Message-
From: Richard Baskett [mailto:[EMAIL PROTECTED
But _why_ do you need to write to the root directory? Why not
just write to a directory where you *do* have permission to write to?
I can already do that.
My problem is that I need to move or copy/delete the file from the place
I do have permission to write to to the root.
I have generated a
The root of the problem (pun intended)
Oh dear! ;o)
is that you're trying to
write to the
root (/) directory which is usually only possible if you're the root user.
Again, the question is _why_ do you need to write to the root directory?
Wouldn't your file function if it wasn't in
://www.mysite.com/generated.php
They would get the page.
Not (as I can currently do) http://www.mysite.com/cms/generated.php
Thanks.
Steve Jackson
Web Development and Marketing Manager
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing
of function.
and get a really odd error:
Warning:
fopen(ftp://172.16.2.4/~stephenj/misc/webpage/cms/this_wont_work.php,;
r) - Inappropriate ioctl for device on line 59
Any ideas people?
Steve Jackson
Web Development and Marketing Manager
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL
was for a file to be written into a safe directory and then moved
automatically to the webroot.
Steve Jackson
Web Development and Marketing Manager
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL
You *are* using the correct user/pass? It should be the same
as what you use to upload files to your webroot.
If you can't get this to work then try the ftp functions.
Yes I am.
Alternatively, you could consider storing them in a DB.
Yes that's what I was thinking they only need put
around that due to permission settings on the webroot?
So there is no way that PHP can write to the server unless the directory
it's writing in is executable?
Thanks for continued help.
Cheers,
Steve Jackson
Web Development and Marketing Manager
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanks Marek,
That is the solution I was looking for.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]]
Sent: 11. helmikuuta 2003 13:39
do I use PHP
to look at $grant as an array in my processing script rather than an
ordinary variable? I can get the DB to update if there is only one checked
box but otherwise it updates the DB with the value of the last checkbox.
Any ideas?
Steve Jackson
--
PHP General Mailing List (http
Cheers,
Solved the problem exactly how I wanted it.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
-Original Message-
From: Matt Schroebel [mailto:[EMAIL PROTECTED]]
Sent: 13. helmikuuta 2003 21:29
To: Php
suggestions?
Kind regards,
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
OK,
Thanks that helped. I've sorted that part of the problem.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: 24. helmikuuta 2003 11:20
do_html_footer();
exit;
}
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
=\{$fileatt_name}\\n .
Content-Transfer-Encoding: base64\n\n .
$data . \n\n .
--{$mime_boundary}--\n;
}
$ok = @mail($to, $subject, $message, $headers);
Real stuck here.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
;
if (!empty($this-headers))
$mime .= $this-headers. \n;
if (!empty($this-body))
$this-add_attachment($this-body, , text/html);
$mime .= MIME-Version: 1.0\n.$this-build_multipart();
mail($this-to, $this-subject, , $mime);
}
}; // end of class
?
Hope this solves the issue.
Steve Jackson
Web Developer
Viola
to the DB in php you just call
db_connect();
The guys are right though for this level of questions you should read
the manual all of this is explained in greater detail than we can go
into.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343
Been on this a couple of hours... anyone see what I'm doing wrong?
I get a result of 1 when I echo $result but it doesn't want to update at
all.
The action of this form index.php?action=update-account is just a switch
case
Which asks you to use the function update_subscriber_account() below...
Actually it didn't need the globals,
But I did need to pass the variables into the function!
Update_subscriber_account($var1, $var2 etc)
I feel a right plonker now!
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
Haven't the faintest idea what you mean by direct from the
web and a secure
Intranet mysql db and web DB.
Sorry. What I mean is that we have an externally hosted website.
Currently all the forms etc update tables in the web hosted mysql DB. I
am in the process of building a small CRM
regurgitate it could you?
I must have trawled through about 1 messages. I was back to Nov
2001!
The above two links don't really help me that much, I just need the
process explained so I know I'm on the right track.
Cheers,
Steve Jackson
Web Developer
Viola Systems Ltd.
http
Thanks to those that have helped thus far.
To clarify what we need:
Our CRM system (really a prospect gathering system) needs to internally
hosted, be realtime and needs to be updated automatically. Our website
(hosted externally) is *one of many* tools which we are going to use to
gather
Here's a function you could use. The input from your form should be
email ($email in this script).
function valid_email($email)
{
// check an email address is possibly valid
if (ereg([EMAIL PROTECTED],
$email))
return true;
else
return false;
}
HTH
Steve Jackson
Web Developer
should be
able to configure your password and find out the information yourself.
Regards,
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]
Sent: 28
I also had a similar problem and it was simply because the directory
holding the attachment didn't have permission to send the attachment, so
check the permissions on the directory. Once I changed it it sends fine.
Cheers,
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
into directory;
exit;
}
?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anyone help me? this is probably quite simple but I'm pretty new to PHP.
All I want to do it loop through some DB records and display them in the
format written in this PHP file:
Anyone see where I'm going wrong? the error I get says:
Warning: Unable to jump to row 0 on MySQL result index 2
?
This might be off topic but I thought I'd give the list a try...
Does anyone know of any PHP or CSS or something which allows you to
change the appearance of scrollbars in Explorer and navigator?
Kind regards,
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL
and then
go back and try adding a starter kit. I want both to appear in the cart
if possible.
Any ideas?
If not I'm off for a cry!
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net
($shipping+$total_price, 2); ? to the amount hidden
field in the form.
Any ideas?
This is not all my code which is why I am having problems.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com http://www.violasystems.com/
[EMAIL PROTECTED]
Mobile +358 50 343 5159
working I'm scared of
messing with the code too much! I also need to have a combination of the
two products so the customer might buy 1 of category 2 and 35 of cat 1
etc.
Ideas to tackle this please?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile
defines the actual item
which would probably be more reasonable?
Thoughts?
Regards,
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Thanks.
I have just this minute got it working.
Basically the same function I used for determining price of the cart
items could be used for determining weight. All I needed to do was
assign my DB with a field called weight and call that instead of price
from the DB so my calculate weight
I'm using both variables called in another page.
Taking globals off causes weight not to be calculated in the shipping
cost?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
-Original Message-
From: Jason Wong
[$new])
$cart[$new]++;
Instead of incrementing by one how do I increment by a variable which
would be the form input?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net
I am developing a shopping cart based on the above authors shopping cart fom
their book. (Book is a must by the way). I am still pretty new to PHP and
MySQL and need some help with the cart. Basically I need to add a form to
adjust the quantity in the cart instead of just incrementing by one and
I get the following error and I don't know why this is the code:
if($new)
{
$details = get_product_details($new);
if($details[catid])
$target = show_cat.php?catid=.$details[catid];
//line 55 is the bracket below.
}
$path = $PHP_SELF;
$path = str_replace(show_cart.php, ,
I have two test carts online at the moment.
This one works fine:
http://www.violasystems.com/shop/
this one is the one I want to get working
http://www.violasystems.com/shop_testing/
The code for the first shop basically increments the cart by one when the
submit button is added using the
I've been trying for ages to add a form field qty to an array to pass it to
my shopping cart and have finally managed it but not quite.
Please check this cart:
http://www.violasystems.com/shop_testing/
When you add an item using the form text box it doesn't add more than 1 on
the first submit.
but express= display function 2 or if
country isn't finland do 3?
Tried all morning and repeatedly failed!
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com http://www.violasystems.com/
[EMAIL PROTECTED]
Mobile +358 50 343 5159
;
}
do_html_footer();
?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com http://www.violasystems.com/
[EMAIL PROTECTED]
Mobile +358 50 343 5159
Anyone like to recommend a good host with good uptime for a high traffic
site?
The host would need excellent technical support as well as be feature rich
(Multiple MySQL database support/listserver/SSL support etc.)
I have been trying out phpwebhosting.com and they seem very good but I am
not
I want to the select the very last record from my MySQL DB. How do I do
it?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com http://www.violasystems.com/
[EMAIL PROTECTED]
Mobile +358 50 343 5159
='760' cellpadding='0'
background='images/shopbg.gif'trtdnbsp;/td/tr/table;
display_success_form();
//empty shopping cart
//session_destroy();
do_html_footer();
?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com http://www.violasystems.com/
[EMAIL PROTECTED
on
line 131
What does that mean?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com http://www.violasystems.com/
[EMAIL PROTECTED]
Mobile +358 50 343 5159
?
It doesn't return anything however. Any ideas?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com http://www.violasystems.com/
[EMAIL PROTECTED]
Mobile +358 50 343 5159
it in another page by doing
get_shipping($shipping)
And then
Echo test $shipping;
But that doesn't work.
Ideas where I'm going wrong this time?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http
)
{
$conn = db_connect();
$query = mysql_query(SELECT MAX(receipt_id) from receipts);
$myrow = mysql_fetch_row($query);
$shippingvar = $myrow[shipping];
return $shippingvar;
}
Surely it can't be much more complicated than that?
Help please. Smoked 10 fags already!
Steve Jackson
Web Developer
Viola
];
$ship_country = $row[ship_country];
}
}
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
on this tomorrow so any help will be greatly appreciated.
Kind regards,
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
($result))
{
extract($row);
$orderid = $row;
return $orderid;
}
}
What does it mean ambiguous? Cheeky error!
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
-Original Message-
From
Ok this is starting to get complex! (For me anyway)
This is my function:
function get_order_numbers()
{
$conn = db_connect();
$query = select orders.orderid from orders, email where orders.orderid
= email.orderid and email.checked='no';
$result = mysql_query($query) or die(Error: cannot select
On Wednesday 06 November 2002 16:52, Steve Jackson wrote:
Ok this is starting to get complex! (For me anyway)
This is my function:
function get_order_numbers()
{
$conn = db_connect();
$query = select orders.orderid from orders, email where
orders.orderid = email.orderid
My second query still doesn't return anything? Even with $orderid = $row
removed as Jason suggested.
This is my current function.
function get_order_numbers()
{
$conn = db_connect();
$query = select orders.orderid from orders, email where orders.orderid
= email.orderid and email.checked='no';
and ;
echo $row[orderid];
echo $row[ship_name];
}
}
}
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
-Original Message-
From: Jason Wong [mailto:php-general;gremlins.com.hk]
Sent
Of course you are correct.
I forgot to remove the $row[orderid] etc..
I was just testing the function and thought I'd post the code rather
than waste someones time answering me.
However thanks for the help. Much appreciated.
Steve Jackson
Web Developer
Viola Systems Ltd.
http
form
}
How do I adapt the check_admin_user() function and the pages to work in
4.33?
Thanks,
Steve Jackson
Web Development and Marketing
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
94 matches
Mail list logo