Re: [PHP-DB] INSERT img+ID

2009-02-13 Thread Dee Ayy
On Sat, Jan 24, 2009 at 7:01 AM, Emiliano Boragina emiliano.borag...@gmail.com wrote: I want to insert a JPG image ($creacion) with the ID (from the data base, MEDIUMINT AUTOINCREMENT): 23image.jpg in the data base, and send the information to a e-mail addres. How do I do that? Thanks a lot,

Re: [PHP-DB] Aborting long running DB queries with browser Stop button

2009-02-13 Thread Dee Ayy
On Fri, Feb 6, 2009 at 5:10 AM, G tjmad...@gmail.com wrote: I've done extensive web searches, read all of the PHP manual pages beginning with mysql_, wasted days on trial-and-error experimenting (signal handling etc.), seen the [PHP-DB] Long running db queries and the STOP button thread from

[PHP-DB] Cannot print the data from database in the webpage

2009-02-13 Thread Sashikanth Gurram
Hi all, I am trying to run a query to retrieve data from mysql database and display it in a webpage in a table. The query is running fine, but the the data is not appearing on the webpage. All I see is a webpage with few empty cells. The echo command starting from line 42 is something

Re: [PHP-DB] Cannot print the data from database in the webpage

2009-02-13 Thread Patrick Price
I believe your problem is that the mysqli_fetch_array function on line 39 returns an enumerated array and the extract function on line 41 takes the values in an array and assigns it to an associative array based on the keys. Since the keys in an enumerated array are numbers, those are the

Re: [PHP-DB] Parse error: syntax error, unexpected '' in C:\wamp\www\new.php on line 38

2009-02-13 Thread Sashikanth Gurram
WOW, Both of your suggestions worked like magic. Thanks a lot Patrick -Sashi Patrick Price wrote: I believe your problem is that on line 33 you forgot your closing double quote in the echo statement. Thanks patrick Sent from: Decatur Ga United States. On Fri, Feb 13, 2009 at 10:02 PM,