Hi,
I am making and HTML email. I have 3 images to put in. Currently I have
$body .="
";
ideally I would like to have
$myimage1 = "image1.jpg";
$myimage2 = "image2.jpg";
$myimage3 = "image3.jpg";
and put them into the HTML body variable. I have tried escaping them in
Just wondering if anyone uses an IDE and if so what ones?
Ta,
H.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Is there a built in function in PHP5 to determine if an integer is even or
odd?
Ross
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I am still having poblems with the php5 functions. I have 4 variables in
each. What is the problem?
Warning: mysqli_stmt::bind_param() [function.mysqli-stmt-bind-param]: Number
of elements in type definition string doesn't match number of bind variables
in on line 21
$prep = $mysqli
Hi,
Begining using the php5 mysql functions and want to know what is the point of
preparing/binding the data before I insert it?
$prep = $mysqli->prepare ("INSERT INTO cd (cdid,title,artist) VALUES
('0',?,?)");
$prep->bind_param ('22',$title,$artist);
Ta,
R.
Hi,
It is about time I made the jump to 5, however the only thing that is
holding me back is the problem with hosts. How many hosts still run php 4
and am I going to have to spend hours and hours persuading them to upgrade
before I can run my code?
I have very little time as it is and am anxi
I changes it now so it is...
header('Content-Type: application/octet-stream');
header("Content-Disposition: attachment; filename=$file_name");
echo $content;
exit;
Which works on ie7 but safari still downloads the .php
R.
""Hulf"" <[EMAIL PROTECTE
The problem I am getting is safari just downloads the .php file. IE7
corrupts the binary file. It opens fine on FF and IE6. Is this a headers
problem?
Thanks,
R.
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Under the results there are 3 files to download. Some users are getting an
uable to read or corrupt message.
http://vps.aztechost.co.uk/~trisco/index.php
and 3 here
http://vps.aztechost.co.uk/~trisco/rankings.php
The upload script is similar
if(isset($_POST['_upload']) && $_FILES['userfil
My download script only gives me empty (0kb) xls files. They are being
uploaded as blobs and seem ok. Can someone shed some light on why the
downoad is not working.
Many Thanks,
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This is the full code so far. The files are saving but they are not
resizing.
Can anyone help? I need to get this
$myimage = imagejpeg($thumb);
into $target_path directory.
H.
--
if(isset($_POST['_upload']) && $_FILES['userfile']['size'] > 0)
{
$ima
Sorry my message was cut off.
Yes I want to scale to 300 x 200px before I upload the image to my folder.
Here is my code so far.
thanks,
H.
$imageinfo = getimagesize($_FILES['userfile']['tmp_name']);
echo $x=$imageinfo[0];
echo $y=$imageinfo[1];
$newwidth = 300;
$newheight = 200;
// Load
I have images of varying sizes. I want them to be scaled prior to upload to
a set size of 300 x 200 px
$imageinfo = getimagesize($_FILES['userfile']['tmp_name']);
$ix=$imageinfo[0];
$iy=$imageinfo[1];
//upload the images script
I
--
PHP General Mailing List (http://www.php.net/)
To unsubs
This does not work
echo $title=$row['title'];
echo "";
Ta,
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
switch ($q) {
for ($i=0; $i <21; $i++) {
case 'faq$i':
echo $faq1;
break;
}
}
I just want to loop out a big long list of cases.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I reword my last post.
I want to take the result and generate the field info to the screen e.g
id, int(10)
name, varchar(30)
age, varchar(30).
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I mean get the schema.
""Hulf"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Is there a way to output my data and tables using a php version of SHOW?
> Doesn't have to be pretty HTML just output to screen
>
> Ta,
>
>
> R.
-
Is there a way to output my data and tables using a php version of SHOW?
Doesn't have to be pretty HTML just output to screen
Ta,
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am outputting a selectbox and want to do the follwoing. How can I add the
IF statement inside the the echo?
for ($value = 0; $value <= 2000; $value += 100) {
echo " $value";
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
19 matches
Mail list logo