I am trying to display data from my page from my table and I have done it several times earlier. This time it is not working, I usually copy the code from my other projects and change the appropriate values, but this time it is not working. Please note that I am quite sure what I am doing. I usually do not write code This is being used with IIS php and the database server is mysql. The problem is that I get a white page without any mistake or other signals.
Here is the code.
& lt ;? Required Php ('connection.php'); $ sql = "SELECT * FROM td"; $ Result = mysqli_query ($ con, $ sql) or die (mysqli_error ()); Echo "& lt; Table & gt;"; Echo "<<017> date date <28> volume & gt; quantity & lt; / th> & lt; / tr & gt; "; While ($ line = mysqli_fetch_array ($ result)) {$ date = $ row ['date']; $ Comment = $ line ['comment']; $ Amount = $ line ['zodiac']; & Quot; $ Comment & Lt; / Td> & Lt; td style = 'width: 600px;' & Gt; "$ Comment." & Lt; / TD & gt; & Lt; TD & gt; "$ Amount .." & Lt; / TD & gt; & Lt; / TR & gt; ";} Resounds" & lt; / Table> "mysqli_close ($ thief);? & Gt; Oh and the table has data In addition DB connection is fine, I have the same data I used to make a connection file. Wow decided this; I knew that this was something stupid in my favor, I did notice it. echo "& lt; / Table> ";; You forget"; ": D. And if he does not help, then the result is empty and there is nothing to show? Why you might have got a white screen.
Popular posts from this blog
In brief, the wrapper module is inserted during posting and the status of an entry is changed to 'modified' . Before changing the state, the state is set to 'separate', but calling attachments () causes the same error to be thrown away. I am using EF 6. Model / wrapper class public class avi model {public A is a {get; Set; } Public listing & lt; B & gt; B {received; Set; } Public cc {receipt; Set; }} Administrator edit public functioning (int? id) {if (id == null) {new HttpStatusCodeResult (HttpStatusCode.BadRequest); } If (! Conveyor Access (id.Value)) new HTTPTitus code result (HTTP status code. Forbidden); Var aViewModel = new AViewModel (); aViewModel.A = db.As.Find (id); If (aViewModel.Receipt == zero) {return HttpNotFound (); } aViewModel.b = db.Bs.Where (x => x.aid == id.Value) .Oolist (); AViewModel.Vendor = db.Cs.Where (x => x.cid == aViewModel.a.cID) .FirstOrDefault (); See Return (aViewModel); } [HTPFost] [Valid AntitiferousTeacon...
I use iReport 5.5.0 . How to align a barcode component to the center The relevant piece of my jrxml is below & Lt; JR: Code 128 xmlns: JR = "http://jasperreports.sourceforge.net/jasperreports/components" xsi: schemaLocation = "http://jasperreports.sourceforge.net/jasperreports/components http: //jasperreports.sourceforge Purge / xsd / components.xsd "textPosition =" bottom "& gt; & Lt; Jr: codeExpression & gt; & Lt; [CDATA [$ F {number}]] & gt; & Lt; / Jr: codeExpression & gt; & Lt; / Jr: Code 128 & gt; & Lt; / componentElement & gt; "Text" itemprop = "text"> Create a style after this, it is called "barcode", like: & lt; Style name = "barcode" fontName = "Helvetica" fONTSIZE = "10" hAlign = "center" valign = "center" /> and set the property of your barcode element to "barcode".
I use Django 1.6.5 with settings in my program txsite: DEBUG = true I set the lie to debug, but when I get the runner , I get the following error: CommandError: You have to set the settings. OLOWOWHESTS If DEBUG is False I ALLOWED_HOSTS = ['127.0.0.1', 'localhost'] but I get the same error. Does anyone know this address? Try ALLOWED_HOSTS = ['*'] Less secure If you are not on a firewall or public LAN, but what I use and it works. Edit: Interestingly enough, I have to add some of my 1.8 projects, even if DEBUG = True . Why so very uncertain
|
Comments
Post a Comment