Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: cabernet
  • Content: Threads
  • Order by date
  1. cabernet

    Ending HTML line in a template

    Hello, I have an OOP system based on my templates I would like upgrading the system and offering color changes via bgcolor= So instead of <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" valign="top" bgcolor="#ffffcc"> I would like doing: <table width="100%"...
  2. cabernet

    Recursive - copy a directory, sub dir and files

    The following regards: PHP5 and Apache2 I cannot figure the proper scripting however as is it does not generate an error, just plain does nothing! <?php //error_reporting (E_ALL); $dirsource="../tpl_for_dupli/calendar"; $dirdest="../chamber_members/calendar"; function...
  3. cabernet

    Mode_rewrite; almost there!

    Hello, Is it possible applying mode_rewrite to the content of a folder located at root level That contains PHP files and has an index.php But knowing that the site root index is index.html This mode rewrite utilizes OB and works fine with another site However the other site root index has a...
  4. cabernet

    Mouse, How to: Disable file preview

    Hello, I cannot take that stuff any longer Dell Laptop, Xp pro I use a mouse with my laptop but need to disable file preview when my mouse's pointer is overing in files I would like disabling the mouse side popup that gives file or folder preview thank you Henry
  5. cabernet

    PHPMyAdmin dump correct syntax ( I am in trouble!)

    Hello I cannot remember and do not find example on how correctly write in PHPMyAdmin the following I need to perform a mysqldump from a given table (that is the one presently selected in PHPMyAdmin; so I think the table name does not need to be again typed in the query) << mysqldump WHERE...
  6. cabernet

    transform MySQL result as a variable

    Hello I work on a copy/ rename file system the new file name must be a combo of index and of the id # that I got from a query problem how can I pass the resulitng id in a var named $ID I need to pass that id value to $id the sample below will explain my quest how can I write $=... instead of my...
  7. cabernet

    CSV output

    I experiment with a new script but cannot figure why I cannot output data from DB thank you <?php //common_db.inc $dbhost = 'aaaaa'; $dbusername = 'bbbbbb'; $dbuserpassword = 'cccccc'; $default_dbname = 'ddddd'; $MYSQL_ERRNO = ''; $MYSQL_ERROR = ''; function db_connect() { global $dbhost...
  8. cabernet

    PHP/MySQl/INNER JOIN Question

    Here is my predicament: Data are pulled from 2 tables One is: &quot;articles&quot; the other one is: &quot;discussion&quot; I would like to be able to echo the title of any articles that have been commented (In discussion table) In order for users at first glance to be aware that comments...
  9. cabernet

    auto execute an URL

    Hello I would like to know if the following is possible Just do a very basic HTML page that contains a full path URL such as <a href=&quot;http://www. etc..&quot;> then if an user decide to reach the above described page from a menu the contained URL will auto execute without further action of...
  10. cabernet

    transparency My nemesis!

    Hello is there anywhere a good tutorial on making transparency I always end to get it ok - after a good fight - but I hate to think that I did it mosly out of random ! which is quite possible :) thanks
  11. cabernet

    Adding 100 fields

    A client has a need for a new section that wiil be part of its CMS end It calls for adding about 100+ fields to an existing table within a DB serving an existing site that table will not be often utilized however will it be functional? can it be done?
  12. cabernet

    adding multiple fields in one query

    I cannot figure the correct syntax to add many fields in an existing table; in one shot from PHP MyAdmin alter table xxxx add foo varchar 50 not null, foo_2 text not null; etc.... thanks regards
  13. cabernet

    Query problem

    My table is called : stories among fields are: category and the fields mentioned in the array by code end in category are depending on category a few different categories, one is &quot; ag &quot; that the one I am presently interested in and I want to display the data as per the array however...
  14. cabernet

    Display content using content's ID

    Hello I try to display content stored in my DB by using the following scripts The first script (till capital letters) is called getdata.php And works fine if I want to retrieve an image However I now try to display text content in a table by using the very last line of that post bellow the...
  15. cabernet

    Transform: &quot;@&quot; in Hexadecimal

    Hello, In my DB among others are two fields: 1) named &quot;Mailto&quot; var 10 default &quot;mailto:&quot; 2) named &quot;Email&quot; var 50 default NULL my PHP script display the output in making page up, down , next etc... the email output is scripted as follow: <td width=&quot;33%&quot...
  16. cabernet

    Accessing MySQL not from &quot;root&quot;

    Hello I am preparing my migration from Apache, PHP and MySQL runing on Windows on my local development machine to a new setup: I have installed on that same local machine REdHat 7.2 and all my tools PHP etc... my question is: when I start a PHPmyAdmin session it tells me that since I operate...
  17. cabernet

    QUERY OK , 0 ROW AFFECTED ???

    Hello, I cannot get that little piece of syntax working &quot;DELETE FROM articles where adate BETWEEN '02/25/2003' AND '02/27/2003' AND sectionID =4;&quot; all elements are corrects and existing, I do not have an access problem since I own the Apache server and the DB Out of curiosity I also...
  18. cabernet

    QUERY SYNTAX

    Hello, Here is my quest within a table I have: sectionID field adate field and others fields .... sectionID field has 10 sections numbered from 1 to 10 and date field obviously one per day or many per each day I wish to write a query as follow: to select for example a section with an ID of 4...

Part and Inventory Search

Back
Top