Project / Support Center
Welcome, Guest. Please login or register. December 06, 2022, 02:25: AM
Home Help Search Login Register
D-Web Web Site Creator D - Web Web Site Creator On-line HTML Editor No Programming knowledge required. Web Global Net PayPal-Cart Shopping Cart System PayPal - Kart Shopping Cart System for E-Commerce over the internet, that's easy to use. Web Global Net Newsletter Manager Newsletter Manager On-line Newsletter Creator with Email Subscriber Management.
Ring Central Discount
Web Global Net Web Application & Web Development Project Center  |  Recent Posts
Pages: 1 2 3 [4] 5 6 7 8 9 10

 on: March 12, 2020, 08:43: PM 
Started by admin - Last post by admin
<strong>CLICK HERE TO REPLY TO THIS EMAIL ADDRESS - Replying to the message itself will not go anywhere :  <a href=\"{message_reply_to}\"> {message_reply_to}[/url]</strong>


The trick is to place forward slashes in the right place \

\ Place them as shown above in Bold red

This is how a mailto: link would look

<a href=\"mailto:{message_reply_to}\"> {class_message_reply_to}[/url]

 on: February 04, 2020, 02:38: PM 
Started by admin - Last post by admin
Go to the table you want to backup in phpadmin in this case it is country.

Next go to the trigger tab and click on add new trigger name the trigger what you want and include root@localhost in the definer.

The blue portion defines the table fields you want to copy- make sure the table is different (in this case the blue bold )
The red portion defines where the values are inserted

You do need to include the fields in the same order that the table structure is in.




 on: January 03, 2020, 08:01: PM 
Started by admin - Last post by admin
AND sba_id IS NULL

this will find all fields (sba_id) that are empty

"SELECT id, year, class_year, use_reason, sba_id, country_region,  high, unique_url, city, country, st, zip FROM `group` WHERE level = 1 AND sba_id IS NULL ";

 on: January 01, 2020, 03:40: PM 
Started by admin - Last post by admin
<a href="#" onclick="javascript:window.history.back(-1);return false;"> Previous [/url]

This is useful in a listing record set when viewing a single record this will return the user to the same page in the list they were viewing.

 on: November 19, 2019, 03:15: PM 
Started by admin - Last post by admin
This I had a tough time doing and although I am sure there is a more "Correct" way to do this this is what finally worked for me after trying NOT CONTAIN, NOT LIKE and others in the where clause.

I had customers enter a fake email for certain people in their list, the email always contained at the end

To eliminate those records from receiving emails I included in the mysql query the following:

WHERE RIGHT(group.contact_email,11)!=''

The green is the table.field and the 11 is the number of characters in the string itself.. By adding RIGHT to the expression it is saying count 11 characters from the right side of the field.

!= this means not

So the expression says - count the 11 characters from right side of the field and don't include those in the displaying results

 on: November 01, 2019, 05:46: PM 
Started by admin - Last post by admin
URL Values are call year & month

mysql_select_db($database_reuniomysql, $reuniomysql);
$query_nonactive = sprintf("SELECT class.class_id, class.class_active, class.class_level, class.email_list, class.reunion_year_current, class.reunion_month, class.creation_year, class.creation_month, class.use_reason, class.creation_date, class.reunion_date, class.reunion_year, class.high_school, class.event_active, class.class_year, class.class_military_branch, class.class_contact, class.contact_email FROM class WHERE class.class_level=1 AND class.creation_year=".$_GET[year]." AND class.creation_month=".$_GET[month]." ORDER BY class.creation_month ASC");
$nonactive = mysql_query($query_nonactive, $reuniomysql) or die(mysql_error());
$row_nonactive = mysql_fetch_assoc($nonactive);
$totalRows_nonactive = mysql_num_rows($nonactive);

Bold is how to write the query pulling the URL values year & month
encase URL variable in this format ".$_GET[month]."

Notice the quotes "' and where they are placed.

 on: October 28, 2019, 09:32: PM 
Started by admin - Last post by admin
// Show IF Conditional
if ($row_rslisting_show['ad_paid'] == 1 || $row_rsadlisting['ad_renewal'] == 1) {

this will show something here if either of these two variables are met  

<?php }
// end show if Conditional

// Show IF Conditional region either url variable   
if (@$_GET['order'] == "yes" || $_GET['preview'] == "yes") {

 <table width="1%" border="0">

<?php }
// endif Conditional either url variable

ad_paid = 1
ad_renewal = 1

I assume you can put as many variable as you wish each separated by ||

 on: October 01, 2019, 04:41: PM 
Started by admin - Last post by admin

  $url = htmlspecialchars($_SERVER['HTTP_REFERER']);
  echo "<a href='$url' class='SBAButton2'>Back[/url]";

normally you'd use " " in the class declaration but in this case use '  ' instead

You can also use

<input type="button" value="Go Back From Whence You Came!" onclick="history.back(-1)" />

 on: August 29, 2019, 07:15: PM 
Started by admin - Last post by admin
use this as the class for a DIV wrap of the section or element you do not what to show when printing.

<div align="center" class="d-print-none">  Content or Element </div>

class="d-print-none" is built into Bootstrap 4 so no need to add it to your print.css file if you have one  class="d-print-none" will stop something from printing.

Example:This will stop a button from showing when printing.

<div class="d-print-none"><div style="text-align: center; "><a href="new_listing.php?ag=<?php echo $_GET['ag']; ?>"  class="SBAbuttongreen3 noprint">Click here[/url]</div></div>

To hide on screen and show on print

<div class="d-none d-print-block"> </div>

<div class="d-print-none">Screen Only (Hide on print only)</div>
<div class="d-print-block">Prints what is wrapped in the div </div>
<div class="d-none d-print-block">Print Only (Hide on screen only)</div>
<div class="d-none d-lg-block d-print-block">Hide up to large on screen, but always show on print</div>

 on: July 18, 2019, 02:02: PM 
Started by admin - Last post by admin
This is not a definitive guide but it worked for us, google developer area is very confusing at times and seems to be geared towards high developers only/mostly.

Steps needed to get an API key for your website.

Create Google account (email account is fine)

Enter developer area for Maps:

You'll need to add a billing Credit Card but since most small sites will not reach the 100,000 loading level and the fact that Googles gives you a $200 credit each months - effectively means no cost to you.Google also will not charge you with out notifying you first.

Create a project for your account and then

In order to get the API key for mapping you'll need to add and verify the domains you want to place maps on. Not sure how many you can add , at least 20 though. you verify by adding an HTML page they generate for you to the top level of your server for each domain you want maps on.

Once you have verified your domains you can then generate an API key to use.

We chose the Javascripting API method.

To add to your page add this script to your head area

<script src="">

Replace the Bold Red section with your Google API code

<iframe width="95%" height="400" frameborder="0" style="border:0"
src="<?php echo $row_rsaddisplay['ad_address11']; ?>,<?php echo $row_rsaddisplay['ad_city2']; ?>,<?php echo $row_rsaddisplay['state_name']; ?>,<?php echo $row_rsaddisplay['ad_zip2']; ?>&key=AIzaSyBdFXzsyyUuwVl1eNvaOpjEd5IG3fzE" allowfullscreen></iframe>

Code in Blue (Address) in our case generates the search address for the map dynamically - the Red Code is your Google API key
The orange settings you can change to what ever you want too.

Thats basically it for have a google map on your site - simple.

You can change the Blue code to a static address if you want also.

Pages: 1 2 3 [4] 5 6 7 8 9 10
Web Global Net Web Application & Web Development Project Center  |  Recent Posts

Login with username, password and session length
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!