Jump to content

hotwire

Members
  • Posts

    13
  • Joined

  • Last visited

    Never

About hotwire

  • Birthday 02/02/1969

Profile Information

  • Gender
    Male
  • Location
    Love City, USA

hotwire's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi Mapleleaf, Actually target='_top' would pretty much be the same as the other targets, in this case unrecognizable using auto redirects or refresh.. Fortunately, I did get a work-around through the PHP Builder forum, it consists of using the following as javascript: <script type="text/javascript">window.parent.location = 'xxx.php';</script> I appreciate the attempts of any help here.. Thanks..
  2. Hi, yeah, I have a message box that when delete is selected I want the results to refresh the _parent window from an Iframe.. It appears that targets (target='_blank' , target='_parent', target='_self' etc) will not work with automatic redirects..
  3. Hi, I have a need to want a page to refresh to a _parent window, it appears this is not possible.. Example: echo "<meta HTTP-EQUIV='REFRESH' content='1; url= xxxx.php' target='_parent'>" Notice the target='_parent' in the above code.. This does not work.. so I'm assuming this is not possible.. If there is a way to automatically open another page using targets, please let me know.. Thanks for any help on this..
  4. Thanks Mhcl, Gonna try this out, I notice it is a web program, but that may work just as good.. I came across a program called HTML Tidy that have plugins for PHP and many other scripts.. It seems to be able to format and do other things with PHP.. Gonna see. Anyhow, thanks for the link.. AJ
  5. Hi, I know the best method is to start out with good coding syntax and positioning, but I always seem to have brackets unaligned and more spaces in other places than some.. Is their a good program that can straighten PHP coding and make it look neat? Brackets and all.. Thanks for any help on this..
  6. Hi ProjectFear, Thanks for the coding, It had 1 minor error I fixed which was the "if (i == 0)" should be "if ($check == 0)".. However it does work.. Thanks Alot for your help, it is much appreciated.. Thank You! hotwire
  7. Hello forum and moderators, I am having a problem generating a predefined directory that will check if the directory exists and if so just add a number and keep checking if exist. For example, the predefined directory is named 'memalb', and I want each new directory to be named, 'memalb1' memalb2, memalb3 etc.. The coding I am currently using makes each new directory, memalb1, memalb12, memalb123, etc.. here is my current coding: $y=0; $xdir="memalb"; $ckd= file_exists($xdir); if ($ckd==1){ while ($ckd==1){ $xdir=$xdir.$y; $ckd=file_exists($xdir); ++$y; } } mkdir($xdir); Thanks for any help on this..
  8. Hi fenway, The only way I was able to do this was to actually have to use a floating script which indeed involved javascript. Therefore, having to actually use the echo to carry out the table's heading to be static. This way when you scroll the web page, viewers can still see the Heading for each column because the heading is constantly being called through the javascript to keep an absolute position on the screen. Anyhow thanks for reading and attempting to help. I appreciate it.
  9. Hi Fenway, I figure that may be a bit confusing because I'm a lost for programming words now .. Freezing the Columns Headings (The Row at the top Identifying the the data in the table)
  10. Hi, Is there a way to lock or freeze a table's Top Row Heading so when you scroll the topic heading row will stay in place? The closest I have come to doing this is to actually use a 2 cell table, placing the table's heading in the top cell and the sql database table's data in the bottom cell so when i scroll the bottom data the top field heading is not affected. This causes an issue of the top row heading not always aligning with the data in the bottom table cell. So it's neccessary that I try to find a better way to keep a table's top row heading in place using another method. Any help or info on this is appreciated ..Thanks.
  11. Thanks for the info fenway, So is that suggesting that I should have each question as its own table or somehow assumed as rows? Or maybe you're stating that I'm using the wrong method of processing the users answers.. Thx for your feedback..
  12. Hi fenway, yes, the version appears to be 4.1 from the server.. please excuse that.. Actually, I have each question as a column with the answers... column 5 (pq01), column 6 (pq02), etc.. pq meaning Poll Question.. So yes, I am attempting to query the most count for a given answer in each column. Another question I ponder is, if there is an equal count of answers in a given column, which answer would be displayed as the (max) or most queried? thx for your response..
  13. Hi Forum, I know this could be a lengthy question posed, but Ima try to keep it as simple as possible .. I am trying to find the best method using mysql ver 4.3.4 to calculate the most entries in a column. The columns (Polling Answers) consists of text strings such as baseball, ice cream, houston, etc as the poll answers. Is there a way, or what is the best mysql function to use in order to find the most (max) text inputs of a column? In other words, in poll question 1, I ask what is your favorite city? The user selects 1 out of 4 cities, the cities are stored in mysql table as column pq01. I need a formula that will tell me what cities in column pq01 was selected the most. Im not sure if this is possible using mysql like this.. but if not, then I need to do the calculations for the most selected another way for polling.. Thanks for reading.. Any helpful information on this is much appreciated..
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.