- So now that we're successfully sending…one query string variable over to…our PHP file, let's add a second.…So let's go over to our "icon_li_svg" graphic for LinkedIn.…Let's come up here and let's duplicate the "base" variable.…Let's rename this "icon."…And we'll set this "=" to the "GET" variable of,…let's put a small letter "i" in there.…So now let's come down here to ".base_art".…
I'm going to come in here and copy…everything we have under the fill properties.…Let's paste that under the ".icon_art".…And let's change "base" to "icon."…So now this PHP file is ready…to receive two different variables:…a "GET" variable named "b,"…and another "GET" variable named "i."…Let's save these.…Back to our "index.html" file.…I'm going to come in here with the…anchor tag with a class of "li."…I'm going to just split this open a little bit.…
So I have a little bit more room.…So, for "background-image," we have a "?b="…for the base and our colors.…Now we're going to add a second "GET" variable.…So we're going to use an "&."…So I'll type in "&," then the letter "i" "=."…
Share this video
Embed this video
Video: Passing and receiving a second query string variable