[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...
User Profile
Collapse
-
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... -
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 -
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"... -
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 -
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...Last edited by Atli; Nov 9 '07, 12:55 PM. Reason: Changed thread title to better describe it's contents. -
-
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... -
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...Leave a comment:
-
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... -
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...Leave a comment:
-
-
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... -
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 -
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??
No activity results to display
Show More
Leave a comment: