pzuurveen 90 Posting Whiz in Training

you are making 2 calls to call.php
first has post variables:
xhr.send("amount=" + transferTotal + "&name=" + name);

second does not:
window.open('https://mydomain.com/con.php', '_blank');

pzuurveen 90 Posting Whiz in Training

$_SESSION gets set by session_start()
before that is empty
So:

<?php
    session_start();
    header("Content-Type: application/json");
    header("Access-Control-Allow-Credentials: true");
    header("Access-Control-Allow-Origin: null");

    if (isset($_SESSION))
    {
        $_SESSION["time"] = time();
        if (isset($_SESSION["time"])) echo json_encode("Session exists:" .$_SESSION["time"]);   
    }
    else
    {
        echo json_encode("Session does not exist!");
    }
pzuurveen 90 Posting Whiz in Training

Why not use explode

pzuurveen 90 Posting Whiz in Training

code ?

pzuurveen 90 Posting Whiz in Training

please show your code

pzuurveen 90 Posting Whiz in Training

remove the style="display:none;" from

    <ul id="playlist1" style="display:none;">
        <?=$output?>
    </ul>
diafol commented: Still laughing. Heh heh. +15
pzuurveen 90 Posting Whiz in Training

use google.maps.marker()

the deprecated object google.maps.MarkerImage only defines the image.
(the also an example on the same page what to use now)

pzuurveen 90 Posting Whiz in Training

use IN

UPDATE sho_term_relationships 
   SET term_taxonomy_id = 2
 WHERE object_id IN (SELECT `id` FROM `1876522_shoping`.`sho_posts` WHERE CONVERT(`post_title` USING utf8) LIKE '%Audio CD%')
pzuurveen 90 Posting Whiz in Training
if (isset($_POST['chkNumberck'])) $returnArray=$_POST['chkNumberck'];
else $chkNumberck= array();
$count=5;

echo"<form action='test.php' method='post'>";
for ($sub_id=0 ;$sub_id < $count;$sub_id+=1) 
    {
    echo "<input type='checkbox' name='chkNumberck[]'  value=$sub_id "; 
    if (in_array($sub_id,$chkNumberck)) echo"checked='checked'";>
    }
echo "<input type='submit' /></form>";
pzuurveen 90 Posting Whiz in Training

2e part:

       $output ="";
           while($record = mysqli_fetch_assoc($query_confirm)) {
                $output .= "<tr>";
                $output .= "<td>" . $record["p_date"] . "</td>";
                $output .= "<td>" . $record["p_day"] . "</td>";
                $output .= "<td>" . $record["timein"] . "</td>";
                $output .= "<td>" . $record["timeout"] . "</td>";
                $output .= "<td>" . "06:25:22" . "</td>";
                $output .= "<td>" . $record["p_date"] . "</td>";
                $output .= "</tr>";
                }   
            return $output; 

not sure about the 1st part.
Are $dateval1 eand $dateval2 in the proper format?
how is p_date defined? date? dateTime?

pzuurveen 90 Posting Whiz in Training

also:

echo "<td><a id='more' href='http://www.niloofar3D.ir' onClick='return popup(this, \"mypopup\")'><button>&raquo;</button></a></td>";
pzuurveen 90 Posting Whiz in Training

is this what you want:

$sql = "SELECT * FROM misscall WHERE did_no = ". $didno;

or did I not understand your question?

pzuurveen 90 Posting Whiz in Training

silly question:
Are you actually using a Apache server?

pzuurveen 90 Posting Whiz in Training

maybe if you tell what isn't working

pzuurveen 90 Posting Whiz in Training

according to the manual: operators precedence

it has an 'Undefined order of evaluation'
and may 'change between versions of PHP or depending on the surrounding code'

diafol commented: Good link. Thought I was going insane. Well maybe I am, but not 'coz of this! +15
pzuurveen 90 Posting Whiz in Training

html line 9

<input type="submit" name="y" value="submit my data" />

Your submit-button is called 'y' not submit
either change that line or your php_handler.php line 3:

if (isset($_POST['y'])){
pzuurveen 90 Posting Whiz in Training
pzuurveen 90 Posting Whiz in Training

something is wrong at around line 228

if (isset($_POST['type'])) {
    if ($_POST['type'] == "login")
}

change to

if (isset($_POST['type'])) {
        if ($_POST['type'] == "login") {
        // do something 
        // like displaying your login form
        }
    }
pzuurveen 90 Posting Whiz in Training

Your database login and password are showing
Change them now!!

pzuurveen 90 Posting Whiz in Training
$id =$_POST['user_id'];
rubberman commented: Posting answers is good. Posting with explanations is better. +12
pzuurveen 90 Posting Whiz in Training

At line 12 $path and $img are not known yet, you declare them later.
So move the php part (line 14 -41) to the top of your script

pzuurveen 90 Posting Whiz in Training

it must be $d= $_GET["d"];
not $d= $GET["d"];

pzuurveen 90 Posting Whiz in Training

make sure your browser points to http://localhost/yourfile.php and NOT file://c:/wamp/htdocs/yourfile.php

pzuurveen 90 Posting Whiz in Training
<?php
session_start();

must be the at the very top of youre script.
no html before it, not even a white-line;

for actual error message:
if just you run session1.php, $_POST will be empty.
test: var_dump($_POST);
the $_POST is filled bij the form only after you submit it
but action="session2.php" will redect to session2.php
so in session2.php $_POST['text'] will have the value input in the form.
So no need for $_SESSION.

pzuurveen 90 Posting Whiz in Training

What exactly do you need to do?
you need to be a registrar to create a new domain yourself. (and have an dns-server).
But you can create subdomains like somebody.yoursite.com

pzuurveen 90 Posting Whiz in Training

It looks to me that your database is not structured
properly. Take a look at database normalization

pzuurveen 90 Posting Whiz in Training

have you tryed:
if (isset($_POST['submit'])) {

pzuurveen 90 Posting Whiz in Training

should it be :
$mail->Port = 465; //port secure ssl email

pzuurveen 90 Posting Whiz in Training

have you checked out the php mail function?

pzuurveen 90 Posting Whiz in Training

do you get any error messages?

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

You don't do a query
checkout www.tizag.com,
www.w3schools.com

pzuurveen 90 Posting Whiz in Training

have you checked out move-uploaded-file?
take a look at the example

pzuurveen 90 Posting Whiz in Training

problably just a past error line 2:
<?phpforeach($row as $b):?>
must be
<?php foreach($row as $b):?>

but where is the endforeach;

pzuurveen 90 Posting Whiz in Training
if(!empty($stu_fname) &&
   !empty($stu_lname) && 
   !empty($stu_email) && 
   !empty($stu_telp)  && 
   !empty($stu_skype) )  {
pzuurveen 90 Posting Whiz in Training

to cover the basics:
make sure $_GET["clientid"] is not empty
add: else echo "no clientid";

pzuurveen 90 Posting Whiz in Training

don't you mean :
no DATAbase selected?

mysql_connect("localhost","root","") or die (mysql_error());
mysql_select_db("secure") or die (mysql_error());

also I don't see a mysql_query();
also mysql is deprecated use mysqli or pdo

pzuurveen 90 Posting Whiz in Training

Why do you want to do this.
To protect your server from mysql-injection?
Than it's not save to rely upon javascript.
Data can be sent directly to your server bypassing all your code.
Javascript validation is only used to create a faster error message.
It's the job of the server-site script (php) to make sure the data is save.

pzuurveen 90 Posting Whiz in Training

edit: nevermind

pzuurveen 90 Posting Whiz in Training

You never execute the update query

$s="UPDATE finance SET credit ='" . $r. "'  WHERE payee = 'rw'";
$res = mysql_query($s) or die(mysql_error());
pzuurveen 90 Posting Whiz in Training

e.currentTarget.html() should work
html() retuns the html inside of the <div> not the <div> itself

pzuurveen 90 Posting Whiz in Training

make sure your browser points to http://localhost/
not c:/wamp/www/yourefile.php

pzuurveen 90 Posting Whiz in Training
if(isset( $_GET['Product_id'])) $product = $_GET['Product_id'];
else echo " no product id";
pzuurveen 90 Posting Whiz in Training

I didn't give you the solution because you already know it.
isset() will test test if a var exists without giving an error.
Simular as you do on line 1.
empty() whill test if i has a value that is not FALSE
combining the 2:

if( isset($row['PageId']) && !empty($row['PageId']) )   
    {
    $val=$row['PageId'];
    }
else 
    {
    $val='';
    }
pzuurveen 90 Posting Whiz in Training

That just turns off any error message below E_PARSE level.
It doesnot solve the error.

pzuurveen 90 Posting Whiz in Training

if $_GET['Id'] (line 1) is not set, $row['PageId'] (line 27) will no exist

pzuurveen 90 Posting Whiz in Training

JSONReader() is not part of php

pzuurveen 90 Posting Whiz in Training

Why do you want to know?
Or do you want to know the connection speed?

pzuurveen 90 Posting Whiz in Training

You have to pay zenatdesign.com $40 to be able to use that software.
Gess they are happy to answer your questions.

pzuurveen 90 Posting Whiz in Training

in your function you use loginsell but your form is called loginform