Got this off the MySQL web pages...
Expanded support for subqueries
Subqueries allow you to use the result of one query as a component of a larger query. The MySQL server already supports some forms of this technique, such as INSERT INTO ... SELECT ..., and this support will be expanded in...
What is wrong with this syntax ? Using MySQL 3.23.51-nt
UPDATE products SET manu_release_date = (SELECT dates.reldate FROM dates, products WHERE dates.id = products.stock_code )
I get the error:
Error MySQL said:
You have an error in your SQL syntax near 'SELECT dates.reldate FROM dates...
I got it figured out in the meantime... thanks for your response though... I used...
<script language='JavaScript'>
<!-- start script
function openWindow(url) {
popupWin = window.open(url,'Name', 'top=0,left=0,resizable=yes,width=850,height=550,scrollbars=yes,menubar=yes,toolbar=no')...
I have searched and searched... I have to ask...
Is there a way to spawn a new page AND re-direct as script at the same time... I am trying something like this... I know this is in PHP ... but it is client side actions that I want to accomplish...
<?
header(...
I am wanting to generate custom reports with PHP and then be able to print them. Is there any way - I have even looked at window.print() in Javascript - to get rid of the URL and date thing at the bottom of the page and the Title and Page 1 of 3 thing at the top?
Peter
I know that this may not be a PHP specific question, however I am wanting to generate custom reports with PHP and then be able to print them. Is there any way (I have even looked at window.print() in Javascript) to get rid of the URL and date thing at the bottom of the page and the Title and...
You are correct in that it should return a month... I was playing with the other letter options... and confused myself !!! It was returning December, not June (or Wednesday)... but I did not use the strtotime() function, so I will try that out and let you know what I come up with... thanks for...
Hello:
I am passing a date from a database to the date function and it returns the wrong month... any ideas why?
saledate is currently: 2003-06-21
and date("F", $row["saledate"])
returns Wednesday, but June 21st is a Saturday... can't figure it out... any help...
well looks like I get to answer my own question... I had a friend point me in the PDFlib direction. I am looking into it now... check out their web site at... http://www.pdflib.com/
cheers,
Peter
well the "purists" hand code... I hand-code mostly because I like to read my code and get right down into it. Once you get familiar with PHP / MySQL you will only want to hand code (my prediction)...
Good luck...
Peter
OK... I am about to develop an on-line financial system that generates checks, receipts, and the like. I am planning to do it in PHP / MySQL. Now the thing that I don't know is how do I generate a formatted report (like a check run) that will be printable on stock forms like an accounting...
Hello:
Is there a way in Access to export (or just show for cut & paste process) the table structures in the CREATE TABLE style? I have created tables in Access and I want to convert them to MySQL without having to re-create them manually. Any help appreciated.
Peter
OK... here is the first one...
what is the difference between a session and a cookie ? The php documentation states that sessions are managed thru cookies... so why use the $_SESSION as opposed to a cookie?
question 2
I have a site that uses cookies... my local environment allows for me to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.