Quick variable question


Posted on 16th Feb 2014 07:03 pm by admin

hey guys/gals,
im trying to write a php script and it works fine as i have it, but i need to set it to where it pulls the var from mysql table that it is displayed differeantly.

i.e.
Did you know?Explore Trending and Topic pages for more stories like this.
if $var==abcdefg then echo bob
if $var==hijkl then echo jim
ect....

how can i do this?
No comments posted yet

Your Answer:

Login to answer
118 Like 25 Dislike
Previous forums Next forums
Other forums

IS Retail & Manufacturing
Hi

Can IS Retail and Manufacturing activities be done in same instance ie. in same client

Login logout link help
Hi all,

Im new to php and Im having trouble creating a login/logout link for my page that dis

C problem struct and string
Hi guys,

This is my first post and I'm hoping the experts here can help me solve my problem.<

Adding to an Int row in db
Hi, i have a database which houses all of the users of my site. One of the columns is for points whi

Log $_POST
How would i log submits on a form, by everyone? I want to then echo the number of submissions.

Writing to the middle of a file
Hi I have a bit of a problem. Is there any way i can write some text to a middle of a text file. For

Xacute search within SQL results
I have a query that is pulling data, and I want to return a specific value from the results of that

Deleting pointers froms vector?
Hi. I have a vector filled with pointers and I want to delete the pointers. I could do a loop and do

Can't find a decent web analytics!!!
I've downloaded and installed Piwik. It's location detection based on IP addresses is fairly inaccur

frame help
on the bottom frame is menu.html

Code: <body><form action='link.php' met

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash