pzuurveen 90 Posting Whiz in Training

Your function sends the tilte to the theme.
The theme add the link (or not)
frorm the defalt 2013 theme:
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>

pzuurveen 90 Posting Whiz in Training

You can use any ftp-client to login to you wp-site.
Use the same username/password as when updating.

But if that cusom-form is on the same server as wp, you can simply use a simple webform to upload your products.csv

if not: ftp-put

pzuurveen 90 Posting Whiz in Training

wordpress has it own opload tools for images and other 'media'.
But it uses ftp when you do an update.
What is not working for you?

pzuurveen 90 Posting Whiz in Training

$image = $row["image"]; is $row["image"] the url to the image?

after that you start messing up php and html code

pzuurveen 90 Posting Whiz in Training

You change the use the filename that you already changed as the oridanal one. $filename_data=explode(".", $_FILES['img']['name']);
The solustion is to take this out of the while loop.
You also need to test if the file exist in the $target dir as you do inside the loop

pzuurveen 90 Posting Whiz in Training
foreach( $array as $index => $value) 
    {
    echo "$index , $value";
    }

0 , first
1 , second
2 , third

pzuurveen 90 Posting Whiz in Training
  1. You move te uploaded file before you check it exist.
  2. you rename the already remaned file creating something like: image_0_1_2.jpg
pzuurveen 90 Posting Whiz in Training

if you already have the info you need in $_POST there is no reson to put it in a $_SESSION.
$_POST is usaly obtaind from a <FORM> on the first page or by an AJAX-request.
if you just want to send the image name to the 2 page why not use $_GET
on page 1

echo"<a href='page2.php?imageName=$imageName'>...</a>";

on page 2

$imageName=$_GET['imageName'];
pzuurveen 90 Posting Whiz in Training

first create te code in html to make sure you get what you want.
Then create that html-code using javascript with document.createElement

nouth commented: thanks :) +1
pzuurveen 90 Posting Whiz in Training
pzuurveen 90 Posting Whiz in Training

maybe a subquery
see Click Here

    SELECT user_liked_by FROM ( 
        SELECT COUNT(user_liked_by) AS total, id, user_liked_by
        FROM whatilike WHERE whats_liked LIKE '%$thing_liked%' &&
        user_liked_by !='$user'
        ORDER BY COUNT(user_liked_by) DESC ) as names 
    GROUP BY user_liked_by;

not sure what this will do to the ORDER BY part

pzuurveen 90 Posting Whiz in Training

I have something like it

The devil is in the details. Don't see any thing here that is either a class or require jquery.
Post your exact code.

pzuurveen 90 Posting Whiz in Training

line 5

 if($email == $row1['email'])

and what are you trying to do on line 4?

pzuurveen 90 Posting Whiz in Training
pzuurveen 90 Posting Whiz in Training

line 40
use $myemail insted of $email:

elseif (empty($myemail))
pzuurveen 90 Posting Whiz in Training

also check out mysql_real_escape_string
(will not solf your problem but prevent hacking)

pzuurveen 90 Posting Whiz in Training

you post the wrong file
post F:\xampp\htdocs\s.php

pzuurveen 90 Posting Whiz in Training

I checked out hpage. You can't upload php-files. But they do have a default contact-form that sends email.

pzuurveen 90 Posting Whiz in Training

The only thing I can think of:
make sure your url is: http://localhost/youfile.php
not c:\wampp\htdocks\yourfile.php (what you will get if just clicking on it)

pzuurveen 90 Posting Whiz in Training

You have a error in your mysql_connect stament.
make sure you have the right host, user, and password

pzuurveen 90 Posting Whiz in Training

What are your db-tables look like?
post your code

pzuurveen 90 Posting Whiz in Training

in json the name also has to be inside "", I foreget about that.
Gess that you have to write your own parser.
something like:

    $var = preg_replace("/_result_=/", "", $var);
    $var =trim($var);
    $var =trim($var,'{'); //remove {
    $array = explode (",", $var);
    $result=array();
    foreach ($array as $var2)
        {
        $array2=explode(':',$var2);
        $result[$array2[0]]=$array2[1];
        }  
    var_dump ($result);
pzuurveen 90 Posting Whiz in Training

remove the "_result_ = " part.
use json_decode() on the rest

pzuurveen 90 Posting Whiz in Training

I'm not sure what your asking for.
to get the id of the last insert into the db: mysqli.insert-id
show the code you have problems with

pzuurveen 90 Posting Whiz in Training

It has to do with the image orientation stored in the EXIF data.
camera's should add this data to the jpg but that is not standard.
Also windows xp ignores and removes this data.
the link gave but now unbroken:
http://php.net/manual/en/imagick.getimageorientation.php

pzuurveen 90 Posting Whiz in Training
pzuurveen 90 Posting Whiz in Training

are you sureif(isset($_POST['jansave'])) is true?
if not the script exit whitout output
is 'jansave' the name of your submit-button?

start with var_dump($POST) to check

pzuurveen 90 Posting Whiz in Training

Your file isn't valid json
to create it you have to put all output through json_encode
Also recoment using header("Content-type: text/json"); to create a true json-file

pzuurveen 90 Posting Whiz in Training

in the_processing_program.php:
$answer=$_GET['conf']

pzuurveen 90 Posting Whiz in Training

sounds like a job for the webserver to me.
may this helps: http://linuxpoison.blogspot.nl/2012/02/setup-and-configure-bandwidth-limiting.html

pzuurveen 90 Posting Whiz in Training

also maybe:

$sql="UPDATE db SET 2nd_email_sent ='1' WHERE 2nd_email_sent ='0' AND stage_two = '1'";
pzuurveen 90 Posting Whiz in Training

any error messages?

pzuurveen 90 Posting Whiz in Training

You are trying to use sessions with a html-file.
create your login form (now in login.html) in the login.php
And don't include it on other pages

pzuurveen 90 Posting Whiz in Training
pzuurveen 90 Posting Whiz in Training

This just caught my eye
line 105
if ($male == 1 && $gender = "male")
shoulden that be :
if ($male == 1 && $gender == "male")
also on line 107

paulkd commented: good catch +6
broj1 commented: Indeed +9
pzuurveen 90 Posting Whiz in Training

And what is the error exactly?

pzuurveen 90 Posting Whiz in Training
pzuurveen 90 Posting Whiz in Training

2147483647 is the largest possible integer.
cast $OrderID as a string (typecasting)

pzuurveen 90 Posting Whiz in Training

yes that is posible
You can use the mysql function [curdate]
(http://www.w3schools.com/sql/func_curdate.asp)
or use the php object
$date = new DateTime("now");
What do you have so far?

pzuurveen 90 Posting Whiz in Training
pzuurveen 90 Posting Whiz in Training

if you did write this code, it should be not that hard
- place the file checking part into a foreach($_FILES as $file) loop
- save the file name in an array
- change the query and table to accept multipe icones

pzuurveen 90 Posting Whiz in Training
pzuurveen 90 Posting Whiz in Training

are you planning to store id, features and values, as an array (exploded to string or not)?
This is a bad idea.
better is to have 2 tables:

product:
id,
name,
...

product_features:
id, -> primery key (autoincrement)
product_id, -> forenkey -> the id from the product table
feature, -> the name of the feature
value -> the value of the feature

your exampel gives:
product:
 1,   redball
and 3 rows of product_features:
 1,   1,  color,   red     
 2,   1,   size,    13inch
 3,   1,  material,  silicon
pzuurveen 90 Posting Whiz in Training

does underpublic/searchforprice.php exists on your server?

pzuurveen 90 Posting Whiz in Training

if both $author and $title are NULL, $result2 will be undefined.
Use isset() before using it.

pzuurveen 90 Posting Whiz in Training
if (is_readable($document)) {
    echo "Document exists and is readable \n";
    }
else {
    if(!is_file($document)) {
        echo "Document does not exist\n";
        die();
        }
    else {
        echo "Document is not readable\n"; 
        die();
        }
    }
pzuurveen 90 Posting Whiz in Training

$db->query returns a sqlite3result not a string.
Use $db->fetcharray to get the values

pzuurveen 90 Posting Whiz in Training

typo for realpath()

should test on the dir name only

    $doc="userimages_doc/1364905979.3535.doc";
    $dir=pathinfo($doc);
    $document=realpath($dir['dirname']).DIRECTORY_SEPARATOR.$dir['basename'];
pzuurveen 90 Posting Whiz in Training

simple mail invitation in php.

There is no way to delete mail that is already send.
That has to be done by the receiver.

pzuurveen 90 Posting Whiz in Training

That is normal browser behavior
Redirect to a deferent page when your done:

     if(mysql_affected_rows() > 0)
        {
        header("location : thankyou.html");
        exit;
        }