473,385 Members | 2,014 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,385 software developers and data experts.

Fatel Error when assigning values to variables

KeredDrahcir
426 256MB
I am getting an error message when trying to assign values to variables in preparation for writing to a MySql database. I don't have the code handy but was wondering if anyone could give me a head start by telling me what could be causing the error.
I might then be able to solve it on my own.

Fatal error: Call to a member function assign_dats() on a non-object in /home/mysite/public_html/myfile.php on line 66

Line 66 calls the function. I know to code would be helpful but can anyone give what could be causing this error until I can get the code please?
Sep 21 '13 #1
7 1491
Luuk
1,047 Expert 1GB
It's somewhere in the manuals...(the answer to your question) ;)

hint ;)
Sep 21 '13 #2
KeredDrahcir
426 256MB
Do you think I just ask before reading the manuals. I came here when I couldn't work out the answer from there. I've solved it now but what's the point of answering someone's question if you're going to be 100% unhelpful?
Sep 23 '13 #3
Luuk
1,047 Expert 1GB
you came here with "I don't have the code handy ...."
and even in your second attempt you do not show the code that lead to the error...... ;)
Sep 23 '13 #4
KeredDrahcir
426 256MB
I was just hoping someone could give me a suggestion. If I hadn't solved it, I would have posted to code when I had the time, which I didn't have to begin with.
Oct 29 '13 #5
Dormilich
8,658 Expert Mod 8TB
with the given information, all we can say is the same as the error message, just with other words: that your variable you call assign_dats() on is not an object.
Oct 30 '13 #6
KeredDrahcir
426 256MB
Okay. Let's forget it. I asked the question in September and solved the problem later on. I was just hoping for someone to give me a head start until I could post the code rather than post an answer that was 100% unhelpful.
Oct 30 '13 #7
Dormilich
8,658 Expert Mod 8TB
tbh, I find the link given absolutely helpful, as it demonstrates (the most probable) cases where this error occurs and how to correct it.
Oct 30 '13 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: aa | last post by:
php.ini which was created on my local w2k during installation has some no-number and no-logic values assigned using quoation marks whereas the other with no quoation marks: upload_tmp_dir =...
3
by: Ben | last post by:
Hi all, This may sound easy but I'm having trouble assigning values to array element. My problem is as follows: m = for o in m: # Here first o is 'Peter'.. I want to do something like this:...
1
by: pmud | last post by:
I have an ASP.NET web application using C# code. I am trying to insert values from a web form into an SQL database. I am using SQL COMMAND object for this. I need to know HOW TO INSERT THE RADIO...
1
by: Jeff | last post by:
I receive the following fatal error when attempting to run dxxadm on a solaris. I am using db2 v8.1. I did not install the instance of db2, so have no idea why the xml files referenced in the...
14
by: Eric Bantock | last post by:
Very basic question I'm afraid. Once an array has been declared, is there a less tedious way of assigning values to its members than the following: myarray=8; myarray=3; myarray=4; myarray=0;...
0
by: ryoung | last post by:
I receive the following error when I attempt to assign values to a web service array. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. ...
3
by: Diebels | last post by:
Hi, I have some problems using static variables which results in a core dump. I have attached code and coredump to the end of my message. I am trying to implement a kind of factory design. I...
1
by: suslikovich | last post by:
Hi all, I am getting this error when insert values from one table to another in the first table the values are varchar (10). In the second they are datetime. The format of the data is mm/dd/yyyy...
1
by: Arun | last post by:
Hi all, The code below gives compilation error (in gcc). "initializer element is not constant" @line 11 1 #include <stdio.h> 2 char* ptr="string"; 3 //char ptr="string"; 4 5 typedef struct...
4
oll3i
by: oll3i | last post by:
public void wczytajPlik(String sciezka) throws FileNotFoundException { wczytaneDane.setText(""); BufferedReader br = new BufferedReader(new FileReader(sciezka)); String line = null; ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.