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

Multiple Do / While Statements?
I'm still very new to PHP, and running in to a problem when trying to execute a do/while loop inside

Email "$"
Hello!!

Any PHP guy with a bit of a knowledge in Flash ?

When I send a JPEG from flash

my two tables
table1 : col1 = topicid , col2 = topic

table2 : col1 = sentid, col2 = sentence

Cod

Simultaneous select/update/insert
Hi

How would I need to go about when 2 users update a single row simultaneous? And how would

need help with mail()
hi i want to send an email with attaching pdf file using php. i have the following script but the pr

Need help with some php code :)
Hey! I'm quite new to this whole thing, so please don't fire me with shait on this one =D

I'm

Anti Spam Code Problems
Ok where do i start? Probably by telling you I have very little working knowledge of PHP and that I

SAP BCS. BPS
Hi all,

I am seeking reading note on the following in BW

BCS, BPS
ADVANCE

How to read CSS message data
Hi,
I have a requirement here. When working as a Dev angel for multiple customers its really di

Spliting paragraph into sentences and attach in
Here is what I am trying to do

example: Para1[123.456.789!] 3 sentences
Para2

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