Find Jobs
Hire Freelancers

Getting a record_id via href into external query

$10 USD

Peruutettu
Julkaistu noin 7 vuotta sitten

$10 USD

Maksettu toimituksen yhteydessä
Need a PHP specialist who can help me getting a record_id . In below href I put a record_id = $adds->id Via the href I start a modal and in the modal I start: function customer_advertisement_function($atts). The function runs well. Only need the record_id to get the right query result. How can I get the record_id = $adds->id into the query? foreach($result as $adds) { $content .= '<a class="fusion-modal-text-link" data-toggle="modal" data-id="'.$adds->id.'" id="'.$adds->id.'" data-target=".editadd" title="'.__('Edit', 'agent-plugin').'" href="#"> } $content .= do_shortcode( '[fusion_modal name="editadd" title="'. __('editadd', 'agent-plugin').'" size="large" background="#ffffff" border_color="#000000" show_footer="no" class="fusion-modal modal fade modal-2" id="submit_send_message_button"] [customer_advertisement] [/fusion_modal]' ); customer_advertisement_function() is in other .php file function customer_advertisement_function($atts) { $query = "SELECT * FROM ".$wpdb->prefix."agent_adds WHERE id = $adds->id AND user_id = $uid "; } add_shortcode('customer_advertisement', 'customer_advertisement_function'); Realization: today Milestone: 1 released after finishing project Dev: on my server
Projektin tunnus (ID): 13356389

Tietoa projektista

8 ehdotukset
Etäprojekti
Aktiivinen 7 vuotta sitten

Haluatko ansaita rahaa?

Freelancerin tarjouskilpailun edut

Aseta budjettisi ja aikataulu
Saa maksu työstäsi
Kuvaile ehdotustasi
Rekisteröinti ja töihin tarjoaminen on ilmaista
8 freelancerit tarjoavat keskimäärin $29 USD tätä projektia
Käyttäjän avatar
lets do it tonight, regards sigmason
$10 USD 1 päivässä
5,0 (54 arvostelua)
4,6
4,6
Käyttäjän avatar
Hello Sir, If you are looking for a re-design in keeping with your company’s existing corporate brand but adapted to look more modern and with a layout that is responsive to smartphones and tablets. We will create a custom website based on your branding, functionality requirements and best practices. Our teams of developers have extensive experience in custom PHP, MYSQL, WordPress, Drupal, Magento, Codeignitar, Angular JS, Node JS, Joomla, ROR, Laravel and Android & iOS development etc. We can mock-up the design of your home page first in a graphics program. This can be amended (up to 2 times) until you are happy with it. If further revisions are deemed necessary, this will be done at our hourly rate of $ 15. (This is rarely necessary, but this will be discussed fully before any hourly fees are incurred). Also we are comfortable with fixed cost rate. We expect this stage to take two weeks. Your new website will optimized for search engines whilst still retaining links and authority of the old site. The site will be, as much as is possible, future proof, written in validated HTML5 mark-up and respond to whatever device its being viewed on. Sincerely, Mark Business Consultant
$35 USD 5 päivässä
0,0 (0 arvostelua)
0,0
0,0
Käyttäjän avatar
I can help you with it. I need URL of your site that I can see your form.
$15 USD 1 päivässä
0,0 (0 arvostelua)
0,0
0,0

Tietoja asiakkaasta

Maan NETHERLANDS lippu
Enschede, Netherlands
5,0
30
Maksutapa vahvistettu
Liittynyt tammik. 1, 2011

Asiakkaan vahvistus

Kiitos! Olemme lähettäneet sinulle sähköpostitse linkin, jolla voit lunastaa ilmaisen krediittisi.
Jotain meni pieleen lähetettäessä sähköpostiasi. Yritä uudelleen.
Rekisteröitynyttä käyttäjää Ilmoitettua työtä yhteensä
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ladataan esikatselua
Lupa myönnetty Geolocation.
Kirjautumisistuntosi on vanhentunut ja sinut on kirjattu ulos. Kirjaudu uudelleen sisään.