trq
Staff Alumni-
Posts
30,999 -
Joined
-
Last visited
-
Days Won
26
Everything posted by trq
-
Its pretty hard to tell exactly what is going on but one gleamingly obvious issue is that fact that you seem to be using different repositories for different versions. Your project should all be in one repository, and it should have branches that represent the different development branches of the project. Another issue, once a branch is tagged, you can not (or should not) ever change the contents of that tag. You need to make another tag incrementing the version. If you are using tags and branches properly it should be reasonably easy to backport code from one version to another.
- 3 replies
-
- repository
- svn
-
(and 3 more)
Tagged with:
-
You're using the wrong protocol for this sort of thing. http wasn't made to do what you're asking of it.
-
Where the fuck are you reading?
-
So you need to make a common interface, and then likely some form of bridge between that common interface and the MCS in question. Start with one, and go from there.
-
It is an example of the logic involved, its not meant to be working code. If you want someone to write code for you hire a programmer.
-
Your already within php tags, you don't need more. Also, includes don't need to be echoed. echo $result["Name"] . $result["Gender"] . 'TEXT TEXT TEXT'; include 'inc_header.php'; echo 'Text Text Text';
-
Your not very good at this asking for help thing are you? Try posting some relvant code.
-
All sorts of way of doing that. Generally though, you are just looking to replace some content with some other content as you get it from the database. The basic concept is simple: $original = "This is some test about {{foo}}, and how good it is"; $text = preg_replace_callback( '/\{(.*?)\}/', function() { // some logic to return "foo" from the database } , $original ); echo $text;
-
Far too vague a question I'm afraid.
-
Where are you stuck?
-
Just write the thing yourself.
-
Oh, that looks terribly inefficient (and autoloading is a notorious bottleneck if not done well). Just use absolute paths to your libs.
-
For starters, this: if (file_exists($includePath . DIRECTORY_SEPARATOR . $filePath)) { require_once $filePath; return; } would need to be: if (file_exists($includePath . DIRECTORY_SEPARATOR . $filePath)) { require_once $includePath . DIRECTORY_SEPARATOR . $filePath; return; } But yeah, some debugging would help.
-
Nope, that about covers it.
-
No kidding. Think about what you are actually doing. Code is not meant to be stored in a database. Your doing it wrong.
-
No one mentioned MPDF.
-
data : { action : 'customer_details', more_customer_details: more_customer_details( 'complaint' ) }
-
You seem to already have your logic sorted (kinda), we cant really help without seeing some code.
-
You should check to see that $query is indeed what you expect it to be before you go ahead and use it like its an object. $query seems a silly thing to name it too, its not a query.
-
Your post makes little sense is all I'm saying.
-
No its not. Many languages do.
-
Because, IMO, its a well designed framework. It leverages a lot of the hard work done by the Symfony project under the hood, while building a well rounded API over the top. In short, it has a great deal of power, functionality and flexibility when you need it, but gets out of your way when and where you need it to.
- 12 replies
-
- fuelphp
- codeigniter
-
(and 1 more)
Tagged with: