[PHP-DB] Re: help needed.

2010-03-18 Thread Nadim Attari
Hello, Maybe these can help. Web Server on CD: http://ampstart.ly-le.info/ http://www.stunnix.com/ http://www.server2go-web.de/ http://www.indigostar.com/microweb.php PHP EXE Compiler/Embedder : http://www.bambalam.se/bamcompile/ p.s.: Make sure you encode your PHP codes before

Re: [PHP-DB] Re: [PHP] the opposite of a join?

2007-10-03 Thread Nadim Attari
| (that is, all rows in |table1| with no corresponding row in |table2|). This assumes that |table2.id| is declared |NOT NULL|. Here it goes: select company.* from company left join contacts on company.companyId = contacts.companyId where contacts.companyId IS NULL Hope it helps... Nadim Attari

[PHP-DB] Re: MySQL - Unable to run service

2006-03-15 Thread Nadim Attari
://www.experts-exchange.com/Databases/Mysql/Q_21045378.html And please, give more specific info about your problem... Best Regards, Nadim Attari Alienworkers.com Ralph Brickley wrote: I have been using MySQL for quite some time and am now running Server 4.1. I have been developing custom web-based

[PHP-DB] Re: MySQL - Unable to run service

2006-03-15 Thread Nadim Attari
Another link: http://sunsite.mff.cuni.cz/MIRRORS/ftp.mysql.com/doc/en/Windows_upgrading.html Regards, Nadim Attari Alienworkers.com Nadim Attari wrote: Hello, I'm not being rude but it is a good thing to do before coming here: http://www.google-is-my-best-friend.com (Jusk kidding

[PHP-DB] Re: WAMP

2006-03-15 Thread Nadim Attari
Hello, I use XAMPP locally to test my scripts.. i haven't tested it online. Have a look: http://www.apachefriends.org Regards, Nadim Attari Alienworkers.com Kinfe Tadesse wrote: Hello, Can any one recommend me a well-tested package containing Apache, MySQL and PHP all in one for Windows

Re: [PHP-DB] Shrinking gifs.. .

2005-06-23 Thread Nadim Attari
); START Thanks Martin for the tips.. Regards, Nadim Attari Martin Norland a écrit dans le message nikos wrote: Thank you Martin I install new gd, reconfigure php and now is running OK. But, it was a mass to realize that shortening gifs results to loss transparency(!). [snip

Re: [PHP-DB] Shrinking gifs.

2005-06-22 Thread Nadim Attari
] ... returns an image identifier representing a BLACK image of size x_size by y_size. Question: Does anyone have a script / piece of code that keeps transparency after creating the thumbnail ? Regards, Nadim Attari -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP-DB] Re: String manipulation

2005-05-01 Thread Nadim Attari
http://www.php.net/manual/en/function.substr.php Full String Documentation http://www.php.net/manual/en/ref.strings.php Regards, Nadim Hi there everyone, I'm working with a mysql Db where I have a single string that I have to split into 2 strings, the first character is the first name and

[PHP-DB] Re: retrieve enum values

2005-04-15 Thread Nadim Attari
', '2', '3') $enumValuesArr = split(',', str_replace(', , substr($fld_type, 5, -1))); echo 'select'; foreach ($enumValuesArr as $enumValue) echo option value='$enumValue'$enumValue/option echo '/select'; - Hope it gonna help! Regards, Nadim Attari

[PHP-DB] Re: variable and MySQL

2005-03-14 Thread Nadim Attari
I'd like to use $get_question_data[xxx_name_en] $get_question_data[$test_name_en] $get_question_data[{$test}_name_en] ${get_question_data[$test_name_en]} try this ... $get_question_data[{$test}_name_en] Hope it works... Nadim Attari -- PHP Database Mailing List (http://www.php.net

[PHP-DB] Re: insertion problem (2)

2005-03-09 Thread Nadim Attari
. robots.txt syntax question is a good subject. Please help is not a good subject. Regards, Nadim Attari -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: donwload listed dir

2005-02-16 Thread Nadim Attari
http://www.chrispederick.com/work/php/source/file/file.php It Clown [EMAIL PROTECTED] a écrit dans le message de news:[EMAIL PROTECTED] Hi All, How would i create links dynamicaly for each file that has been listed in a dir? Regards

[PHP-DB] Re: characters problem

2004-12-16 Thread Nadim Attari
$myquery=INSERT INTO `$table` (`comments`) VALUES ('$mycomments'); $mycomments = addslashes($mycomments); $myquery = INSERT INTO $table (comments) VALUES ('$mycomments'); See: http://www.php.net/addslashes Hope it solves the problem. nadim attari -- PHP Database Mailing List (http

[PHP-DB] Re: Database Error submitting form

2004-08-31 Thread Nadim Attari
will not give the notice - even if isset() is not added! ?php error_reporting(0); ? Hope it helps! Nadim Attari [EMAIL PROTECTED] a écrit dans le message de news:[EMAIL PROTECTED] Dear Friends, My form was working on localhost, without any error and was writing to database, however, now

[PHP-DB] Re: E-mail as HTML

2004-08-26 Thread Nadim Attari
In PHP, how do I submit data by e-mail as HTML to a specified address? And where can I find samples of that in http://www.php.net/ ? HTML Mime mail at phpGuru http://www.phpguru.org/static/mime.mail.html -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP-DB] Re: I have a CR-LF problem when pulling stuff out of my DB

2004-08-23 Thread Nadim Attari
. foreach (lines as linenum = line) line = RemoveWhiteSpaces(line); 3. fwrite back to file that's a rough idea.. hope it helps, nadim attari == This may not be exaxtly PHP-DB related but it is a result of screwing something up grin. I pulled a bunch of data

Re: [PHP-DB] Deleting older records

2004-08-13 Thread Nadim Attari
Okay I have a timestamp field how do I create a query to delete all entries older than an hour. Timestamp field is set by now() function. DELETE FROM tblDownloadTrack WHERE `timestamp` TIME_TO_SEC(DATE_SUB(NOW( ), INTERVAL 1 HOUR)) -- PHP Database Mailing List (http://www.php.net/) To

[PHP-DB] Re: Good books on sql / mysql

2004-08-11 Thread Nadim Attari
http://sudhirmangla.i6networks.com/books/database.htm http://www.maththinking.com/boat/computerbooks.html -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] mySQL Parse Error

2004-03-22 Thread Nadim Attari
', 'newArriva I can't understand... tried googling but still no answer! Can someone help me please, regards, nadim attari -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] mySQL Parse Error

2004-03-22 Thread Nadim Attari
You should not have quotes around the column names. Yea. that was the problem... 'color' a was trivial error ! i got it at home after office hours!!! Seems that a break is necessary when things go wrong !!! Thnx Nadim Attari -- PHP Database Mailing List (http://www.php.net/) To unsubscribe

[PHP-DB] Scrollbar + javaScript

2004-03-15 Thread Nadim Attari
content the scrollbar does not appear. My problem is that i would like to know whether the scrollbar is here or not; hence adjust the width of the table (and colums) accordingly! I have disabled horizontal scrollbar (overflox-x: hidden in CSS). Thx, Nadim Attari Alienworkers.com Mauritius -- PHP

Re: [PHP-DB] Scrollbar + javaScript

2004-03-15 Thread Nadim Attari
your solution. Regards, Filip de Waard Hi, My sincere apologies. In fact I sent this to a different forum (PHP at OVH)... dunno how it ended here. Again my sincere apologies. Best Regards, Nadim Attari -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP-DB] Re: mktime question

2004-02-10 Thread Nadim Attari
http://www.mysql.com/documentation/mysql/bychapter/manual_Functions.html#IDX1342 insert into tbl (timeCol) values (now()) when you retrieve the time from mySQL, you format it the way you want and then display it !!!

[PHP-DB] Re: MySQL Field length

2003-12-16 Thread Nadim Attari
Hi, What is the maximum length for the name of a column in MySQL? Thanks for your help http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#Legal_names -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: Images and PHP

2003-08-21 Thread Nadim Attari
PHP http://www.php.net/manual/en/ref.image.php ImageMagick http://www.imagemagick.org/www/identify.html PEAR: Imagick http://pear.php.net/package-info.php?package=imagick -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: Multiple same values only wanting one

2003-07-15 Thread Nadim Attari
How do I select * from a table, but I do not want it to return the same value if two fields are the same. Example - DISTINCT - GROUP BY -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: A complex query problem

2003-07-04 Thread Nadim Attari
From MS-SQL Server Manual: A subquery is a SELECT query that returns a single value and is nested inside a SELECT, INSERT, UPDATE, or DELETE statement, or inside another subquery. A subquery can be used anywhere an expression is allowed. Unfortunately you do not have Sub-queries in mySQL ... Try

[PHP-DB] Re: How to get PHP to download web contents

2003-07-03 Thread Nadim Attari
How would you get PHP to download a file such as a web page and put it in a string? From the manual: $html = implode ('', file ('http://www.example.com/')); Note: As of PHP 4.3.0 you can use file_get_contents() to return the contents of a file as a string. -- PHP Database Mailing List

[PHP-DB] Re: HELP PLEEASSSEE

2003-06-30 Thread Nadim Attari
select size=1 name=area . while($row = mysql_fetch_array($result)) { ? option value=?=$row['area']??=$row['area']?/option ? . --- USE QUOTES . while($row = mysql_fetch_array($result)) { ? option value=?=$row['area']??=$row['area']?/option ? }