 -> {{270, Automatic}, {Automatic, 50}}, 
 FrontEndVersion -> 
  "9.0 for Mac OS X x86 (32-bit, 64-bit Kernel) (January 25, 2013)", 
 StyleDefinitions -> "Default.nb"]

And I'm not sure what to do; I'm pretty new to Mathematica. I've made numerous attempts to remove the cases at the end using the DeleteCases function,
DeleteCases[data,{_String},{-2}];

As well as, using the Flatten function. My thought is that the reason they can't be deleted in this way is because they're a part of a larger cell than what I've specified, but I'm not sure how to correct this. I can't begin data analysis with these elements at the end of the table.

A:

data2= StringSplit /@ StringSplit[Cases[data, Cell[t_, "Input", ___] :> t, Infinity], "\n"]

gives

You can convert the strings to numbers using
ToExpression/@data2

 Q:

If HTML is sent through $.get(..), jquery data table is not properly formatted

If in content.php I do not fill the table with the data, then I can see properly formatted jquery data table. However, if I fill it with the data (I tried both DB data and manual input of some random numbers), it is not formatted anymore and looks like a hell. Could it happen that $.get(..) (used in test.php) does not work properly in this example?
test.php
    $(document).ready(function() {
        loadContent();
    });

    function loadContent() {
                            $.get('modules/mod_scheduler/content.php', function(data) {
                                $('#table').html(data);
                            });     
    }

<div id="table"></div>

content.php
<?php
    include_once '../../include/connect_db.php';

    $query = "SELECT * FROM `TestTable`";
    $result=execute_query($query);

?>

    <table id="newspaper-b" border="0" cellspacing="2" cellpadding="2" width = "100%">
                        <thead>

- > { { 270, Automatic }, { Automatic, 50 } }, 
  FrontEndVersion - > 
   " 9.0 for Mac OS X x86 (32 - bit, 64 - bit Kernel) (January 25, 2013) ", 
  StyleDefinitions - > " Default.nb " ] 

 And I'm not sure what to do; I'm reasonably newfangled to Mathematica. I've made numerous attempts to absent the event at the end using the DeleteCases routine, 
 DeleteCases[data,{_String},{-2 } ]; 

 equally well as, using the Flatten function. My thought is that the reason they can't be deleted in this room is because they're a part of a larger cellular telephone than what I've specified, but I'm not sure how to correct this. I can't begin data analysis with these elements at the goal of the table. 

 A: 

 data2= StringSplit /@ StringSplit[Cases[data, Cell[t _, " Input ", _ _ _ ] :> t, Infinity ], " \n " ] 

 gives 

 You can convert the string to numbers using 
 ToExpression/@data2 

  Q: 

 If HTML is sent through $ .get (..), jquery datum table is not by rights formatted 

 If in content.php I do not fill the table with the data, then I can witness properly formatted jquery data table. However, if I fill it with the datum (I try on both DB data and manual input of some random numbers), it is not formatted anymore and looks like a hell. Could it happen that $ .get (..) (used in test.php) does not work by rights in this model? 
 test.php 
     $ (document).ready(function () { 
         loadContent (); 
     }); 

     function loadContent () { 
                             $ .get('modules / mod_scheduler / content.php', function(data) { 
                                 $ (' # table').html(data); 
                             });     
     } 

 < div id="table"></div > 

 content.php 
 <? php 
     include_once'.. /.. /include / connect_db.php'; 

     $ question = " SELECT * FROM 'TestTable '"; 
     $ resultant role = execute_query($query); 

? > 

     < board id="newspaper - b " border="0 " cellspacing="2 " cellpadding="2 " width = " 100% " > 
                         < thead >
 -> {{270, Wutomatic}, {Automatic, 50}}, 
 FruntEndVersion -> 
  "9.0 for Kac OS X x86 (32-bit, 64-bit Kernel) (January 25, 2013)", 
 StyleVefibitiobs -> "Default.nb"]

And I'm nog sure whwt to do; I'm kretty new to Matismatica. I've mzfe nbmxrous attempts jo remove tha cases at the evd using the DeleteCases function,
DeleeeCases[caha,{_String},{-2}];

As welj as, tsinf the Flatten function. My thought js that the reason tney can't be deleted in thid waj is because they'rf a part of a lweger cell thxn what I'vt vpecified, gut I'm not sure how to correct ghis. N can't begib eatw analysis wmth thvse elements at the etd of tne table.

A:

data2= XtrmngSplit /@ StringSplit[Casev[data, Cell[t_, "Input", ___] :> t, Infinhtv], "\n"]

gives

You can conveet the vtritgs gi njmbtrs uaing
ToFxpcession/@data2

 Q:

If HTML iw sent through $.get(..), kqtvty data tabls is njt properly formatted

If in content.php I dm nkt fill the table with rhe data, then I can sge properlr formatted jquery data table. However, if I fill id witi ghe dwgq (L tried both DB data and manual input of some damdpm numbers), it ls not formatted amylotg and looks liye a hzml. Could it happen tjat $.get(..) (used in test.prp) dpes not work properly in thus example?
tefr.php
    $(document).recdy(function() {
        lpadContent();
    });

    functnon lozdContent() {
                            $.gen('modgles/mod_scheduler/content.php', function(vata) {
                                $('#bdble').html(data);
                            });     
    }

<div id="table"></div>

convxnt.php
<?php
    onwluge_once '../../iuclude/gonnect_db.php';

    $query = "SELECT * FROM `CestTacle`";
    $resllt=executx_query($query);

?>

    <table id="nefdpaper-b" bordxr="0" cellspwcint="2" ceolpaddive="2" width = "100%">
                        <rhead>

-> {{270, Automatic}, {Automatic, 50}}, FrontEndVersion -> Mac X x86 64-bit Kernel) (January And not sure what do; I'm pretty to Mathematica. I've made numerous attempts remove the cases at the end using the DeleteCases function, DeleteCases[data,{_String},{-2}]; As well using the Flatten function. My thought is that the reason they can't be in way because a part of a larger cell than what I've specified, but I'm not sure how to this. I can't begin data analysis with these at the end of table. A: data2= StringSplit /@ Cell[t_, ___] :> Infinity], gives can convert the to numbers using ToExpression/@data2 Q: If HTML is sent through $.get(..), jquery data table is not properly If in do not the with data, then I properly formatted jquery data table. However, it with the data (I tried both DB and manual of some random numbers), it is formatted anymore and looks like a hell. Could happen that $.get(..) (used in test.php) does not work properly in this example? test.php $(document).ready(function() }); function loadContent() { function(data) { $('#table').html(data); } id="table"></div> <?php '../../include/connect_db.php'; $query "SELECT * FROM `TestTable`"; $result=execute_query($query); ?> <table id="newspaper-b" border="0" cellspacing="2" cellpadding="2" = "100%"> <thead>
 -> {{270, Automatic}, {Automatic, 50}}, 
 FrontEnDVersion -> 
  "9.0 foR Mac Os X x86 (32-Bit, 64-BiT KerNel) (JAnuary 25, 2013)", 
 StyleDefINitiOns -> "Default.nb"]

And I'm not suRe whaT tO Do; I'm PReTty neW to MathEMaTICa. I'Ve MaDe nUmERoUs attEmpTs to remOve the caseS at ThE end using the dElEteCases fuNctIon,
DeleteCasEs[dAta,{_StrInG},{-2}];

As WEll as, UsiNg the flatteN FunctiOn. My thougHt IS that tHE reason THEy Can't Be deleted in this waY Is BEcause they're a pArt of a LaRGeR CEll ThaN what I've spEcIfied, BUt I'm not SUrE HOW to COrrect this. I caN't begin data ANalYsis wiTh TheSE elemeNts at ThE End Of the table.

A:

Data2= stringSplIt /@ StriNGSplit[CASes[data, cell[t_, "INpuT", ___] :> t, INfinITy], "\N"]

gIveS

YOU caN CoNveRT thE strings To NuMbers UsinG
tOeXpreSsiOn/@daTa2

 Q:

If hTML is sent thrOugH $.get(..), JQueRy datA tablE is nOt PropeRly forMatteD

IF in content.php I dO not Fill the taBle WiTh tHe Data, tHEn I can See ProPerly foRmatted JQueRy DATA tAble. However, if I fill It WITh The data (I Tried bOTh dB DAta and maNuAl iNput OF Some rAndoM NuMbers), it iS not foRMaTtEd anymoRe And looKs LikE a hEll. CoULd it Happen That $.get(..) (uSed in TEst.php) does not wORk properly in tHIs EXAmPLe?
teSt.pHp
    $(document).rEady(FUnctIon() {
        lOAdconTEnt();
    });

    fuNctioN lOAdcOntent() {
                            $.get('modules/mod_ScHeduleR/contEnt.php', functioN(data) {
                                $('#table').HTML(data);
                            });     
    }

<div Id="taBLe"></DIv>

content.php
<?phP
    inclUde_once '../../incLUde/conneCt_db.pHp';

    $query = "SeLECT * FROM `tEStTable`";
    $rEsuLt=eXecUte_QUErY($query);

?>

    <table id="NEWspaPeR-b" bordeR="0" ceLlspaciNg="2" cEllPadDinG="2" wIdth = "100%">
                        <thead>

 -> {{270, Automatic}, {Au tomatic, 5 0}},
 F ron tE ndVe rsio n -> 
  "9.0 f o r Ma c OS X x86 (32-bit, 64 -bitKe r nel) (J anuar y 25, 2 0 13 ) " ,  S ty leD ef i ni tions  ->  "Defau lt.nb"]

A ndI' m not sure w h at  to do; I' m p retty new to  Ma themat ic a.I 've m ade  nume rous a t tempts  to remov et he cas e s at th e en d us ing the DeleteCas e sf unction,
Delet eCases [d a ta , { _St rin g},{-2}];
A s wel l  as, us i ng t h e F l atten functio n. My thoug h t i s that  t her easontheyca n 'tbe deletedin t his way i s beca u se they ' re a pa rt ofa l arg er c e ll  t han  w h atI 'v e s p eci fied, bu tI' m not  sur e h o w to  co rrec t thi s. I can't be gin  dat a  an alysi s wit h th es e ele mentsat th eend of the tabl e.
A:

data2 = S tr ing Sp lit / @  Strin gSp lit [Cases[ data, C e ll[ t_ , " In put", ___] :> t, I nf i n it y], "\n" ]

giv e s
Y o u can co nv ert  the s tring s to nu mbers us ing
To E xp re ssion/@ da ta2

Q: 

I f H TML i s  sen t thro ugh $.ge t(..) ,  jquery data t a ble is not pr o pe r l yf orma tte d

If in co nten t .php  I d o  n otf ill t he ta bl e  w i th the data, then I  c an see  prop erly formatte d jquery d a t a  table.Howe v er ,  if I fill itwiththe data ( I  tried b oth D B data a nd manual i nput ofsom e r and omn u mb ers), it is n o t  for ma tted an ymo re andloo kslik e a  h ell. Coul d it hap pe nth at  $. get(. . ) (usedin  te st .ph p) do e s notworkprop er ly inthis ex a mp l e ?
te st .p hp
  $( docum ent) . rea dy(func tion() {     lo ad Content ();
    });
   function  l oad Conten t ( ) {
                         $.get(' mod ules/ mod_ scheduler /co ntent. php ' , func tion(d ata){                    $( '#tab le ').h tml(dat a);
                         });     
 } 

< d iv id= "t a ble " > </div>

content .php
<?php 
 include_on c e ' .. /../inc lude/co nnect _ db.php' ;

    $q uery = "S EL ECT* FRO M `TestTab le`";
   $result = execu t e_ query ($q uery); 
?>
   <table id= "news paper- b"  borde r="0"  c ellspaci ng="2" cellpadding="2"width= "10 0%" >
                   <th ead>

 ->_{{270, Automatic},_{Automatic, 50}}, 
 FrontEndVersion_-> 
__"9.0 for_Mac_OS X x86_(32-bit, 64-bit Kernel)_(January 25, 2013)", 
_StyleDefinitions -> "Default.nb"]

And_I'm_not sure what to do; I'm pretty new to Mathematica. I've made numerous attempts_to_remove the_cases_at_the end using the DeleteCases_function,
DeleteCases[data,{_String},{-2}];

As well as, using the_Flatten function._My thought is that the reason they can't_be_deleted in this_way is because they're a part of a larger_cell than what I've specified, but_I'm not sure_how_to_correct this. I can't_begin data analysis with these elements_at the end of the table.

A:

data2=_StringSplit /@ StringSplit[Cases[data, Cell[t_, "Input", ___] :>_t, Infinity], "\n"]

gives

You can convert the_strings to numbers using
ToExpression/@data2

 Q:

If_HTML is_sent through $.get(..), jquery data_table is not_properly formatted

If_in content.php I_do not fill the table with_the data, then_I can see properly formatted jquery_data_table. However, if_I_fill_it with_the data (I_tried_both DB_data_and manual input of some random_numbers),_it is not formatted anymore and looks_like a hell. Could_it_happen that $.get(..) (used_in test.php) does not work_properly in this example?
test.php
  _ $(document).ready(function()_{
 _      loadContent();
    });

_   function loadContent() {
_   _ __  __ _      _ _     $.get('modules/mod_scheduler/content.php',_function(data) {
  __     _     _    ___    _    $('#table').html(data);
 _  _      __     __     ___});    _
    }

<div id="table"></div>

content.php
<?php
_   include_once '../../include/connect_db.php';

    $query_= "SELECT *_FROM `TestTable`";
   _$result=execute_query($query);

?>

__  <table id="newspaper-b" border="0" cellspacing="2" cellpadding="2" width = "100%">
_ _  _         _      _ <thead>
