php - Different outputs from mysql -


i have 2 sql query outputs table , orders..

one sql order directly table , data showing right, last first. when try same way show data but, time use post method, when click submit data being shown, time showup begin first last query . why that.the mysql simple .

select * smt order smtorde 

you append way want mysql sort ordered asc or desc

// ascending  select * smt order smtorde asc  // descending  select * smt order smtorde desc 

Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -