User Profile

Collapse

Profile Sidebar

Collapse
paulgrimshaw
paulgrimshaw
Last Activity: Oct 2 '07, 06:10 PM
Joined: Oct 14 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • paulgrimshaw
    replied to SQL Sub Queries?
    Hi,

    Thanks for your advice, I am going to go and try it.

    Paul.
    See more | Go to post

    Leave a comment:


  • paulgrimshaw
    replied to Running Perl Scipt from PHP
    in PHP
    Hi,

    All good - thanks very much for your help - cant tell you how much work this will save me!

    Paul.
    See more | Go to post

    Leave a comment:


  • paulgrimshaw
    replied to Running Perl Scipt from PHP
    in PHP
    lol. I didnt notice that ;).

    I will give it a go tonight and see if it works, and let you know what happens.

    Thanks,
    Paul.
    See more | Go to post

    Leave a comment:


  • paulgrimshaw
    started a topic SQL Sub Queries?

    SQL Sub Queries?

    Hi,

    I am using the ODBC connection with Sage Accounts to print barcode labels. It is very slow and I want to try and speed up the sql I am using. The database has over 6000 items, but only 3000 are in use at the moment (cannot delete them). I have a variable "QTY_REORDER_LE VEL" which when 0 means its not in use.

    I was hoping I could somehow run through the db stripping old out first and then doing the barcode...
    See more | Go to post

  • paulgrimshaw
    started a topic Running Perl Scipt from PHP
    in PHP

    Running Perl Scipt from PHP

    Hi,

    I have a script that creates some html. It runs like this:

    http://www.madmash.com/cgi-bin/ss002207.pl?pag e=search&PR=-1&TB=A&SS=blo ck

    Any idea how I can get this to run in a php file? I want to use a php file as a sort of static page name but with variable data.

    thanks,
    paul.
    See more | Go to post

  • paulgrimshaw
    replied to include html file
    in Perl
    Hi All,

    This is now working.

    Thanks,
    Paul.
    See more | Go to post

    Leave a comment:


  • paulgrimshaw
    started a topic include html file
    in Perl

    include html file

    Hi,

    I want to do something like a php include but within perl. I have no understanding of perl and I am somewhat stuck! Any idea how I can do this?

    in pseudo code this is what I need:

    get vRef
    vFilename = "http://www.example.com/ex_" + vRef + ".php"
    vContent = entire content of vFilename

    I can then add the vcontents variable to the html that gets written...
    See more | Go to post

  • paulgrimshaw
    replied to Javascript to PHP Array
    in PHP
    Hi, Just bumping this incase anyone has any ideas. Won't bump again.

    Thanks,
    Paul.
    See more | Go to post

    Leave a comment:


  • paulgrimshaw
    replied to Javascript to PHP Array
    in PHP
    Hi,

    I dont need to send it to a database or even post it. This will run locally and just create the html code for the my menu system from the array supplied. At the moment when the page opens I have some java (thats what is quoted above) that moves through the array (which happens to be another java file) and creates the html. This is then show to the user. I want to simply change this to perl and get rid of java for the menu creation....
    See more | Go to post

    Leave a comment:


  • paulgrimshaw
    replied to Javascript to PHP Array
    in PHP
    Hi, thanks for your reply.

    I have the code in JS at the moment, but it would be quite easy to change to php so this is what I was going to do - it needs to be in the order it comes in as the menu runs by using an ID per div that is created in parts (i.e. 2.3.4) as it runs through the nested ifs. Here is the basic structure with the gumpf taken out.

    Code:
    function YahooSections(ar)
    {
      for (var i=0; i
    ...
    See more | Go to post

    Leave a comment:


  • paulgrimshaw
    started a topic Javascript to PHP Array
    in PHP

    Javascript to PHP Array

    Hi,

    I have been working on this for a while and can not figure out how to do it. This is the story to explain what I am doing:

    I use Actinic website software and I am currently using a javascript function to take an array of section names etc and create a menu. This is quite large and I am moving to php as Actinic has php inside and creates the html before uploading. Actinic creates a javascript file. This file is referenced...
    See more | Go to post
No activity results to display
Show More
Working...