Really hoping someone can help me out or point me in the right direction. This is my first ever post in a coding forum so I apologize in advance if I’m breaking any forum rules. I already have a bunch of php code sorted from modifying web resources. I need help altering it further to help me accomplish my goals. Below I’ve included my code, along with screenshots of the code executed in a browser and my MySQL database table. Background: I’m a professional musician but I have extremely basic computer programming knowledge. Nothing formal.. I use google, YouTube, Forums, …

Member Avatar
+0 forum 0

hi im attempting to update a script from coryApp and im getting the following error PHP Notice: Undefined offset: 11 here is the code where it is coming from can someone point me in the right direction on this ty jan x <td width="15%" class="headrows4" valign="top" align="left"> THIS LINE >>><p><input type="checkbox" style="margin-left:0px; padding-left:0px" value="<?php echo $list['PhotoID'][$i+5];?>" name="imgs[]" /> <?php echo $list['ProfileName'][$i+5]; $extend = ($list['PrimaryPhotoID'][$i+5]==$list['PhotoID'][$i+5])?'Primary':date('m-d-Y', strtotime($list['InsertDate'][$i+5])); echo ' <i>('.$extend.')</i>';?></p> <img src="<?php echo $base_url.$uploaddir.'/'.$list['UserID'][$i+5].'u'.$list['PhotoID'][$i+5].'.'.$list['PhotoExtension'][$i+5];?>" border="0" width='170' /> </td>

Member Avatar
Member Avatar
+0 forum 2

Hello Friends, I don't whether it's the right place to ask this question or not. Apologies if it's not the right place. I and two of my friends are working on a startup and now we are in a position to take the startup online. Currently, the major issue that is arising is whether to go for Outsourcing or in-house software development. We have a budget constraint but at the same time, we don't want this to affect the quality. Honest opinion from experienced people expected.

Member Avatar
Member Avatar
+0 forum 2

Let me know the answers

Member Avatar
Member Avatar
+0 forum 1

Hi All, I am trying to create multiple codeigniter sessons for multiple users. I will explain my scenario. I have developed an application using codeigniter and launched in an ecommerce platfomr so that many shop owners installed my application. Now from my admin front, I have access to check for each particular user's app interface using the session and redirect method. I want to make the sessions for all users open in different tabs, when I click on one button. I have used a for loop. The iteration works perfect and data are for each user are retrieved perfectly. But …

Member Avatar
Member Avatar
+1 forum 6

Someone posted a comment in the [php usleep manual](https://www.php.net/manual/en/function.usleep.php) that usleep() consumes CPU cycles whereas sleep() and time_nanosleep() do not. Is this true for PHP 7.x?

Member Avatar
Member Avatar
+0 forum 1

I am skilled in Core PHP, JavaScript, Mysql, Ajax, HTML, CSS, jQuery and Codeigniter and having 4+ years of experience in Web Development. I have very vast knowledge in dynamic and static website development.

Member Avatar
+0 forum 0

Hello DaniWebian's, This is Muhaimin Sheik, I'm a passionate web developer as back and front end. I was very friendly and helpful person. I want more know about the techie knowledge. Please guide me. Thank you all...!Cheers...!

Member Avatar
Member Avatar
+0 forum 1

Can anyone suggest me which one is a better platform for e commerce website development?

Member Avatar
Member Avatar
+4 forum 13

How do I assign a database query value in such a way that the value becomes the selected value in a drop down box.

Member Avatar
Member Avatar
+0 forum 9

can someone please help me with coding. I need to create a dropdown menu with the options being the category the user has inputted into a file upload page.

Member Avatar
Member Avatar
+0 forum 2

Hi, I can show data from the database using query [CODE=php] <?php $con = mysql_connect("localhost","root","root"); if (!$con) { die('Could not connect: ' . mysql_error()); } $a= $_POST["SiteId"]; mysql_select_db("abc", $con); $result = mysql_query("SELECT * FROM sitepinfo WHERE SiteId='$a'"); echo "<table cellpadding=2 cellspacing=2 width=100% > <tr> <th bgcolor=#5D9BCC>SiteID</th> <th bgcolor=#5D9BCC>Maintained By</th> </tr>"; while($row = mysql_fetch_array($result)) { echo "<tr>"; echo "<td bgcolor=#FEE9A9>" . $row['SiteId'] . "</td>"; echo "<td bgcolor=#FEE9A9>" . $row['MaintainedBy'] . "</td>"; echo "</tr>"; } echo "</table>"; mysql_close($con); ?> [/CODE] Now It shows for example 5 results , I want an Approve, Edit, and Delete button like image I Attached, please tell …

Member Avatar
Member Avatar
+0 forum 11

How can someone write a Php script that enable users upload image along with a short description in their member area to the database where admin can receive and treat it??? I will also like to know how history on upload can also be added after each upload to the history page of the users dashboard. Please any guide So far I have done it to members logged in profile dashboard. I need to add the upload and description code to enable send after clicking upload info button. Any help..I really appreciate. Thanks <!doctype html><html class="no-js" lang="en"><?php define("sitename"," Anchor limited");?><?php …

Member Avatar
Member Avatar
+0 forum 1

Now as the automated cms are coming in power for eg. wordpress. Is it leading to ending of web development career.?

Member Avatar
Member Avatar
+3 forum 6

How do I echo selected option? <?php session_start(); if(isset($_SESSION['cherianne'])){ }else{ header("Location:login.php"); } include("../includes/header.php"); // Retrieve our critical page setter variable. $char_id = $_GET['id']; //echo "<h1>$char_id</h1>"; // set this as a default value if (!isset($char_id)) { $result = mysqli_query($con, "SELECT bid FROM cde_blog LIMIT 1"); while ($row = mysqli_fetch_array($result)) { $char_id = $row['id']; } } // Step 3: UPDATE the DB with the new info from the form. Validate first. if(isset($_POST['mysubmit'])) { $title = strip_tags(trim($_POST['title'])); $message = strip_tags(trim($_POST['message'])); //echo "$title, $message"; $valid = 1; $msgPre = "<div class=\"alert alert-success\">"; $msgPreError = "<div class=\"alert alert-danger\">"; $msgPost = "</div>\n"; // Title Validation if((strlen($title) …

Member Avatar
+0 forum 0

Hi guys, I have repost this problem again, which i still cant solved it , hope you guys can help me is been almost 2 weeks. Im not sure is my value not pass through all my url is wrong. thank you guys so much http://www.intpostfolio.com/intpostfolio/searchresult.php <input type="submit" onClick="openoverlay('<?php echo $data["ID"]?>')" value="<?php echo $data["ID"]?>"> http://www.intpostfolio.com/intpostfolio/js/search.js function openoverlay(id) { var myData = 'id='+id; jQuery.ajax({ type: "POST", url: "index.php", data: myData, success: function() { console.log(myData); } }); document.getElementById("myNav").style.display = "block"; } function closeoverlay() document.getElementById("myNav").style.display = "none"; } http://www.intpostfolio.com/intpostfolio/index.php $_POST["id"] is still empty even my console show the value <div id="myNav" class="overlay"> <?php …

Member Avatar
Member Avatar
+0 forum 1

Hello members, I am kind off new to working with self joins oe self referencing tables, I am wondering how one would update a self join table considering the table aliases naming. Your help will be appreciated. If some one can point me to a good resource, I will be highly grateful.

Member Avatar
+0 forum 0

after i key-in the form, the function change the whole column with the same value for example if i put first name JOHN it will update whole column with JOHN <?php session_start(); require_once("connection.php"); if (isset($_POST['edit'])) { session_start(); $s=mysqli_query($con,"UPDATE user SET first_name ='" . $_POST['first_name'] . "'"); $row = mysqli_fetch_assoc($s); if ($s) { $_SESSION['user_name']=$_POST['user_name']; $_SESSION['first_name']=$_POST['first_name']; echo "<script type='text/javascript'>alert('Successful - Record Updated!'); window.location.href = 'profile.php';</script>"; } else { echo "<script type='text/javascript'>alert('Unsuccessful - ERROR!'); window.location.href = 'profile.php';</script>"; } } ?>

Member Avatar
Member Avatar
+0 forum 3

hi guys, can anyone advise me how to pass ajax post, my alert message has value but i cant pass to index.php . searchresult.php <input class="lowfliter" onclick="lowprice()" type="submit" id="lprice" name="lprice" value="Lowest"> search.js function lowprice() { var lprice = document.getElementById("lprice").value; var myData = 'lprice='+lprice; jQuery.ajax({ type: "POST", // HTTP method POST or GET url: "index.php", //Where to make Ajax calls dataType:"text", // Data type, HTML, json etc. data:myData, //Form variables success:function(){ alert(lprice); }, }); document.getElementById("myNav").style.display = "block"; } function closeoverlay() { document.getElementById("myNav").style.display = "none"; } ![passvalue.png](/attachments/large/4/b86f6872ce49bcd485461f18d913bf7d.png) index.php <?php if(isset($_POST['lprice'])) { echo $lowest = $_POST['lprice']; } ?> <div id="myNav" class="overlay"> <a href="javascript:void(0)" …

Member Avatar
Member Avatar
+0 forum 1

i wish to send another field together with my FormData, so after i googled it, they said to add append to my form data, done it. but it did not send anything to db including the content of the file. here is my code:- $('#upload_csv').on("submit", function(e){ var data = new FormData(this); data.append('test_filename', file); }); $.ajax({ url:"uploadfileprocess", method:"POST", data:{data,data}, contentType:false, cache:false, processData:false, success: function(data){ alert(data); if(data=='Error1') { alert("Invalid File"); } else if(data == "Error2") { alert("Please Select File"); } else { $('#importfiletodb').html(data); } } }) all the content and the file name should be able to save together when user click …

Member Avatar
+0 forum 0

So I am really interested in making a database, I have knowledge about html and css, not javascript and I just want to begin learning and making a database. I am going to use this website: https://www.000webhost.com/?utm_source=000webhostapp&utm_campaign=000_logo&utm_medium=website&utm_content=footer_img so you can see my website in the internet, I don't really expect a lot of people are going to my website, like more than 20 people in a day, but here is the question or discussion? how and where do I begin learn about databases, I don't really care what language I am going to use, like sql or php, is sql …

Member Avatar
Member Avatar
+0 forum 7

I have three tables(table, table2,table3). From table1 i want to return three rows: Title, Desc,time,'products' AS type From table2 i want to return three rows: group_title, group_desc, created,'groups' AS type From table3 i want to return three rows: name, occupation,birth,'users' AS type $sql = "SELECT DISTINCT * FROM (SELECT table1.title, table1.desc, table1.time,'products' AS type FROM table1 ORDER BY rand() LIMIT 5) AS T UNION ALL (SELECT table2.group_name,table2.group_desc,table2.created,'groups' AS type FROM tabl2 JOIN table1 ON table2.id = table1.id ORDER BY rand() LIMIT 5) UNION ALL (SELECT table3.name,table3.occupation,table3.birth,'users' AS type FROM table3 JOIN table1 ON table3.id = table1.id ORDER BY rand() LIMIT …

Member Avatar
Member Avatar
+0 forum 2

Would appreciate some kind help here as I'm experiencing some issue with regards to sorting of result from my map database. I trying to use onchange="this.form.submit() to activate my dropdown sort function, but somehow I kept getting plain text display of the sorted result. However, it would work fine if I were to click on search & preset the sort(for example, if I set it to sort according to lowest price value & click on the search button, the sort result would show out as normal, as seen in the below screenshot). Would really appreciate if anyone of you could …

Member Avatar
+0 forum 0

I am developed a custom PHP page with filters, addto cart module, music playlist everything. How can i implement it into WordPress? I am a newbie, any help thanks. My custom PHP work directory structure : location : public_html/my_work website URL : website.com/my_work Everything working good, but my wordpress heaer and footer missing, thats what i am asking to how to implement my custom development multiple PHP page work into Wordpress.

Member Avatar
+0 forum 0

how to get daylight saving time using IST

Member Avatar
Member Avatar
+0 forum 1

I have table i wish to count how many times a value appears in all column the table structure id Subject1 Subject1score subject1grade Subject2 Subject2score subject2grade 1 English 100 A Mathematics 100 C HERES MY PREVIOUSLY TRIED CODE <?php $subject1grade='A'; $subject2grade='A'; $subject3grade='B'; $a=array("$subject1grade","$subject2grade","$subject3grade"); print_r(array_count_values($a)); ?> THE RESULT Array ( [A] => 2 [B] => 1 ) I NEED THE CODE TO DISPLAY You made 2A(s), 1B(s) I want to count how many A's and C's

Member Avatar
Member Avatar
+0 forum 3

I am wondering if anyone could recommend the best CMS for an Airbnb-style marketplace that allows people to sublet their apartments, and other people to search, filter, and pay for the apartments listed. These are the main requirements: - Ability to sign up both buyers and sellers. - Accounts for buyers can be created automatically without approval by an administrator. Seller accounts will require approval. - Sellers can have multiple listings, but each listing must be approved by an administrator before going live in the system. - For each apartment listing, seller can fill out information for a number of …

Member Avatar
Member Avatar
+0 forum 5

Hi everyone, I am trying to connect my html form to database using php pdo but everytime i try to submit my data it shows undefined

Member Avatar
-1 forum 0

I do not have a clue as to what the problem is with this code. I am running php 7.0. This was an old form I used long ago, decided to upgrade it for random use. It works on php 5.0 but not in 7. I have run it through many php checks and not a problem is found. Does anyone have the answer for me? I would greatly appreciate it. No Errors shown just the white age of death. <?php include_once('jcart.php'); ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); // Connects to your Database mysqli_connect("localhost", "dnk", "here1") or die(mysqli_error()); mysqli_select_db("dnnnk") or die(mysqli_error()); …

Member Avatar
Member Avatar
+0 forum 3

Hi, i want to include images in email,i write the following script which unfortunatly not working,please any one help me resloved my issue `$to = "example@gmail.com"; $subject = "new account created"; $body = "New account has been created <img border=’0' src=’http://www.example.com/myimages/track.php?MID=1111&SID=2222' width=’1' height=’1'> " ; $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n"; $headers .= "From: admin@gmail.com"; $neww=mail($to,$subject,$body,$headers); `

Member Avatar
Member Avatar
+0 forum 12

The End.