why is it over writing
Code: $filepaths[] = $_FILES['new_image'];
foreach ($filepaths as $filepath)
{
$imagename =
Do not allow posting of whitespace
Currently the script below works if the user does not type a name/message, but if i create a whitesp
Xacute search within SQL results
I have a query that is pulling data, and I want to return a specific value from the results of that
Will this protect from mysql injection?
I do not want anything like DROP TABLE to work or any type of coding..
Heres my code.. is it
Different actions for different parts of a string
<?php
function dosomething($string, $else = '') {
if (empty($else))
$string
PHP code needed to get/post form fields and request mysql query results.
I'm new to PHP
I've created an html form to allow the user to request a basic telephone dire
mysql select query problem
how can i select multiple fields from multiple table in one query like
i have table name t1 a
Saving PHP output as a file
I wondered if anyone knows how to save the rendered output of a PHP script as a file?
I have
PHP mail() with images
I'm trying to get images to send along with my HTML e-mail sent through PHP mail(). I only tried vie
php calculate
this code echoes correctly the sum but the inserted result is 0??
Code: <?php
$TotalNum