Posts
 
Reputation
Joined
Last Seen
Ranked #548
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
82% Quality Score
Upvotes Received
23
Posts with Upvotes
19
Upvoting Members
13
Downvotes Received
4
Posts with Downvotes
3
Downvoting Members
4
4 Commented Posts
~93.6K People Reached
Favorite Tags
Member Avatar for Fireytech

I have a subform called "Contacts" embedded on my "Tickets" page. I want to create an edit button to jump to my contacts_edit.php page and use the 'ContactEntryNumber' (the unique key from my Contacts table) for the displayed contact record as the updateID. I have played with this and read …

Member Avatar for Fireytech
0
59
Member Avatar for forgot

> Hi guys, I blinked and got lost. All I want to do is copy Payfile to Pmtfile and then update records in Payfile that have been paid(amtpaid !=''). The update doesn't happen and the insert-note comments at botom of post. <?php $link = mysqli_connect("localhost", "root", "", "prerentdb"); // Check …

Member Avatar for patk570
0
72
Member Avatar for Bright_4

I need to add variable called $new_status, but its not being recognised on php, any suggestions. $sendData = '{ "messages" : [ { "content" : "Your order is $new_status.", } ] }';

Member Avatar for patk570
0
82
Member Avatar for patk570

Hi Everyone, I am looking for a way to add a username to confirm a seat choice for certain weeks, I already have the PHP Code to confirm the seat when choosing but on the image i would like for it to display the username so other people know its …

Member Avatar for rproffitt
0
1K
Member Avatar for patk570

I have a JSON array that has multidimensions to it: { "@id": "a", "@label": "A", "drecord": [ { "@id": "aaliyah", "@rdate": "2001-08-25", "@lease": "bh05", "name": { "surname": "Aaliyah" }, "job": "hip hop singer/actress", "dead": { "@value": "y" }, "cause": "Burned to death in a plane crash", "ddate": { "date": "2001-08-25" …

Member Avatar for alan.davies
0
2K
Member Avatar for patk570

Hey everyone, I have a JSON array that pulls data, its an immense amount of data that i use. It is a multilevel array eg: dateTime: 2018-12-04T10:30:45:222z comments:"" +Driver[0] [0] fname: John lname: Doe driverCode: DOEJ [1] fname: Mary lname: Smith driverCode: SMIMA more info etc I am trying to …

Member Avatar for ndeniche
0
3K
Member Avatar for patk570

I have a code that pulls a JSON response, and I need to compare times from now() and a previous when the timestamp was created. I am able to pull the info and have it display. However, when i try and get the comparison to work it just sits there …

Member Avatar for jkon
0
391
Member Avatar for patk570

Question, I have a `$each(array, function());` and within that statement, i have a` for` loop , Is it safe to be doing this? and could this be the reason that i am getting the same values multiple times returned even though the object array length is 8, i am getting …

Member Avatar for Kannu_2
1
445
Member Avatar for Ricky_8

<?php require('db.php'); include("auth.php"); $id=$_REQUEST['id']; $query = "SELECT * from new_record where id='".$id."'"; $result = mysqli_query($con, $query) or die ( mysqli_error()); $row = mysqli_fetch_assoc($result); ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>View Records</title> <link rel="stylesheet" href="css/style.css" /> </head> <body> <div class="form"> <p align='center'><a href="index.php">Home</a> | <a href="view.php">View Account</a> | <a href="logout.php">Logout</a></p> …

Member Avatar for patk570
0
358
Member Avatar for Sameer_10

Hi Friends i am trying to isert this data to mysql database. However I cannot get this done because I do not know what is happening. I would appreciate any help. This is the code <!doctype html> <html> <head> <meta charset="utf-8"> <title>Untitled Document</title> </head> <body> <div id="wrapper"> <div class="box-header"> <h2>NEW …

Member Avatar for patk570
0
176
Member Avatar for patk570

Hey everyone, I have a table, that is going to used to calculate IFTA, its a fueltax calculator populated by each state and the rate of each state. My question is, do i need to create a formula for each state? or can i do 1 formula and have it …

Member Avatar for patk570
0
509
Member Avatar for patk570

Guys and gals, I am trying to do a simple LITTLE DIVIDE problem using jQuery its getting the values, but when its returning the results, it as if they are being divided by 10000, but I know its not... E.G. 50506/1000 = 50.506 in my jquery problem, it is coming …

Member Avatar for patk570
0
328
Member Avatar for patk570

6 ●4 I have a code that displays an array from GeoTab SDK, I am able to get the array to display in the console.log, and it populates the results like normal, However, When I try to populate the data in the table, nothing shows but the headings. Here is …

0
212
Member Avatar for patk570

Hey everyone, I have a script that does an API call, the results are displayed in a json array, but i am trying to break them down into HTML tables here is my code var deviceId = ""; api.call("Get", { typeName : "DutyStatusLog", search : { deviceSearch : { driver …

Member Avatar for rproffitt
0
5K
Member Avatar for patk570

Hey everyone, this code below is giving me a weird error, Script 438: Object doesn't support property or method 'ajax'. I am testing this in Microsoft Edge, but...I have a website that uses this exact same code, and its working like normal. I am getting the `var id` to load …

Member Avatar for patk570
0
5K
Member Avatar for Link_1

I makeing a website using VB .net inside visual studio. I have a database where I am storeing names. Than I am displaying these names inside a table. here is a ex: ---------------- | dave | bob | | john | bill | ---------------- I was to add a button …

Member Avatar for RobinR
1
390
Member Avatar for micahp20

can anyone send me a htlm code/template for "meet the staff" page or "about us" page if you look our site its not formatted correctly now is the moble version. Any help formatting or coming up with a generic template would be greatly appreciated.. https://www.astarsafety.com/about-us

Member Avatar for gentlemedia
0
260
Member Avatar for patk570

Hey everyone, I got bored one day and created this little jem. There are no issues with it, but it may help somone out later on down the road if they have a simple project that needs to be completed.      Everything is on one pages and includes elements …

Member Avatar for patk570
2
3K
Member Avatar for Lim_2

HI,everyone , I m stum in this question for long time, could somebody help me out, my output is success ,but the arrange in table is wrong. below is my code.. <?php $no_pensyarah=$_SESSION['no_pengguna']; $tahunsemasa =date('Y'); include '../includes/dbconnect.php'; $sql_rekod = "SELECT a.*,b.nama_subjek,c.nama_kursus FROM info_subjek_pensyarah as a, subjek as b,kursus as c …

Member Avatar for patk570
0
346
Member Avatar for patk570

So i have a simple script nothing to big, but im already getting an unexpected "updateTime" $sql = "UPDATE users SET last_login = NOW() "; $updateTime = $this->db_connection->exec($sql); THis is my first time using PDO and I am already getting errors after 2 lines...

Member Avatar for jstfsklh211
0
265
Member Avatar for divinity02

hi all I am trying to build a registration form using the bootstrap, design, and I am stuck. i am stuck where the date of birth. it used the drop down list in bootstrap but where I am stuck at is getting it to be side by side on the …

Member Avatar for patk570
0
277
Member Avatar for patk570

Cannot get this to refresh. My code is below. I am propably doing something silly, but I cannot figure it out... var auto_refresh = setInterval( function(e) { var email = '<?php echo $_SESSION['user_email']?>'; console.log(email); e.preventDefault(); $.ajax({ type : 'GET', url : 'count_record.php', // in here you should put your query …

Member Avatar for michael.dewitt.716
0
217
Member Avatar for ARNAB_2

I have a shell script , which I am executing via a PHP, which in turn executed from a html page. Whereas PHP script is not getting executed from the html. PHP script is working fine when executing from the server. Please be informed ownership is correct. Please suggest a …

Member Avatar for patk570
0
268
Member Avatar for phphp

Sir I have these codes <body onload="code.focus()"> <!-------------------------------------> <form name="form" action="<?php $_PHP_SELF;?>" method="post"> <!-------------------------------------> <div id="partybox"> <!--f_date1--> <label for="datepicker-13"> Date </label> <span style="border:1px solid #FFF;border-radius:3px;width:95px;height:20px;"> <input style="background-color:#FFC;border:1px solid #9C6;text-align:center;" type="text" size="9" name="f_date1" required id="datepicker-13" onblur="validatedate(document.form1.f_date1)" value="<?php echo date('d-m-Y', strtotime($f_date1));?>" disabled="disabled"/> </span> <!--vno--> <label for="vno"> V. # </label> <span style="border:1px solid …

Member Avatar for AndrisP
0
210
Member Avatar for patk570

Hey everyone, I have a site that has a customer account, right now it looks like crap and i need an idea on how to style it. Right now I am using Bootstrap, but I want to move away from it and try something else. My issue is, I have …

Member Avatar for patk570
0
203
Member Avatar for patk570

I am trying to populate the data in a modal via AJAX, but i am unsure how to do so. The link right now is `<a href="viewmessage.php?id='.$row['ID']'">View</a>` Since there is only 1 Message in the Database, the number is 70. I have seen multiple things online but I am not …

Member Avatar for patk570
0
7K
Member Avatar for patk570

I am using OS Ticket and I have another site for Members Area,I am trying to join the 3 tables that have the information that corresponds to the customer by EMAIL. the first table is:qbcd_ticket: ticket_id | number | user_id | user_email_id | status_id | dept_id | and more... 5 …

Member Avatar for cereal
0
405
Member Avatar for patk570

I have a code that is working to show images and description. But I am trying to get it to loop through 3 pictures wide, then loop again. and display them, I am going to add pagination to the script, but before i do that i need it to loop. …

Member Avatar for patk570
0
419
Member Avatar for patk570

Hey everyone, I have a MYSQLI statement that i would like to add pagination to. I would like to have it set to 5 per page, and not have a negative value if you are on page 1 (disables back link) Every tutorial i have been seeing allows for a …

Member Avatar for patk570
0
656
Member Avatar for ceeandcee30

I must be missing something obvious. Looking to have an if statement where it will only echo the image if BOTH conditions are met. Currently, it is echoing when only one is met if ($row['PROT_A']="Y" and $row['CFHL_A']="$G2") { echo "<img src='/fantasy/images/current.png' width='12' height='12'>"; }

Member Avatar for diafol
0
219