473,396 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Class method "dies" - HELP



function setTableStr($tableRefName) { // VOID "METHOD" SEE NOTE BELOW

/*--------------------------------------------------------------------------
---
This function will set the class property $this->tableStr to the
appropriate
table name depending upon the scope of that which is calling it
------------------------------------------------------------------------
-------*/
$this->tableStr = 'nnet_table_';
$this->tableStr .= (strcmp(strtolower($tableRefName), 'head') == 0) ?
'head' : 'line';
}

The moment this method in the Betaling class is called by another method in
the Betaling class, insert_table_line(), everything just dies. No error
statement, no HTML display, no nothing, just a complete nothingness!!

This method is important to determine which table I will be doing insertion,
and it's all the code I can provide that might make sense, I'm sorry. If
you need more I am not even sure what I can provide for you. But honestly,
I can't explain it better than the class method just.. dies.

Phil
Jul 17 '05 #1
1 1939

"Phil Powell" <so*****@erols.com> wrote in message
news:_F4gb.42588$sp2.24816@lakeread04...

The moment this method in the Betaling class is called by another method in the Betaling class, insert_table_line(), everything just dies. No error
statement, no HTML display, no nothing, just a complete nothingness!!

This could be caused by an error_reporting level setting which is too low,
or the php.ini settings not allowing the engine to print errors to the
browser.

Try starting your script with error_reporting(E_ALL); first.
This method is important to determine which table I will be doing insertion, and it's all the code I can provide that might make sense, I'm sorry. If
you need more I am not even sure what I can provide for you. But honestly, I can't explain it better than the class method just.. dies.


Perhaps this is too obvious, but do you call the method like
$this->setTableStr('argument') ?
JW

Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Eisbaer | last post by:
Got a simple form: <form action="auswertung.php" method="get"> Ihr Vorname: <input type="text" name="Vorname"> <input type="submit"> </form> but there will be no Information shown on the...
1
by: INGSOC | last post by:
Check out the Microsoft support groups post this weekend. The weekend of "patches". They seem to have broken COM/.net interop on W2K. ..Net apps calling any COM component are met with nasty,...
4
by: amywolfie | last post by:
I would like to put code behind a Find button on a form which: 1) Performs a find based on a field on the form 2) If NO RECORDS ARE FOUND, then displays a custom "No Records Found" message box. ...
5
by: Diffident | last post by:
Hello All, I have written a webform which is by default derived from "Page" class. I have coded another utility class with few methods and an object of this class is instantiated from the webfom...
7
by: Simon Verona | last post by:
I have a problem in my application which I believe is due to open handles.. . The symptom that users report is that after they have been using the application for a while, it will randomly just...
3
by: zxo102 | last post by:
Hi there, I have a python application (many python scripts) and I start the application like this python myServer.py start in window. It is running in dos window. Now I would like to put it...
7
by: Carsten H. Pedersen | last post by:
Hello I want to create a kind of shared object. I have created a class, Counter, which you can then import. Through the Counter class, i would like to have access to a shared object. Lets say...
1
by: bcwhite | last post by:
I'm writing a program and want to create a class that is derived from the "str" base type. When I do so, however, I have problems with the __init__ method. When I run the code below, it will call...
3
by: blackrunner | last post by:
ERROR in my Query?! ERROR: Element GESCHLECHT is undefined in FORM. i think everything ok. Maby somebody can help me here Element GESCHLECHT is undefined in FORM. The error occurred...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.