473,508 Members | 2,214 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Store {$lang['name']} in database -> display on page?

155 New Member
I have a language array page on each of my websites and this {$lang['name']} displays the name of the website.

All the websites query the same MySQL table and I want to insert this {$lang['name']} into the table so when the other information is displayed it will also display the name of that website.

But instead of displaying the website's name it simply displays {$lang['name']}. I'm query the table using this:
Expand|Select|Wrap|Line Numbers
  1. $content = nl2br(stripslashes($row['content']));
  2. echo "$content";
I've tried using
Expand|Select|Wrap|Line Numbers
  1. " . $lang['name'] . " and " . {$lang['name']} . "
and neither works. Obviously I'm doing something wrong or trying to do something that can't be done. If it's the former then any help would be appreciated and if it's the later then okay, I'll move on.

Thanks.
David
Nov 23 '12 #1
1 2101
Rabbit
12,516 Recognized Expert Moderator MVP
I see no query in your post.
Nov 24 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
2004
by: stiv | last post by:
I'm in the process of designing a store locator database that i searchable for the retail stores in a city and state. Which would b better to impliment the city/state query or is it zipcode based...
0
834
by: vz | last post by:
How read serialport data and store in database?
1
2116
by: jmacduff | last post by:
I would like to be able to display page load times within our asp.net application for debugging purposes , I am seeing some random slowness in our application and a load time metric would really...
1
986
by: ajayfuloria | last post by:
Hi, 1. I wanna make a application with which i intend to store the database entries which i get when i enter my user name n password, to a website. 2. How is it possible, i cant find a...
3
1943
by: phil67b | last post by:
Hello everybody, I have a page rech.php where I'm doing a multi-criteria research Ex. choose your car model, choose your country. After validation of my form, on the same page, the lines will be...
10
28521
by: Ghanathe | last post by:
Hiii, can any one tell how to retrieve information of particular person from database and display it in text boxes, i mean if i enter name of employee name it should display all information about...
1
2178
by: bhargavi514 | last post by:
friends i need the code to retrieve value from database and display value in text area using php
1
2970
by: amritranjan | last post by:
How to retrive image file from MS access database and display this in another JSPpage -------------------------------------------------------------------------------- This is my Jsp code for...
1
1685
by: beaker | last post by:
Access Database-driven ASP page with embedded RSS feeds Hi, I know very little about web development in general - just some basic html scripting, CSS and a bit of XML. I've inherited a public...
2
2128
by: sandeepshetty | last post by:
hi... Im new to c#.Net and right now working on Roof truss designing project using c#.net(visual studio 2005 ) .For storing the dimensions(values) of these trusses I am using ms-sql server...
0
7132
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7336
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7401
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7063
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5640
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5059
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3196
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1568
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
432
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.