User Profile

Collapse

Profile Sidebar

Collapse
jason1987
jason1987
Last Activity: Mar 26 '08, 08:36 AM
Joined: Sep 20 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • jason1987
    replied to Mailto link problems
    [HTML] <input class="button" style="width:22 0" onmouseover="th is.className='b utton btnhov'" onmouseout="thi s.className='bu tton'" type="submit" value="Send e-mail & Continue"
    onClick= "parent.locatio n='mailto:Docum entsBank@perrys cottnash.co.uk& subject=Documen t%20Removal%20R equest&body=Doc ument%20For%20R emoval:%20<?pri nt $docid?>,%20<?p rint $rowres1[2]?>%20Date%20Add ed:%20<?print...
    See more | Go to post

    Leave a comment:


  • jason1987
    started a topic Mailto link problems

    Mailto link problems

    Below is a mailto link from a button, it works completely perfect with Outlook, but dont with Outlook Express. Any ideas???

    [PHP]<input class="button" style="width:22 0" onmouseover="th is.className='b utton btnhov'" onmouseout="thi s.className='bu tton'" type="submit" value="Send e-mail & Continue"
    onClick= "parent.locatio n='mailto:Docum entsBank@perrys cottnash.co.uk& subject=Documen t%20Removal%20R equest&body=Doc ument%20For%20R emoval:%20<?pri nt...
    See more | Go to post

  • jason1987
    started a topic Date get previous day
    in PHP

    Date get previous day

    Hi,
    I need to get previous day from an existing date stored in a varaible $date which will not include any weekend (saturday and sunday)
    if it is on monday date should be for friday

    How can I do this??

    Thanks,
    Jas
    See more | Go to post

  • jason1987
    started a topic PHP buttons and variables
    in PHP

    PHP buttons and variables

    Hi,

    I am trying to display a variable on a button, but i just cant find a way of doing this, can anyone help? (line 9 where value =)


    [PHP]
    </table>
    <td>
    <form action="ithardw areadd.php" method="GET">
    <table border="0">
    <tr>
    <td><input type="hidden" name="jobid"...
    See more | Go to post

  • jason1987
    started a topic Freeze in PHP/ HTML

    Freeze in PHP/ HTML

    hello,

    I have got a page with lots of different bits on it, at the bottom of the page I have got about 5 buttons lined up. I wondered if there is any code i can use so that they are always at the bottom of my browser window without having to scroll. (So that the scroll is just on the information.

    Thanks
    See more | Go to post

  • How to increase the number of items showin in a <select> dropdown box?

    I have created a drop down box, which works fine, i want to increase the number of rows it shows without having to scroll, how do i do this though?


    [PHP]
    <td><select name="itjobtype id" style="font: 10pt Tahoma" >
    <option value=0 >Select IT Requests Type</option>
    <?php
    do {
    ?>
    <option value="<?php...
    See more | Go to post
    Last edited by Atli; Nov 9 '07, 12:55 PM. Reason: Changed thread title to better describe it's contents.

  • jason1987
    replied to Mail Function
    in PHP
    Im using Vpop3 on an SMTP protocol and we use hostinguk...
    See more | Go to post

    Leave a comment:


  • jason1987
    started a topic Mail Function
    in PHP

    Mail Function

    I have added the mail function to my page. the email selected does receive the email, but yet it sends a delivery failure notice to the senders email inbox, I cant understand this.
    [PHP]
    ?>
    <?php
    $to = "SOMEONE";
    $subject = "New IT Request Job ID: $jobid";
    $txt = "New IT Request
    From: $rowuser[0] $rowuser[1]
    Job ID: $jobid
    Job Type: Other
    IT Request...
    See more | Go to post

  • jason1987
    replied to PHP and mysql help SELECT, INSERT and UPDATE
    in PHP
    Thanks guys I have worked a way of doing this and it works fine, but now i need to put this into a if statement - but this if statement is not working, why?
    Undefined index was coming up

    [PHP]

    $equtype=$HTTP_ POST_VARS['equtypeid'];

    if (($equtype)== '8' || '8') // if equtypeid = 8
    {
    $simlink = "SELECT simparentid FROM itsiminfo JOIN itequip ON itequip.equid = itsiminfo.simpa rentid...
    See more | Go to post

    Leave a comment:


  • jason1987
    started a topic undefined index error
    in PHP

    undefined index error

    I keep getting the undefined index error on the bottom two rows of my code simparent and equtype - the other two work fine yet there is no difference in my code. equtypeid is even from the same table as the top two

    [CODE=php]
    $equid=$HTTP_PO ST_VARS['equid'];
    $fromuserid=$HT TP_POST_VARS['fromuserid'];
    $simparent=$HTT P_POST_VARS['simparentid'];
    $equtype=$HTTP_ POST_VARS['equtypeid'];
    [/CODE]

    these...
    See more | Go to post
    Last edited by ak1dnar; Oct 17 '07, 03:03 PM. Reason: [code=php] .......... [/code] is missing

  • jason1987
    replied to PHP and mysql help SELECT, INSERT and UPDATE
    in PHP
    I have changed it as follows but still not working :s
    [CODE=php]
    $simlink = "SELECT simparentid FROM itsiminfo WHERE itequip.equid = '$equid' "; // for sim
    $ressimlink = mysql_fetch_ass oc($simlink);
    $querytransins2 = " INSERT INTO itequiptransfer s (equid, fromuserid, touserid) VALUES ('".$ressimlink ."', '".$fromuserid. "', '".$touserid."' )";
    $resulttransins 2...
    See more | Go to post
    Last edited by pbmods; Oct 17 '07, 11:50 AM. Reason: Changed [CODE] to [CODE=php].

    Leave a comment:


  • jason1987
    replied to PHP and mysql help SELECT, INSERT and UPDATE
    in PHP
    I have changed this but no difference :S
    See more | Go to post

    Leave a comment:


  • jason1987
    started a topic PHP and mysql help SELECT, INSERT and UPDATE
    in PHP

    PHP and mysql help SELECT, INSERT and UPDATE

    hello, if anyone can help would be great

    On this project I have got 2 items a mobile and simcard, these are in one table as two records and have a unique equid each. the simcard is also in another table called siminfo and has a parentid (which is the same equid as the mobile) to create the link. In the equipment table there is also userid

    I already have code that transfers these items individually, but i want to be able...
    See more | Go to post
    Last edited by pbmods; Oct 16 '07, 12:25 AM. Reason: Changed [CODE] to [CODE=php].

  • jason1987
    started a topic Reports help

    Reports help

    I have got two lots of data in a table, one of them gets a premise name and town from one table (all clients) and the other from another (premises list) I need to be able to only display the all clients data if there isnt any data from the premises list (and hide the all clients data if there is)

    Code:
    Private Sub Report_Open(Cancel As Integer)
    If IsNull(Me.Premises) Then
        Me.Premise.Visible = True
        Me.Posttown.Visible
    ...
    See more | Go to post

  • jason1987
    started a topic line 1: incorrect syntax near '='

    line 1: incorrect syntax near '='

    I keep getting this error on the following code, unsure what im doing wrong.

    Premise.RowSour ce = "SELECT PSNNETID,premna me,town,premid, clientid FROM [PSNNET PREMISES ALL]]" +
    " WHERE [PSNNET PREMISES ALL].[Clientid] = " & [Client id] & " ORDER BY Premname,town"
    Premise.SetFocu s


    Can anyone help??
    See more | Go to post
No activity results to display
Show More
Working...