Posts
 
Reputation
Joined
Last Seen
Ranked #557
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
~94.7K People Reached
Favorite Tags
Member Avatar for Fireytech

Instead of contactid in the php code on the bottom change it “ticketnumber” or use a ‘if(isset….. )‘ code

Member Avatar for Fireytech
0
63
Member Avatar for forgot

$sql = "UPDATE payfile set amtpaid = '', late ='', hudpay ='', paidsum ='', datepaid ='', latechg = '', secdep = '', damage = '', courtcost = '', nsf = '', chgmoyr = ' ', comments =' ' WHERE amtpaid =!''"; This is all blank quotes, so nothing is going …

Member Avatar for patk570
0
76
Member Avatar for Bright_4

one thing is where is the new status coming from? is it coming from the URL? if so, you can have something like: <!DOCTYPE html> <html> <body> <?php <?php if(isset($_GET['status'])){ $new_status = $_GET['status']; if($status=="your variable"){ echo $sendData = '{ "messages" : [ { "content" : "Your order is $new_status.", } …

Member Avatar for patk570
0
86
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
395
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
452
Member Avatar for Ricky_8

are you passing the `id` variable in the link to the page? When you do a $_REQUEST['id'] its looking for `?id=1 or ?id=testuser` in the link from the previous page.

Member Avatar for patk570
0
360
Member Avatar for Sameer_10

Whats the error? and you are also wide open to [SQL Injection](https://www.w3schools.com/sql/sql_injection.asp). After `$qur` put `or die("Mysqli Error: " $qur");`

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
511
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
332
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
215
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 would suggest something like this: https://swisnl.github.io/jQuery-contextMenu/demo.html its based in jQuery, which will make it easier to code. I sent you the demo link.

Member Avatar for RobinR
1
392
Member Avatar for micahp20

Also, you want to figure out what backbone you want to use to make it mobile friendly. We cannot just give answers we need a basis of foundation to start off, so we can give you advise or advise what direction to take.

Member Avatar for gentlemedia
0
262
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
Member Avatar for patk570
0
350
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
277
Member Avatar for divinity02

Directly from getboostrap.com > Inline form Add .form-inline to your form (which doesn't have to be a <form>) for left-aligned and inline-block controls. This only applies to forms within viewports that are at least 768px wide. <form class="form-inline"> <div class="form-group"> <label for="exampleInputName2">Name</label> <input type="text" class="form-control" id="exampleInputName2" placeholder="Jane Doe"> </div> <div …

Member Avatar for patk570
0
283
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
219
Member Avatar for ARNAB_2

add this to your .htaccess file Apache2 @ Ubuntu/Debian: use this directive AddType application/x-httpd-php .html .htm If your are running PHP as CGI (probably not the case), you should write instead: AddHandler application/x-httpd-php .html .htm

Member Avatar for patk570
0
273
Member Avatar for phphp

What Cereal said, when you have a field that is disabled, it will not send a variable to the server whereas the readonly field will send that field to the server.

Member Avatar for AndrisP
0
213
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
205
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
406
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
444
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
659
Member Avatar for ceeandcee30

Try this.... if ($row['PROT_A']="Y" && $row['CFHL_A']="$G2") { echo "<img src='/fantasy/images/current.png' width='12' height='12'>"; }

Member Avatar for diafol
0
223