[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

PHP

120K

Solutions

33K

Contributors

PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.

Share tech news, updates, or what's on your mind.

Sign up to Post

   <span class="text-light text-uppercase">Value<i id = "value" onclick="editDealDetails(this.id,<?=$v_item['CONTACT_NAME']?>);" style="margin-left:5px;" class="fa fa-wrench"></i></span>

Open in new window



Uncaught SyntaxError: missing ) after argument list

Open in new window


why am i getting this error with this line ?
0
CompTIA Network+
LVL 12
CompTIA Network+

Prepare for the CompTIA Network+ exam by learning how to troubleshoot, configure, and manage both wired and wireless networks.

Hello Experts!

I need help on the following:

I have this View - view_all_enrollment:
Student_ID    Subject_Code   Subject_Name   Class_Name  Session   1st_Term   2nd_Term   3rd_Term   Average
001           ENG            English        SS 1A       2018       44         43         45         44
001           MTH            Maths          SS 1A       2018       45         54         61         53.3
001           BIO            Biology        SS 1A       2018       50         60         70         60
001           PHY            Physics        SS 1A       2018       48         48         48         48

Open in new window

From which I want to generate a report (Student Result) with the following criteria:
1.  Only the Average Scores will be used in Final Grading.
2.  The Pass Mark for English and Maths is 45. Less that 45 is Fail.
3.  The Pass Mark for other subjects is 50. Less that 50 is Fail.
4.  A Student must Pass 6 subjects including English and Maths

There are 3 Positions:
a.  Promoted (must pass 6 subjects including English and Maths);
b.  Resit [when there's Fail in either English or Maths or Both but Pass in at least 5 subjects (in case of Fail in either English and Maths) or Pass in at least 4 subjects (in case of Fail in both English and Maths) ];
c.  Repeat (when a student has less than 4 Passes even if he Passes both English and Maths )

Note: If a student has 5 Passes including English and Maths, the Position is "Repeat" because, a student can only "Resit" English or Maths or Both.

More so, this WHERE condition will be used: WHERE Student_ID = ? AND Class_Name = ? AND Session = ?

Please, from the query, I need the following info on the result:

Number of Subjects Offered : e.g.  4 (Four)
Number of Subjects Passed : e.g.  2 (Two)
Number of Subjects Failed : e.g.   2 (Two)
Remark:  RESIT

See attached for example.

Thank you.
sample.png
0
Hi,

Can someone assist please, i am having issues with trying to customize the this table. This table needs to be imported by a text file of shift timings, i got it to make the table but it looks abit grey.

Link: Table Design
Link: Example

The example shows both a short version and a bigger version, can you help to change the layout to look similar please? Also, how do i get the smaller version setup.

Index.php
<?php
header("Content-type: text/html");
echo "<html>
<body>";
 
$file = fopen("day.txt","r") or die("Error");
?>
 
<table border=“1”>
	<tr>
		<th>Date</th>
		<th>Monday</th>
		<th>Tuesday</th>
		<th>Wednesday</th>
		<th>Thursday</th>
		<th>Friday</th>
	</tr>
	
<?php
 
while(($row = fgets($file)) != false) {
	echo "<tr>";
	$col = explode(',',$row);
	
	foreach($col as $data) {
			echo "<td>". trim($data)."</td>";
	}
	echo "</tr>";
}
?>
 
</table>
</body>
</html>

Open in new window


Text file: day.txt
 ,  Sub1a |  Sub1b  , Sub2a | Sub2b , Sub3a |  Sub3b  , Sub4a | Sub4b ,  Sub5a |  sub5b   
01 , 07:00  | 13:00 , 08:00  | 12:00 , 09:00  | 15:00 , 10:00  | 13:00 , 012:00  | 13:00 
02 , 07:00  | 13:00 , 08:00  | 12:00 , 09:00  | 15:00 , 10:00  | 13:00 , 012:00  | 13:00 
03 , 07:00  | 13:00 , 08:00  | 12:00 , 09:00  | 15:00 , 10:00  | 13:00 , 012:00  | 13:00 
04 , 07:00  | 13:00 , 08:00  | 12:00 , 09:00  | 15:00 , 10:00  | 13:00 , 012:00  | 13:00 
05 , 07:00  | 13:00 , 08:00  | 12:00 , 09:00  | 15:00 , 10:00  | 13:00 , 012:00  | 13:00 

Open in new window

0
I am working on a php/mySQL page which has been working fine for a long time, suddenly something which was working is not.  The problem shows up in a lightbox "click on image for more detail".  Noimages are being shown because the path is incorrect.  The actual statement is as follows:

=====================
<a href="images/<?php echo $row_Group1['Large_Image']; ?>" rel="lightbox" title="<?php echo $row_Group1['Name']; ?>"><img src="images/<?php echo $row_Group1['Featured_Image']; ?>" alt="<?php echo $row_Group1['Product_Code']; ?>" <?php echo $row_Group1['Display_Factor']; ?> border="0"></a>

====================

I am getting unexpected results from a php fetch to my db.

This   <?php echo $row_Group1['Large_Image']; ?>  is suppose to bring back this     GEN037CH_12862.gif

but it is bringing back      GEN037CH_12862-sca1-1000.png .

Why is it dropping the ".gif"  and appending  "-sca1-1000.png "
0
Hello Experts!

I have this table - tbl_enroll:
ENROLL_ID  STU_ID     SUBJECT_CODE    CLASS_NAME    SESSION      TERM     MARKS
1          001        ENG             SS1A          2018         1st      40
2          001        MATHS           SS1A          2018         1st      40
3          002        ENG             SS1A          2018         1st      50
4          002        MATHS           SS1A          2018         1st      50
5          001        ENG             SS1A          2018         2nd      45
6          001        MATHS           SS1A          2018         2nd      50
7          002        ENG             SS1A          2018         2nd      55
8          002        MATHS           SS1A          2018         2nd      55
9          001        ENG             SS1A          2018         3rd      60
10         001        MATHS           SS1A          2018         3rd      70
11         002        ENG             SS1A          2018         3rd      65
12         002        MATHS           SS1A          2018         3rd      50

Open in new window


Now the challenge: I want a SELECT QUERY to give something like:
ENROLL_ID   STU_ID   SUBJECT_CODE     CLASS_NAME   SESSION      1st_TERM    2nd_Term    3rd_Term   Total    Average
1           001      ENG              SS1A         2018         40          45          60         145      48.3
2           001      MATHS            SS1A         2018         40          50          70         160      53.3
3           002      ENG              SS1A         2018         50          55          65         170      56.7
4           002      MATHS            SS1A         2018         50          55          50         155      51.7

Open in new window


Is that doable, please?
0
How can I make this work?

Here's my code:

public function words() {
            $keyword=$_POST['search_stuff'];
            $search = "%".$keyword."%";
            $params=array();
            $params=array($search);
            $query=DB::query("select * from products where description LIKE ?", $params, "SELECT");
      }

The select criteria that I'm using does yield a legitimate result, but the way I'm passing my "%" isn't working because I'm not getting any results at all.


What am I doing wrong?
0
I have this code (self contained, referenced by a javascript window.location):
<?php
// dnownload_docs.php
$files = explode("~", $_GET['files']);
$nf = count($files);
// find the one from summsp
for ($i = 0; $i < $nf; $i++) {
	if (substr($files[$i],0,10) == "../summsp/") {
		$ln = strlen($files[$i]);
		$fn = substr($files[$i],10,$ln - 10);
		//echo "summary file = " . $fn . "<br>";
		copy($files[$i], "thold/" . $fn);
		break;
	}
}
$files[$i] = "thold/" . $fn;	
//echo "nf = " . $nf . "<br>";
session_start();
$_SESSION['del_summ'] = $fn;
// zip em up
if ($nf > 1) {
	$zip = new ZipArchive();
	$zipname = $_SESSION['vid'] . "zip.zip";
	$path = "zips/" . $zipname;
	$zip->open($path, ZipArchive::CREATE);
	for ($j = 0; $j < $nf; $j++) {
		//echo "file = " . $files[$j] . "<br>";
		$zip->addFile($files[$j]);
	}
	$zip->close();
} else {
	$path = $files[0];
}
// download
	header('Content-type: application/force-download'); 
    header('Content-Transfer-Encoding: Binary'); 
    header('Content-length: ' . filesize($path)); 
    header('Content-disposition: attachment; filename=' . basename($path)); 
    readfile($path);

Open in new window


It works perfectly, EXCEPT the zip file contains two folders, doc_files and thold.

We don't want to assume the users are computer literate enough to get it that they have to click on the subfolders to get the actual files.

Is there any way I can force ZipArchive to force them all into ONE folder with an intuitive name like "documents"?

The attached file is a screen shot of what the users will see now.
zip_download.jpg
0
I have this code:
$found = false;
$nxt = 109; // letter m
for ($j = 0; $j < 14; $j++) {
	$ltr = chr($nxt);
	$fname = "../summsp/" . $_SESSION['vid'] . "summary" . $ltr . ".pdf";
	if (file_exists($fname)) {
		$found = true;
		break;
	}
	$nxt--;
	if ($nxt == 96) {
		$nxt = 0;
	}	
}
if (! $found) {
	echo "summary file " . $fname . " not there.<br>";
}	

Open in new window


It does NOT find the file; it echo's this:

summary file ../summsp/18605summary.pdf not there.

As the attachment shows (snippet from filezilla), the file is there.

Why does the code fail?

Thanks
18605summary.JPG
0
See this code:
<?php
// dnownload_docs.php
$files = explode("~", $_GET['files']);
$nf = count($files);
//echo "nf = " . $nf . "<br>";
session_start();
// zip em up
if ($nf > 1) {
	$zip = new ZipArchive();
	$zipname = $_SESSION['vid'] . "zip.zip";
	$path = "zips/" . $zipname;
	$zip->open($path, ZipArchive::CREATE);
	for ($j = 0; $j < $nf; $j++) {
		$zip->addFile($files[$j]);
	}
	$zip->close();
} else {
	$path = $files[0];
}	
// download
	header('Content-type: application/force-download'); 
    header('Content-Transfer-Encoding: Binary'); 
    header('Content-length: ' . filesize($path)); 
    header('Content-disposition: attachment; filename=' . basename($path)); 
    readfile($path);
?>

Open in new window


In the specific case that fails, there are three files, one of them is /home/lakoshva/summsp/18581summary.pdf

That file is in that folder on the server.

It is NOT included in the zip file.

Why?

Thanks
0
I have created a login and registration system , but i want to classify some specific columns into separate tables linked to the same user id .. as at now all the columns amounting to 131 are in the same table


I already have the users table and the new tables(listed below) which i will distribute some specific columns from the users table into..How do i connect all those tables to my registration system
Users table
Qualification table
Computer Knowledge table
Position held
Educational institution
Organization table

Open in new window




Any help received is appreciated

Registration Form Code
   <div class="container">
    <div class="flag">
        <div align="center"><img src="images/Login.png" width="145" height="140">
 <h4 style="color:white" align="center">Register with Place Center Now!!</h4> 
        <div>
       <div><?php if(isset($result)) echo $result; ?>
        <?php if(!empty($form_errors)) echo show_errors($form_errors); ?></div>
        </div>
        <div class="clearfix"></div>
      <!--  <section class="col col-lg-12">-->
       <div align="left">
		   
		   <div class="container-fluid">
			<div class="row jumbotron">
				<div class="col-10">
					<p class="lead"> 
           <form class="form-horizontal" action="" method="post" >
    <fieldset>
      
      <!-- Form Name -->
<legend style="color:#000;"> Account information </legend>
        
        <!-- Text input-->
      <div class="form-group">
        <label class="col-md-4 

Open in new window

0
Learn Ruby Fundamentals
LVL 12
Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

Dear Experts,
I connect a server using CURL to send SMS messages.

First, I select the data from my database and send it to the selected numbers.
Then I put it inside a while loop to send it to every number using CURL.

I use below code,

but I wonder which part should I use inside the while loop?
Do I have to initialize CURL for every time?
Which part should I use inside the while loop?

if ($result->num_rows > 0) {

while($row = $result->fetch_assoc()) {
        	
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "xxxxxxx",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS => "{\r\n\t\"xxxxx\"\r\n\t}\r\n}",
  CURLOPT_HTTPHEADER => array(
    "accept: application/json",
    "authorization: ".$kullanici_sifre."",
    "content-type: application/json"
  ),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}

}
}

Open in new window

0
I want to query a database and include the output in a table on a Wordpress page. I have the PHP code that queries the database, and it works correctly, but I can't figure out how to output that onto my Wordpress page.

I've looked into several widgets, like InsertPHP, but I can't figure out exactly how they work.
0
I need to alter the PHP below to make is so if $rep_info is empty when user logs in, they are directed back to where they came from instead of /account/home. I have it kind of cobbled together in but I get a parse error, and therefore haven't tested it (Im taking over for somebody elses code, still learning).

The goal is to make it so if somebody logs in to their website account, and they are a rep, it should not take them to account/home. It should leave them right where they are / came from. All of this works, it's just the part where Im trying to add the rep detection part that I'm altering here.

Area of code that i have error:

	} 
	
	if(empty($path) || (empty($rep_info)) {
	   $path = $session['location'];
	}
        
        }
             
	if($path == "/") {
	   $path = "/account/home";	
	}

Open in new window



Full code:

<?php
namespace MySite\MyAccountBundle\Services;

use Symfony\Component\Security\Http\Authentication\AuthenticationSuccessHandlerInterface;

use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\HttpFoundation\Cookie;
use MySite\MyAccountBundle\Services\CartHandler;

use MySite\WebSite\DbAccessor;
use MySite\WebSite\DbAzure;

class LoginSuccessHandler implements AuthenticationSuccessHandlerInterface
{

    public function onAuthenticationSuccess(Request $request, TokenInterface $token) {
       

Open in new window

0
I have a situation where I use fpdf to generated pdfs. In one specific case, it was generating a BLANK pdf. So I put some echos in (php) so I could start to track where it was going wrong.

As soon as I put the echos in, it worked fine.

FYI, this is NOT the first time this has happened to me (that is, putting echos in & the problem disappears).

Since I don't want the echos in the live environment, I commented them out in the php using //.

Uploaded them to the server (only 2 programs), ran test again, echos still there, process worked.

Cleared the cache (in Firefox), ran the test again, echos still show.

Since they just flash by in a split second, decided to make it live this way since it now works.

Anyone have ANY idea why this crazy business happens like this?

Here is one of the echos, commented out, in the code now:

//if ($_SESSION['form'] == "Pearland" && $_SESSION['user'] == 2) {
	//echo "got to start of switch with Pearland<br>";
//}	

Open in new window

0
Hi Experts,

Let me start off by saying that I have not touched Access and VBA for 5 years, asI have re-focused on PHP/MySQL.

I need to transfer from Access to MySQL, but the previous developer poorly structured the db. For example, each record can have one to three different properties. So, instead of linked tables, they used Memo fields and the data looks like:

id  name   properties
====================
1   chief    prop 1
                  prop 2
                  prop 3
2   mech   prop 1
                  prop 2

Open in new window


From table view, when I copy and paste into Excel, I end up with 5 rows, instead  of 2.

With VBA (unless there's a faster way), I'm hoping to replace all carriage returns with commas, and end up with the following csv:

id  name   properties
====================
1,   chief,    "prop 1, prop 2, prop 3"
2,   mech,   "prop 1, prop 2"

Open in new window


I know this isn't linked tables neither, but at least it will be importable to mySQL, then I can use PHP to work with the properties as there are only 3 possible properties.  

My VBA so far is below, which I combined from Google, but I ghet User type not defined for ADODB.  I think I need to add a reference to ADODB through some menu option?

Option Compare Database
Option Explicit

Private Sub cmdInterests_Click()

    Dim con As New adodb.Connection
    Dim rs As New adodb.Recordset
    Set con = CurrentProject.Connection
    
    'Dim rs As Recordset
    'Set rs = Recordset
    
    Dim sql As String
    sql = "SELECT * FROM TBL_DICE_Factorial_Analysis"
    
    Set rs = con.Execute(sql)
    
    rs.MoveFirst
    Do While Not rs.EOF
        Print rs.Fields("ID")
        rs.MoveNext
        
    Loop
        
    rs.Close
    

End Sub

Open in new window

0
I have an HTML Select not showing default text, also not showing selected text.

When clicked, the drop down shows the values, and the user is able to select items properly.  The search feature is working it is just not showing which items were selected.

I'm not sure if this is a browser update issue or something I can control.

The example is at http://fbcolifegroups.com

thanks.
0
Hello Experts!

I want to make certain inputs read-only when NOW() is greater than $LimitDate.

I use the following to populate the DataTable:

{
    orderable: false,
    render: function (data, type, row) {
    return '<input class="form-control form-control-sm" type="text" maxlength="2" size="6" name="cass1[' + row.Enroll_ID + ']" value="' + row.CA1 + '">';
    }
},
{
    orderable: false,
    render: function (data, type, row) {
    return '<input class="form-control form-control-sm" type="text" maxlength="2" size="6" name="cass2[' + row.Enroll_ID + ']" value="' + row.CA2 + '">';
    }
}

Open in new window

The $LimitDate holds the date when the input periods expire.

How can I manipulate the two inputs above so the change to READ-ONLY when NOW() is greater than $LimitDate?

Thank you.
0
Hi,

I've a form to send a ajax request which return a json object from a cURL request. I use the form to query the API using the start and and the end date. I've managed to show the datas returned into a table as suggested in this post https://www.experts-exchange.com/questions/29120674/Convert-json-to-html-table.html
Now my problem is every time a make a new request from my form a new table is shown to the form page just after the table I've obtained with the previous request, is there any way to show only one table, so at every form request the previus data is replaced with the new data?

This is my javascript code:
    $(document).ready(function() {

      // Function to create table layout
      function createTable(data) {
        var table = document.createElement('table');
        var header = table.insertRow();

        for(var h in data[0]) {
          var th = document.createElement('th');
          th.innerHTML = h;
          header.appendChild(th);
        }

        table.classList.add('table','table-bordered');
        data.forEach(function(item) {
          var row = table.insertRow();
          for(var v in item) {
            var cell = row.insertCell();
            if (Array.isArray(item[v])) {
              var subtable = createTable(item[v]);
              cell.appendChild(subtable);
            }
            else {
              cell.innerHTML = item[v];
            }
          }
        })

        return table;
      }

      // 

Open in new window

0
I'm using PHP and MySQL to power a small application. I'm importing data from an .ods file. The import produces ugly string values delimited by semi-colons. There are less than 1000 rows of data within the resulting table.

Example:

"SELECT DISTINCT submissions.tags FROM submissions";

#quality;#RIE;#PDSA;#6S;#MyEvent;
#quality;#RIE;#PDSA;#teamengagement;#6S;

I'm looking to extract the unique values beginning with the # character. An example of the resulting unique array would look like:

#quality;#RIE;#PDSA;#6S;#MyEvent;#teamengagement;

I'm wondering if this can be accomplished using strictly SQL or, if this would best be accomplished using PHP?

In either instance, I'm not knowledgeable of how to go about accomplishing this task?

Any guidance would be appreciated. Cheers!
0
Exploring SQL Server 2016: Fundamentals
LVL 12
Exploring SQL Server 2016: Fundamentals

Learn the fundamentals of Microsoft SQL Server, a relational database management system that stores and retrieves data when requested by other software applications.

I need to use a font in a web site ("1998A__TFF").  This was down loaded from the net.  
Where do I put it on the site to access it.  I've tried the root and a sub with no joy.

The css reads:
#Green_Text
{
      font-family: /seabreezesoftware.com/Joes/Drop.TTF;
       font-size: 24px;
       font-weight: normal;
       font-style: normal;
         color: #4cbb17;
}

The code reads:
<?php
echo "<div id=\"Green_Text\" align =\"center\">";
            echo "Phone:  (908) 881-9615";
            echo "<br>";
            echo "2032 Morris Avenue, Union  NJ";
            echo "</div>";
?>      

What an I doing wrong?
0
I have this session called "order" that displays similar to the image attached. (Arrays for each meal with days).
However I want to add an IF statement that if the users email is "admin" then make all monday & fridays equal to 0. while keeping wednesday the same.
Is there a way to do this?
qty.pnghere is what i wrote so far but i got stuck on how to reach monday & friday and replace their numbers with 0
$emails = "admin1,admin2,admin3";
$finalArr = explode(',', $emails );

if(isset($_SESSION['email']))
{
	$email_check = $_SESSION['email'];
	if (in_array($email_check, $finalArr))
	{

foreach($_SESSION['order'] as $day=>$amount)
{
     foreach($amount as $indivdual => $newDay)
    {

    }
}
}
	
}

Open in new window

0
I'm trying to figure the best comparison operators to use, as well as the best expressions, when transferring PHP variables to Javascript.
I wrote the following, but I do not know if I am missing anything, using the correct operators, or whether it should be reversed (IE: Comparisons for true with false as the default)

   
function VarEval(Var)
   {
      if(Var == null || Var === false || Var == "0" || Var === 0){return false;}
      else{return true;}
   }

Open in new window

 
Variable Example
 
  var Admin      = VarEval(<?PHP echo(json_encode($_POST['Admin'])); ?>);

Open in new window

0
Add a third table to a query that works well.

I have the following query:
"SELECT * FROM (Select test_case.id,test_case.description,test_case.folder,test_case.pubstate,test_case.owner,test_case.last_state_mrdev,test_case.usebxf22 FROM test_case )t1 LEFT JOIN (SELECT * FROM case_additional)t2  ON t1.id = t2.case_id "

Open in new window


This brings the right result. Now I want to add the single query
SELECT COUNT(*) AS total FROM test_comments WHERE test_comments.case_id=t1.id

Open in new window

To the query above to get the "total" as additional filed in the query result. How I n do this? Two left join? I expected

"SELECT * FROM (Select test_case.id,test_case.description,test_case.folder,test_case.pubstate,test_case.owner,test_case.last_state_mrdev,test_case.usebxf22 FROM test_case )t1 LEFT JOIN (SELECT * FROM case_additional)t2  ON t1.id = t2.case_id  LEFT JOIN SELECT t3.*,COUNT(*) AS total FROM test_comments ON t1.id = t3.case_id"

Open in new window


But this will end in a error. Any hint?
0
I'm trying to extract the Time from a DateTime field, but when I do so I always get 7:00 PM or 19:00 depending on the format I choose and I can't figure out why.

echo $modelLeg->StartDtTime.' '.strtotime($modelLeg->StartDtTime).' '.date("H:i:s", strtotime($modelLeg->StartDtTime))

Open in new window


This returns

1899-12-30 00:00:00 19:00:00
1899-12-30 00:00:00 19:00:00
1899-12-30 09:30:00 19:00:00
1899-12-30 09:30:00 19:00:00
1899-12-30 11:00:00 19:00:00
1899-12-30 08:00:00 19:00:00
1899-12-30 08:00:00 19:00:00

So, strtotime() recognizes the Time properly, but when I add in the date("H:i:s"...) aspect it errs for some reason.  Could someone explain why and what I am doing wrong.

Thank you!


Update:
I kept playing, researching and I have managed to get it to work by doing

$date = DateTime::createFromFormat('Y-m-d H:i:s', $modelLeg->StartDtTime);
echo $date->format("g:i A");

Open in new window


but as a novice PHP programmer I'd still like to understand and learn why what I was doing previous wasn't working and if this new code is truly a good solution.
0
I have this code. This is the entire php file:
<?php
// read file & display. File passed in $_GET
$path = "../summsp/" . $_GET['file'];
echo get_file_contents($path);
exit;
?>

Open in new window


I execute it like this:

https://www.lakoshvac.com/disp_summary.php?file=18075summary.pdf

I get a blank screen.

The directory structure is in the attached file. I cannot show you the file contents (pdf) because it is sensitive.

Why do I get a blank screen?

Thanks
Server_dir_sructure.JPG
0

PHP

120K

Solutions

33K

Contributors

PHP is a widely-used server-side scripting language especially suited for web development, powering tens of millions of sites from Facebook to personal WordPress blogs. PHP is often paired with the MySQL relational database, but includes support for most other mainstream databases. By utilizing different Server APIs, PHP can work on many different web servers as a server-side scripting language.