- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 23
- Posts with Upvotes
- 19
- Upvoting Members
- 13
- Downvotes Received
- 4
- Posts with Downvotes
- 3
- Downvoting Members
- 4
Re: Instead of contactid in the php code on the bottom change it “ticketnumber” or use a ‘if(isset….. )‘ code | |
Re: $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 … | |
Re: 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.", } … | |
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 … | |
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" … | |
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 … | |
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 … | |
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 … | |
Re: 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. | |
Re: 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");` | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Re: 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. | |
Re: 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. | |
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 … | |
Re: It looks like you are missing a closing <tr> attribute in your first table field. | |
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... | |
Re: 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 … | |
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 … | |
Re: 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 | |
Re: 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. | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
Re: Try this.... if ($row['PROT_A']="Y" && $row['CFHL_A']="$G2") { echo "<img src='/fantasy/images/current.png' width='12' height='12'>"; } |