Hi, I would like to have a simple interface in typo3 backend for viewing the data from database (joining two tables) and also to be able to edit the data.
I tired something with tca array but I dont know how display the data that are already in database.
Is there an option that says foe example that this tca configuration should display ...
I am flabbergasted by the code, where the GET-values, such as $_GET['username'], are not included as parameters to functions.
When do you you need to include POST and GET methods as parameters to functions?
...
Hello!
I've already got help here for creating a quotation extraction function. Thanks alot, soulmerge!
Now I'm looking for regular expressions (PHP) which extract the cited text and the cited person. The person should be in one index (substring), the text in another index (substring).
For English texts, soulmerge proposed these regex...
Preamble
To build dynamic web-sites, we to master at least four languages:
HTML for the structure of web pages
CSS for layout and design
JavaScript for interactivity
A language for business rules or dynamic driven data
In addition, there's SQL for persistent storage, Memcache for sessions and caching, APIs for the many different con...
See code:
class Foo {
public static function dumpObj($obj) {
var_dump($obj);
}
}
class Bar {
public $someData = 'bla';
public function __construct() {
Foo::dumpObj($this);
}
}
new Bar;
I'm guessing this outputs 'null' because $this is special and we just can't do this sort of thing with i...
I am looking for an example of a FusionCharts multi-series line chart created using the PHPClass API.
I can't find an example anywhere in FusionCharts online documentation. The closest they have is a multi-series chart using MSColumn3D, but I am struggling to convert this into a line chart.
The line chart I want to make should look so...
I am trying to create rss mashup application with php like this one.Application work like this user give one or more rss feeds to merge into one rss feed.Then my web application perform and output one rss feed for user given feeds(no user sign up will needed for site).I will do this application but i dont know where to start is database ...
Hello evertbody,
First i am a beginner in programming in general, i am trying to create a program for using gps locations from Lightroom on a map in googlemaps.
When i use the print the strings below ti the screen i see 5 different value's, this is also what i want, but...
I want to create also 5 different markers on the map this is d...
So, my problem is as follows. This code works fine when I load the page via the web browser. But when I run the script from the command line like so: "php script.php" it bombs.
script.php is:
<?php
include_once('class.WebsiteScraper.php');
$ws = new WebsiteScraper();
$ws->test();
...
?>
class.WebsiteScraper.php is:
<?php
echo 'test...
How do you use _autoload in PHP 5.3 with namespaces? I have a main autoload function in a namespace separate from my script. I'm also calling a class with a different namespace. (It's not surprising, but) It's not finding the autoload function. Do I have to recreate the autoload function for each namespace? That seems suboptimal.
Thanks...
I do not have much experience using frameworks or anything so that leaves me with little experience using Models (MVC). I have no interest whatsoever in using a framework at the moment. I am working on a website and I am trying to model some objects but I'm not sure exactly how I should be designing the class.
For instance, right now I ...
Can I load a library from inside a helper?
$this->load->library('name');
Thanks,
Max
...
My web application uses sessions to store information about the user once they've logged in, and to maintain that information as they travel from page to page within the app. In this specific application, I'm storing the user_id, first_name and last_name of the person. I'd like to offer a "Keep Me Logged In" option on log in that will pu...
Im making a registration script for my site and i want to check if $_POST['username'] does already exist in db.
Is there a better, less code way of doing it? I do the same for email.
This is how it looks like now:
$checkusername = mysql_query("SELECT username FROM users WHERE username = '$_POST[username]'");
$row83 = mysql_fetch_assoc...
(look also at my previous question)
I'm trying to repeat set of curlopt parameters. My script will do more thing that one - login, do something, do something else, finish. I would like some options to be the same in all steps. I was thinking about using curl copy handle or curl setopt array, but do i really need these? Isn't there php c...
Hi,
I have an existing array and I want to add a value to the array.
Normally I would use array_push() to accomplish this but somehow it's not working. Here is my code:
$data = array(
"dog" => "cat"
);
array_push($data['pussy'], 'wagon');
I don't simply want to add wagon to the array but also the key pussy so I can retrieve the ...
I am having trouble getting a form to update the information passed from a check box. I was given this code.
$one = isset($_POST['one']) ? 'on' : 'off';
This works great as long as I call each check box separately. My problem is I have approximately 200 checkboxes in total.
Here is the code I am using to UPDATE with. Can anyone help ...
I want to crop images using the GD, but I want it to crop around a particular shape rather than just a square.
Is this possible?
...
Hello,
Is there a good php ticketing system such as kayako eSupport and DeskPro that integrates with vBulletin nicely?
Kayako and DeskPro are too costly for the business at the moment.
...
I have three tables of information where the business_id is the common thread. I have two input fields, one for general search (users can search for whatever they want) and a zip input. On the php side, I catch the general search string and set it to $search and the zip set to $zip.
How can I use the $search variable to MATCH any of th...