I get an error that says
Fatal error: Call to undefined method stdClass::mysql_con() in ........../.../includes/script/import.php on line 68.
Line 68 corresponds to:
if(!$ip2c->mysql_con())
I do have a require_once() statement at the beginning of my script
What could be the problem here?
Thanks
...
It is probably and stupid question, but what version of PHP5 is 5.2.0-8+etch13 ?
Is it really 5.2.0 ? Because maybe it is just the debian version that covers something else.
...
I have a sample RSS from Amazon. While the RSS displays correctly with images aligned to the left, but when I try displaying the same RSS, the images do not align to the left, but to the top and this is not what I want. I need it to display exactly the same way as the one on top
I have included the images here, my display is the second ...
Is this possible? I return the time that something was posted via PHP function from the database and adjust it based on timezone data selected in a drop down box with Javascript on the client side.
For example: The PHP would return 5:00 PM GMT as the time, and if they selected EST it would subtract 5 hours from the time automagically. ...
I've got a widget with some user editable variables that will only very rarely be updated (likely only when the user sets up the widget).
Rather than hitting the database, I cache the widget user variables via memcache. The widget content is changing regularly.
I have it set-up so that when the user is creating or editing their widge...
To simplify this posed question, assume that each cell has a Row Name and a Column name that properly maps you to the appropriate cell. I'm looping through DB records and creating a location for certain fields in a 2D array that I'll be returning to the caller. My question is how can I tell if a cell already exists at array[rownName][col...
When I was programming a Form Validator in PHP, when creating new methods, I needed to increase the number of arguments in old methods.
When I was learning Java, when I read that extends is to not touch previously tested, working code, I thought I shouldn't have increased the number of arguments in the old methods, but overridden the ol...
I'm trying to create am online application for some job postings we have at work.
I have the form items (text boxes / drop downs /etc) portion set up and i have the send email with a captcha part setup
im unclear on how to "call" the value of something like
<select name="education">
<option value="None">None</option>
<option...
I would like to downgrade my installation of PHPUnit 3.4 to 3.3. I'm just not sure how to do it.
How do I install version 3.3 of PHPUnit on Ubuntu using PEAR?
...
I'm after a regex ( php / perl compatible ) to get the first sentence out of some text. I realize this could get huge if covering every case, but just after something that will be "good enough" at the moment. Anyone got something off the shelf for this?
...
I need a recommendation for a PHP library that is capable of reading email via the IMAP protocol. I cannot use the standard PHP: IMAP library because that requires recompiling PHP for the target web server and I don't have access root access to the web server.
...
What is the command to uninstall a pear package?
...
I have been looking at a N-level tree class.
Could anyone possibly advise on the best way I could display the results ie, the looping of the result set, should I use DIVs or ULs?
An example result set will look like so if you find the article too long to read
Array ( [531] => stdClass Object ( [id] => 531 [rid] => 0 [created] => 12553...
Currently, I am using my own MVC framework. What I'm trying to do is make an Ajax call with jQuery(got that part down), and call on a method from the controller so that I can pass the get variables to it and get the output I want returned from the Ajax call.
I can't refresh the page because it is a page full of forms and I don't want ea...
i'm supposed to come up with a dialog with another developer's script (from another company)
so, here's the basic rundown:
1) i send a request to http://some-url.com?param=foo
2) he sends me info back in the POST fields
the question i have is, how do i directly access the POST array that is sent back to me?
lets say his POST field is ...
I need a simple forum backed by a SQLite 3 database which I can easily integrate into my new project, something in the line of Vanilla forum.
What do you suggest?
...
I cant seem to get updateCell to work.
API reference:
HTP>code.google.com/apis/spreadsheets/data/1.0/developers_guide_php.html
This is equivalent to sending an authenticated PUT request with the updated cell's XML representation to the URL:
PUT HTP>spreadsheets.google.com/feeds/cells/key/worksheetId/private/full/cell/version
I h...
Trying to perform a very simple task here.
I have an <ol> that contains 4 rows of data in some handy <li>s. I want to add a delete button to remove the row from the table. The script in delete.php appears to have finished, but the row is never removed when I go back and check dashboard.php and PHPMyAdmin for the listing.
Here's the cod...
Is it possible to have a website where each user gets their own URL like:
www.thewebsite.com/myusername
I want each user site to be the same, the only reason the name matters is if a person visiting the site signs up, they get their own custom url, but the person they signed up under is kept track of as their "Parent".
So if I go to ww...
Firstly, this is not the headers already sent' problem.
I have an include file, that does the redirect. This works on every server I have tried it on except the production server, which runs windows.
When I run it on the production server, it only redirects the include file, not the entire page.
I have the main file, index.php:
<?php...