I've been working on a site for a doctors office. I'm pretty good with HTML/CSS and some PHP, but am still trying to learn Javascript/JQuery.   So the easiest way to describe my problem ( my problem, to me at least, is pretty complex) is with...
I want to do is if the user successfully registered the pdo will provide an information and send it to ajax and the ajax will message if the user is registered or not. It was working properly after i put this condition in my pdo and now it wont inser...
I am constructing an API with Javascript and for security reasons I switched my PHP database calls over to PDO.  Since doing so, I have had troubles with queries returning empty arrays (NOTE: not MySQL syntax errors). The latest example is this:  /*J...
Hi_I'm trying to get the value of a single row from my database using a PDO SELECT statement, then echo it back from the PHP file to my Javascript file.   If the value equals 1 then I want to create an alert to say "The value is 1". If th...
Here's what I'm trying to get response14.php?questionID=1&question=yes&approved=1   Here's what I'm currently getting response14.php?questionID=[object%20Object]&question=undefined&approved=1  Here's the js file:...
I'm trying to output item description from database query.  This is piece of code that should output the description with name etc...  <?PHP  $type = "item"; $limit = 16;  $preparedStatement = $SQL->prepare('SELECT * FROM z_shop...
How can I add my values owdid and visited id after clicking below link by ajax?  <a href="index.php" onclick="insertvisit(<?php echo $interestid;?>)">member1</a>   Below is my insertvisit function. I have defined owd...
I've been trying to fix this issue for a while, I've spent endless amounts of time on the web searching for a solution for it. So I thought I'd come to you guys since I am at wits end with this problem. Basically I have a CMS system that...
<?php  try {    $dbh = new PDO('pgsql:host=localhost;port=5432;dbname=###;user=###;password=##');    echo "PDO connection object created"; } catch(PDOException $e) {       echo $e->getMessage(); }  ?>   I get the error messag...
To be honest i got my login/sign up form from online. I have dealt with a little bit of javascript but the one its using is a bit above my head. So what i'd like to do is figure out which onclick event im using and be able to send that to another...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.