Closed

replace current php static picture ID with dynamic

This is the PHP I have:

<?php echo rating_bar('id22',5); ?>

want to replace the id part (id22, id23, id24 etc)

with the first column of this external text file ([url removed, login to view]):

one row = one photo

Row Format: photoIconName:;photoFileName:;photoDescription:;photoDate:;

***Start***

[url removed, login to view]:;30:;:;:;

[url removed, login to view]:;29:;:;

[url removed, login to view]:;28:;:;

[url removed, login to view]:;27:;:;

[url removed, login to view]:;26:;:;

[url removed, login to view]:;25:;:;

[url removed, login to view]:;24:;:;

[url removed, login to view]:;23:;:;

[url removed, login to view]:;22:;:;

[url removed, login to view]:;21:;:;

[url removed, login to view]:;20:;:;

[url removed, login to view]:;19:;:;

[url removed, login to view]:;18:;:;

[url removed, login to view]:;17:;:;

[url removed, login to view]:;16:;:;

[url removed, login to view]:;15:;:;

[url removed, login to view]:;14:;:;

[url removed, login to view]:;13:;:;

[url removed, login to view]:;12:;:;

[url removed, login to view]:;11:;:;

[url removed, login to view]:;10:;:;

[url removed, login to view]:;09:;:;

[url removed, login to view]:;08:;:;

[url removed, login to view]:;07:;:;

[url removed, login to view]:;06:;:;

[url removed, login to view]:;05:;:;

[url removed, login to view]:;04:;:;

[url removed, login to view]:;03:;:;

[url removed, login to view]:;02:;:;

[url removed, login to view]:;01:;:;

***End***

So that the the final PHP will actually have the picture file name as the ID.

<?php echo rating_bar('[url removed, login to view]',5); ?>

Skills:

See more: replace, id, php picture, text row, row text php, dynamic static, dynamic text jpg, echo file php, php echo file, photo picture, php part, want static, current picture php, want picture, photo php, text jpg php, current php, file photo external, text picture php, text file format, static text php, photo replace php, part php, end php, dynamic text external file

About the Employer:
( 0 reviews ) Sugar Land, United States

Project ID: #230640

9 freelancers are bidding on average $92 for this job

arshadj

Hi, Pls check PMB. Thanks

$110 USD in 1 day
(2 Reviews)
0.0
programming4u

Let's discuss more about this project :)

$250 USD in 0 days
(0 Reviews)
0.0
BasheerMs

Dear Sir: I am profissional with this type of projects. I worked like programing code in my old company. Please give me all output txt file to extract what you need. Best regards

$75 USD in 1 day
(0 Reviews)
0.0
sennyondo

i can guarantee high quality.

$100 USD in 2 days
(0 Reviews)
0.0
AndrwProjects

see pm.. -Andrew

$30 USD in 2 days
(228 Reviews)
0.0
dcasey

Please correct me if I'm not understanding properly. You have a current line in your php code "rating_bar('id22',5)". Instead you want to read photoList.txt, and drop in the value of the first column in place of it More

$100 USD in 3 days
(0 Reviews)
0.0
nuked24

Hello Sir i m ready to work.Please check PM Thanks

$100 USD in 2 days
(157 Reviews)
0.0
abhishekmca53

I can do this properly firstly we analyze all the things and provide you proper solution for every thing.

$30 USD in 5 days
(0 Reviews)
0.0
codexpertz

We have done lots of work on parsing.So we can do it easily and on time.

$30 USD in 1 day
(0 Reviews)
0.0