TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 18, 2024, 05:16:14 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 190
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 117
  • Total: 117

php error in articles

Started by delvec, April 03, 2010, 08:07:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Xarcell

Quote from: delvec on April 03, 2010, 09:04:48 PM
I figured it was html but just went with what the author had used under index.
(so im just a semi idiot and not a complete one-  O0 )

Anyway- tried your suggestion Xarcell, and this is the error I now get-
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'stylesheet' type='text/css' href='http://www.type1parents.org/pumppage/css/style' at line 1
File: /home/type1par/public_html/Sources/TPortalAdmin.php
Line: 2564



Did you change the article type from a PHP to a HTML in the settings?

delvec

no I already tried it in an html one and just used that one

Xarcell

Quote from: delvec on April 04, 2010, 01:44:21 AM
no I already tried it in an html one and just used that one

I'm getting confused...

Try php article then.

echo '
<div id="page-wrap">

<div class="info-col">

    <h2>Animas<br> Ping</h2>
   
    <a class="image ping" href="http://jprart.deviantart.com/art/Batman-and-Superman-64545242">View Image</a>
   
    <dl>
      <dt>Company  Info</dt>
      <dd>Animas Corp (www.animascorp.com) <br>
(877) 937-7867<br>
West Chester, PA
</dd>
      <dt>Physical  Size & Dimensions, etc.</dt>
      <dd>Dimensions (mm)- 51 x 77 x 18<br>
Volume- 5.525 ci / 90.54 cc<br>
Weight(oz)- 3.9<br>
Reservoir Size- 200units plastic<br>
Connection- Luer Lock<br>
Screen Size- 992 sq mm<br>
Colors- blue, silver, black, pink, green.</dd>
      <dt>Basal  Information</dt>
      <dd>Basal Increment- 0.025 units<br>
Total Basals- 12 per day<br>
Basal Profiles-  4<br>
Basal Intervals- 30 minutes<br>
Basal Delivery- varies, 0.2 units per hour every 3 minutes<br>
Temp Basal- -90% to +200% in increments of 10% for 0.5 to 24 hours (30 min increments)<br>

</dd>
      <dt>Bolus Information</dt>
      <dd>Bolus Increments- 0.05 visual or audio, 0.1, 1.0, 5.0 audio<br>
Bolus type- units or carbs: standard, extended, combination<br>
1 unit Bolus Duration- 1 or 3 second <br>
Carb and Correction Factors - yes, carb and bg values can be entered into the pump or meter-remote
</dd>
      <dt>Mechanics</dt>
      <dd>Battery- AA lithium or alkaline x 1<br>
Battery Life - 4-6 weeks with lithium, 2-4 weeks with alkaline<br>
Motor ââ,¬â€œ DC<br>
Memory- non-volatile: 500 boluses, 270 basals, 120 daily totals, 60 alarms, 60 primes, 900 bg levels<br>
Software- ezManager Max, downloads in 3 minutes with dongle and software that are available at Animas
</dd>
      <dt>Miscellaneous Info</dt>
      <dd>Water Contact- Waterproof up to 12 feet for 24 hours<p>
Features- Meter-remote offers wireless bolus calculation and delivery within 10 ft. ezCarb software stores up to 500 food items from CalorieKing database on the meter-remote. Calculator features for carbohydrates, blood glucose corrections and insulin; reminders for time of day and when to perform blood glucose checks. Pump and meter-remote are available in Spanish. PC and Mac downloads are available with ezManager Max software<p>
Guarantee- 4 years
</dd>
    </dl>

</div>

        <div class="info-col">
       
        <h2>Accu-Check Spirit</h2>
       
        <a class="image spirit" href="www.accu-chekinsulinpumps.com">View Image</a>
       
        <dl>
          <dt>Company Info</dt>
          <dd> Roche Insulin Delivery Systems Inc. (www.accu-chekinsulinpumps.com )<br>
1-800-688-4578<br>
Fishers, IN
</dd>
          <dt> Physical  Size & Dimensions, etc.</dt>
            <dd>Dimensions (mm)- 80 x 47 x 24<br>
Volume- <br>
Weight(oz)- 2.8, 4.8 with battery full cartridge infusion set<br>
Reservoir Size- 315 units<br>
Connection- Luer Lock<br>
Screen Size- <br>
Colors- blue, white </dd>
      <dt>Basal  Information</dt>
      <dd>Basal Increment- 0.025 units<br>
Total Basals- 24 hourly per day<br>
Basal Profiles-  5<br>
Basal Intervals- ?<br>
Basal Delivery-  every 3 minutes<br>
Temp Basal- 0% to +200% in increments of 10% for  15 min to 24 hours (15 min increments)<br>

</dd>
      <dt>Bolus Information</dt>
      <dd>Bolus Increments, 0.1, 0.2, 0.5, 1.0, 2.0 (pre programmable)<br>
Bolus type-  scroll, quick, extended, multiwave<br>
1 unit Bolus Duration- 5 second <br>
Carb and Correction Factors - ?
</dd>
      <dt>Mechanics</dt>
      <dd>Battery- AA  alkaline x 1<br>
Battery Life - 4 weeks with alkaline (average)<br>
Motor ââ,¬â€œ DC<br>
Memory- non-volatile: 90 days (4,500 events); history recall of last 30 boluses, alerts, daily insulin totals, and temporary basal rate increases<br>
Software- Pocket Compass with Bolus Calculator , insulin pump configuration software, IR Communication Port </dd>
      <dt>Miscellaneous Info</dt>          <dd> Water Contact- Water resistant 60 minutes at 2.5 meters<p>Features- choice of standard, advanced or custom selectable user menus, icon- and menu-driven programming, backlit display, reversible display screen, 12 languages, audible or vibrating bolus confirmation and alerts.
</dd>
        </dl>
       
        </div>

<div class="info-col">

    <h2>MiniMed Paradigm</h2>
   
            <a class="image minimed" href="http://www.minimed.com">View Image</a>
   
    <dl>
              <dt>Company Info</dt>
          <dd> Medtronic (www.minimed.com/)<br>
800-933-3322<br>
Northridge, CA
</dd>
          <dt> Physical  Size & Dimensions, etc.</dt>
            <dd>Dimensions- Model 522: 2 x 3 x 0.8 inches. (5.08 x 7.62 x 2.03 centimeters)<br>
Model 722: 2 x 3.6 x 0.8 inches. (5.08 x 9.14 x 2.03 centimeters)<br>
Volume- 522: 4.9 ci 722: 5.6 ci <br>92 cc<br>
Weight(oz)- Model 522: 3.53 ounces (100 grams).<br>
Model 722: 3.81 ounces (108 grams).<br>
Reservoir Size- 176 or 300u pl <br>
Connection- Proprietary<br>
Screen Size- 774 sq mm<br>
Colors- clear, smoke, blue, purple & pink </dd>
      <dt>Basal  Information</dt>
      <dd>Basal Increment- 0.025 units<br>
Total Basals-  48 per day per profile<br>
Basal Profiles-  3<br>
Basal Intervals- Increase or decrease by % or set the insulin
pump at any rate for 30 minutes, up to 24 hours.<br>
Basal Delivery-  every 3 minutes<br>
Temp Basal- 0% to +200% in increments of 10% for  15 min to 24 hours (15 min increments)<br>

</dd>
      <dt>Bolus Information</dt>
      <dd>Bolus Increments- 0.1 visual, 0.5 or 1.0 visual or audio, remote extra<br>
Bolus type-units or carbs  Normal, Square Wave, Dual Wave.<br>
1 unit Bolus Duration- 30 second <br>
Carb and Correction Factors - yes, manual carb, BG direct from BD meter or manual entry
</dd>
      <dt>Mechanics</dt>
      <dd>Battery- AAA for pump, A23 for remote<br>
Battery Life - 3 weeks with alkaline (average)<br>
Motor - DC<br>
Memory- 4000 events, volatile (basal & history loss can occur): 24 boluses, 7 day totals<br>
Software- Medtronic CareLink Therapy Management System and ParadigmPAL 3.0 Software at Medtronic</dd>
      <dt>Miscellaneous Info</dt>          <dd> Water Contact- Protects against splashes or a temporary dunk in water.<p>Features- remote, vibration, colors, backlight, extended bolus, auto off, Blood Glucose Testing Reminders, Bolus WizardÃ,® Calculator</dd>    </dl>

</div>

<div class="info-col">

    <h2>Insulet<br> Omnipod</h2>
   
            <a class="image omni" href="www.myomnipod.com">View Image</a>
   
    <dl>
        <dt>Company Info</dt>
          <dd> Insulet (www.myomnipod.com)</br>
781-457-5000<br>
Bedford, MA
</dd>
          <dt> Physical  Size & Dimensions, etc.</dt>
            <dd>Dimensions (mm)- pod: 41x61x18 pda: 66x110x26<br>
Volume- Pod: 2.7 ci PDA: 11.5 ci<br>
Weight (oz)- Pod: 1.2 oz (full res.) PDM: 4.0 oz (w/ batteries)<br>
Reservoir Size- 200 units <br>
Connection- Built in<br>
Screen Size- 1,848 sq mm on PDA controller<br>
Colors- white </dd>
      <dt>Basal  Information</dt>
      <dd>Basal Increment- 0.05 u u/hr, up to 30 u/hr<br>
Total Basals-  48 per day<br>
Basal Profiles-  7<br>
Basal Intervals- ?<br>
Basal Delivery-  every 3 minutes<br>
Temp Basal- % or u/hr (1-12 hrs, in 30 min increments) <br>

</dd>
      <dt>Bolus Information</dt>
      <dd>Bolus Increments- 0.05, 0.1, 0.5, 1.0u<br>
Bolus type-Meal, correction, meal & correction; normal, extended, combination<br>
1 unit Bolus Duration- 40 second <br>
Carb and Correction Factors - yes
</dd>
      <dt>Mechanics</dt>
      <dd>Battery- AAA for pump x2 for PDA<br>
Battery Life - 4 weeks (average)<br>
Motor ââ,¬â€œ stepper<br>
Memory- 90 days of data (up to 5400 records)<br>
Software- none</dd>
      <dt>Miscellaneous Info</dt>          <dd> backlight, reminders & alerts, child lock, integrated Freestyle meter, 1000 common foods in PDA, Tubeless</dd>    </dl>

</div>

<div class="info-col">

    <h2>Nipro<br>Amigo</h2>
   
            <a class="image amigo" href="http://www.niprodiabetes.com">View Image</a>
   
    <dl>
    <dt>Company Info</dt>
          <dd> Nipro Diabetes Systems (www.niprodiabetes.com)</br>
888-651-7867<br>
Miramar, FL
</dd>
          <dt> Physical  Size & Dimensions, etc.</dt>
            <dd>Dimensions - 3.28 x 2.18 x 0.93 inches<br>
Volume- ?<br>
Weight (oz)- 3.4 <br>
Reservoir Size- 300 units plastic <br>
Connection- ?<br>
Screen Size-?<br>
Colors- solar, midnight, grape, pacific, flamingo, snow </dd>
      <dt>Basal  Information</dt>
      <dd>Basal Increment- 0.05 u <br>
Total Basals-  48 per profile<br>
Basal Profiles-  4<br>
Basal Intervals- 15 minutes<br>
Basal Delivery-  every 3 minutes<br>
Temp Basal- Either as a rate in U/h (15 minutes to 24 hours in 15-minute increments) or as a percent of active profile (10-200% in 10% steps)<br>

</dd>
      <dt>Bolus Information</dt>
      <dd>Bolus Increments- 0.10 to 5.00 U, in 0.10 U steps<br>
Bolus type-0.10 to 5.00 U, in 0.10 U steps<br>
1 unit Bolus Duration- ? <br>
Carb and Correction Factors - If enabled, calculates bolus based on inputted physician parameters including insulin-to-carbohydrate ratio, insulin sensitivity factor, insulin on board, and blood glucose target
</dd>
      <dt>Mechanics</dt>
      <dd>Battery- CR2<br>
Battery Life - 4 weeks (average)<br>
Motor ââ,¬â€œ DC<br>
Memory- 90 days on screen and stores 1 year of history, even in the absence of a battery<br>
Software- ?</dd>
      <dt>Miscellaneous Info</dt>          <dd> Water Contact- watertight 1 meter for 35 minutes<br> Features- backlight, If locked, prevents inadvertent button presses. If on, audible and/or vibration feedback for button presses </dd>    </dl>

</div>

</div>';

delvec

Sorry- what I meant was I did notice the inex part was all html so I already had an html article and originally used it there. Then I created a new php one.

But I did what you said with this last reply and poasted in both html and php.
Added the style links in the header part and got the following error message-

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'stylesheet' type='text/css' href='http://www.type1parents.org/pumppage/css/style' at line 1
File: /home/type1par/public_html/Sources/TPortalAdmin.php
Line: 2564

Xarcell

Quote from: delvec on April 04, 2010, 04:40:14 AM
Sorry- what I meant was I did notice the inex part was all html so I already had an html article and originally used it there. Then I created a new php one.

But I did what you said with this last reply and poasted in both html and php.
Added the style links in the header part and got the following error message-

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'stylesheet' type='text/css' href='http://www.type1parents.org/pumppage/css/style' at line 1
File: /home/type1par/public_html/Sources/TPortalAdmin.php
Line: 2564


If your using a php article, then use this code for your header part instead

  echo '
<link rel="stylesheet" type="text/css" href="http://www.type1parents.org/pumppage/css/style.css" />
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
    <script type="text/javascript" src=" http://www.type1parents.org/pumppage/js/infogrid.js"></script>';

delvec

nope
still an error but now a different line

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rel="stylesheet" type="text/css" href="http://www.type1parents.org/pumppage/css/' at line 2
File: /home/type1par/public_html/Sources/TPortalAdmin.php
Line: 2564