trouble with the forum |
I am trying to search for an old response to one of my queries regarding using temporary files in SQL. The search feature on this forum seems to be broken. I think it was InsiteFX who sent me a link on how to use temporary files in SQL. But I can't get the search feature to work nor can I send a direct email to InsiteFX. Can anyone point me to the link he suggested?
proof that an old dog can learn new tricks
It wasn't files it was tables, here's the link.
MySQL Temporary Table What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Yep, it's doing the same here for me Search is not working.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(10-16-2020, 01:22 PM)InsiteFX Wrote: Yep, it's doing the same here for me Search is not working.Thnx Insite. I am starting my application by typing "localhost" at the browser command line. What I actually need to add a parameter so I would type either localhost?type=1 or localhost?type=2. This will cause a different logo to appear in my view. When I type http://localhost/1 I get a 404 error. I'd prefer to run the exact same code and just change the logo that displays. I see where in the template I can switch which logo gets used, but I am not sure a) how to get the 1 or 2 into the program b) how to get $logo1 or $logo2 to be used. $logo1=<img src="<?php echo base_url(); ?>assets/themes/default/images/new_blue_logo_sub240x240.png" style="float:left;margin-top:5px;z-index:5" alt="logo"/> $logo2=<img src="<?php echo base_url(); ?>assets/themes/default/images/output-onlinepngtools (8).png" style="float:left;margin-top:5px;z-index:5" alt="logo"/> to run based on that parameter.
proof that an old dog can learn new tricks
You can try something like this not tested and I am not sure if it will work on the index method.
PHP Code: $routes->get('/(:num)', 'Home::index/$1'); What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(10-16-2020, 03:24 PM)InsiteFX Wrote: You can try something like this not tested and I am not sure if it will work on the index method.Thx. Where do I put such a thing? I tried dropping it in the top of index.php $routes->get('/(:num)', 'Home::index/$1'); But $routes is not found, so I guess I need to put it after invoking the URL helper? In looking at the docs I see "example.com/index.php/news/article/my_article". So in my case localhost/index.php/1 So I guess I am missing the method. Perhaps if I did it this way: localhost/index.php/logo/1 and created a logo class? But where would I put the logo.php function? Perhaps I need to create a logo.php file with two functions 1{} and 2{} ?? I sure am confused!
proof that an old dog can learn new tricks
Is the logo an image or what?
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |