Support the ongoing development of Laravel.io →

ricardocanelas

Joined 27 Jun 2014

Statistics

Threads 3
Replies 3
Solutions 2
Articles 0
posted 10 years ago

Lang::choice is wrong

lang/en/messages.php 'apples' => 'There is one apple|There are many apples', So.. i do {{ Lang::...

0 Likes
4 Replies
posted 10 years ago

How do I replace the words of a text?

Hello.. How do I replace the words of a text? Example: $str = 'Hello :name ..Do you like :drink?'; $...

0 Likes
5 Replies
Solved

One file for Create and Edit

Hi, How do I have only one file to be used in create.blade.php and edit.blade.php?

0 Likes
3 Replies
Solved
replied 10 years ago

Lang::choice is wrong

Yes.. I tried ... and yet {{ Lang::choice("There is one apple|There are many apples", 7) }...

0 Likes
replied 10 years ago

How do I replace the words of a text?

Good.. But it has to be dynamic .. So.. My solution is.. function vnsprintf( $format, array $data) {...

0 Likes
Solved
replied 10 years ago

One file for Create and Edit

Thanks TorchSK. I found a solution on this link: http://forumsarchive.laravel.io/viewtopic.php?id=16...

0 Likes
Solved

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.