Custom Code conversion from mySQL to mySQLI
strtolower(str_replace(' ', '-', trim
Complete code in private message
strtolower(str_replace(' ', '-', trim
Complete code in private message
$row_SecurityAssisttbldirectorylistings['businessname']
becomes:
$SecurityAssisttbldirectorylistings->getColumnVal('businessname');
and so on for each recordset column reference.
I must be missing something, I tried
SecurityAssisttbldirectorylistings->getColumnVal('businessname'); - color coding implied I needed the $, so I added it
$SecurityAssisttbldirectorylistings->getColumnVal('businessname');, unexpected ; error
This assumes your recordset is named: SecurityAssisttbldirectorylistings... also the semicolon should be removed whrever you have it... it should only be at the very end:
trim($SecurityAssisttbldirectorylistings('businessname');))
should be:
trim($SecurityAssisttbldirectorylistings('businessname')))
I am still not getting in, I have pasted my failed attempt in the private message. Can you please clarify the very end and possibly copy my code and adjust and paste? Or I am happy to set up an appointment. I have several issues to go over.
One of the additional questions I have is regarding my include file. So this file we are working on is my navigation that has the member log in, log out, based on session variable. It is included on every page of my website. It is an acceptable practice to include the recordset as well as css style links on this include file.
I also have a 'server domain' code that I would like to have on this file.
So one include file for the navigation menu with my
Menu Links including log in, log out... based on session variable
Related recordset
Server domain code so links work from any directory
Style sheets so that each 'section' of the website can have unique colors.
Thank you
You are missing the: ->getColumnVal portion in several places. I think it should be:
<a href="<?php echo $serverDomain.'/hotpage/home/'.strtolower(str_replace(' ', '-', trim($SecurityAssisttbldirectorylistings->getColumnVal('businessname'))) . '.' . strtolower(str_replace(' ', '-', trim($SecurityAssisttbldirectorylistings->getColumnVal('firstname'))) . '.' . strtolower(str_replace(' ', '-', trim($SecurityAssisttbldirectorylistings->getColumnVal('lastname'))) . '.' .($SecurityAssisttbldirectorylistings->getColumnVal("id")); ?>"><img src="<?php echo($SecurityAssisttbldirectorylistings->getColumnVal("logo_img")); ?>"></a>
Go ahead and give me a call if you want to set up an appointment to go over some other things today.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.